--- etc/asrun.orig 2011-12-20 13:33:00.000000000 +0100 +++ etc/asrun 2012-01-02 22:07:53.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 @@ -176,12 +180,12 @@ # batch_kil : to delete jobs # --- batch configuration (see examples below) -batch_nom : SunGE -batch_ini : /opt/SunGE6.0/default/common/settings.sh -batch_sub : /opt/SunGE6.0/bin/lx24-x86/qsub -batch_jid : JOB_ID -batch_job : /opt/SunGE6.0/bin/lx24-x86/qstat -batch_kil : /opt/SunGE6.0/bin/lx24-x86/qdel +#batch_nom : SunGE +#batch_ini : /opt/SunGE6.0/default/common/settings.sh +#batch_sub : /opt/SunGE6.0/bin/lx24-x86/qsub +#batch_jid : JOB_ID +#batch_job : /opt/SunGE6.0/bin/lx24-x86/qstat +#batch_kil : /opt/SunGE6.0/bin/lx24-x86/qdel # --- Sun Grid Engine example #batch_nom : SunGE @@ -200,28 +204,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 @@ -250,8 +254,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 :