diff --git a/douar.run b/douar.run
index bd2c7f9cab200bbf2507be147837ee545751bc0f..fc30c978fc44f6990c8833e2b992f0598f22c43c 100644
--- a/douar.run
+++ b/douar.run
@@ -17,26 +17,65 @@ make_dir() {
   if ! test -d $1;  then mkdir $1; fi
 }
 
-# For poe, set NLSPATH.
+# For poe
+#
+# set NLSPATH.
 if test  "x${NLSPATH}" = x ; then
   export NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
   echo "setting NLSPATH=${NLSPATH}"
 fi
+
 # The PGPLOT routines need this.
 export PGPLOT_DIR=/home/beaumnt1/software/pgplot-5.2.2
+
+# For WSMP
+#
 # WSMP needs to know where its license file is.
-export WSMPLICPATH=/home/beaumnt1/software/wsmp/wsmp.lic
+# However the export doesn't seem to work.  
+# copy wsmp.lic to the running directory.
+# export WSMPLICPATH=/home/beaumnt1/software/wsmp/wsmp.lic
+
+# For WSMP on AIX
+export SPINLOOPTIME=200
+export YIELDLOOPTIME=200
+export RT_GRQ=ON
+export AIXTHREAD_COND_DEBUG=OFF
+export AIXTHREAD_MUTEX_DEBUG=OFF
+export MP_EUILIB=us
+# export MP_EUILIB=ip
+export MP_EUIDEVICE=css0
+# export MP_EUIDEVICE=en0
+export MP_CSS_INTERRUPT=yes
+export MP_WAIT_MODE=nopoll
+export_MP_PULSE=0
+# for WSMP on Linux.
+# export MALLOC_TRIM_THRESHOLD_
+# export MALLOC_MMAP_MAX_
+
 # douar needs some directories..
+#
 make_dir DEBUG
 make_dir DEBUG/mpilogs
 make_dir OUT
 # define the binary of douar
-BIN=/home/beaumnt1/software/douar/douar
-# How many processes to run?
-# PROCS=4
+BIN=/home/beaumnt1/software/douar/douar-q64
+
 # Here is the run command
-COM="poe ${BIN} -procs ${PROCS} -hostfile ${HOME}/host.list -euilib ip"    
-# start douar!
+COM="poe ${BIN} -procs ${PROCS} -hostfile ${HOME}/host.list"    
+
+ulimit -d unlimited   >${OUT}
+ulimit -s 2000000    >>${OUT}
+ulimit -m unlimited  >>${OUT}
+ulimit -a            >>${OUT}
+OUT=douar.out
+
+# start douar and go away....
+#
 nohup ${COM} &
 echo "douar has been started.  Look in nohup.out ."
 
+# start douar and watch it........
+#
+# ${COM} 2>douar.err | tee -a ${OUT} 
+
+