aboutsummaryrefslogtreecommitdiffstats
path: root/cad/astk-serveur/files/patch-etc_asrun
blob: dc56e101bcfc6225dfe2e4f7269b561915c9c417 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- 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 :