--- etc/asrun.orig	2010-12-21 19:08:32.000000000 +0100
+++ etc/asrun	2010-12-27 21:42:25.000000000 +0100
@@ -38,6 +38,10 @@
 # shared folders = for which remote copy is never necessary (comma separated)
 shared_folders :
 
+# directories for tests
+rep_test : /tmp
+resu_test : /tmp
+
 # choose True to create symbolic links instead of copying executable and catalogs
 symlink : True
 
@@ -121,28 +125,28 @@
 #batch_kil : /usr/share/lsf/6.2/linux2.6-glibc2.3-ia64/bin/bkill
 
 # --- PBS example
-#batch_nom : PBS
+batch_nom : PBS
 #batch_ini : 
-#batch_sub : /usr/bin/qsub
-#batch_jid : PBS_JOBID
-#batch_job : /usr/bin/qstat
-#batch_kil : /usr/bin/qdel
+batch_sub : LOCALBASE/bin/qsub
+batch_jid : PBS_JOBID
+batch_job : LOCALBASE/bin/qstat
+batch_kil : LOCALBASE/bin/qdel
 
 #-------------------------------------------------------------------------------
 # ----- MPI commands and parameters
 # mpirun
 #    available arguments are : mpi_hostfile, mpi_nbnoeud, mpi_nbcpu
 #    (use Python string formatting style)
-mpirun_cmd : ?MPIRUN? -np %(mpi_nbcpu)s --hostfile %(mpi_hostfile)s %(program)s
+mpirun_cmd : ?MPIRUN? -np %(mpi_nbcpu)s %(program)s
 
 # file which contains list of hosts (REQUIRED even if it is not used in mpirun_cmd)
 mpi_hostfile : ?ASTER_CONFDIR?/aster-mpihosts
 
 # command called to initialize MPI environment (for example for mpich2)
-#mpi_ini : mpdboot --totalnum=%(mpi_nbnoeud)s --file=%(mpi_hostfile)s ; sleep 10
+mpi_ini : mpdboot --totalnum=%(mpi_nbnoeud)s --file=%(mpi_hostfile)s ; sleep 10
 
 # command called to close the MPI session (for example for mpich2)
-#mpi_end : mpdallexit
+mpi_end : mpdallexit
 
 # shell command to get processor id
 # LAM/MPI : echo $LAMRANK
@@ -170,8 +174,11 @@
 # ps commands : uncomment lines corresponding to your platform
 #ps_cpu : /bin/ps -e --width=512 -ocputime -ocommand
 #ps_pid : /bin/ps -e --width=512 -opid -ocommand
-ps_cpu : ?PS_COMMAND_CPU?
-ps_pid : ?PS_COMMAND_PID?
+#ps_cpu : ?PS_COMMAND_CPU?
+#ps_pid : ?PS_COMMAND_PID?
+# FREEBSD :
+ps_cpu : /bin/ps -e -ocpu,command
+ps_pid : /bin/ps -e -opid,command
 
 #-------------------------------------------------------------------------------
 # debug command :
