--- etc/asrun.orig 2014-03-05 09:28:59.000000000 +0100 +++ etc/asrun 2014-03-17 15:46:25.000000000 +0100 @@ -110,6 +110,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 @@ -195,28 +199,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_ETC/codeaster/mpi_hostfile # 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 @@ -245,8 +249,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 :