aboutsummaryrefslogtreecommitdiff
path: root/cad/astk-serveur/files/patch-etc_asrun
diff options
context:
space:
mode:
Diffstat (limited to 'cad/astk-serveur/files/patch-etc_asrun')
-rw-r--r--cad/astk-serveur/files/patch-etc_asrun96
1 files changed, 96 insertions, 0 deletions
diff --git a/cad/astk-serveur/files/patch-etc_asrun b/cad/astk-serveur/files/patch-etc_asrun
new file mode 100644
index 000000000000..7a1c924cd974
--- /dev/null
+++ b/cad/astk-serveur/files/patch-etc_asrun
@@ -0,0 +1,96 @@
+--- ./etc/asrun.orig 2009-12-23 15:53:06.000000000 +0100
++++ ./etc/asrun 2010-01-10 21:19:13.000000000 +0100
+@@ -41,6 +41,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
+
+@@ -108,12 +112,12 @@
+ # batch_job : to display information about jobs
+ # batch_kil : to delete jobs
+ # --- Sun Grid Engine example
+-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
+
+ # --- LSF example
+ #batch_nom : LSF
+@@ -124,28 +128,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
+@@ -172,8 +176,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 :
+@@ -182,10 +189,9 @@
+ # @D will be remplaced by the filename which contains "where+quit"
+ # @d will be remplaced by the string 'where ; quit'
+ #
+-#cmd_post : gdb -batch --command=@D @E @C
++cmd_post : gdb -batch --command=@D @E @C
+ #cmd_dbg : ddd --debugger gdb --command=@D @E @C
+-cmd_post : ?DEBUGGER_COMMAND_POST?
+-cmd_dbg : ?DEBUGGER_COMMAND?
++cmd_dbg : gdb --dbx --command=@D @E @C
+
+ #-------------------------------------------------------------------------------
+ # style of ctags used (optionnal, leave commented to ignore ctags generation)