Blame view

LabTools/IRAP/JPB/srun/make_phangs_grids.pro 1.62 KB
17bc4bec   Jean-Philippe Bernard   test
1
PRO make_phangs_grids,bidon
25b04fb8   Jean-Philippe Bernard   added
2
3

;make_phangs_grids.pro
5ee49c81   Jean-Philippe Bernard   added run
4
;CAUTION: must launch nohup through ssh with no XY option ...
25b04fb8   Jean-Philippe Bernard   added
5
6
7
8
;====== srundir
;=== To be run on titan using something like this:
;srun -pn51 -J makeG -o {$phangs_srundir}/make_phangs_grids.log /home/soft/exelis/idl83/bin/idl {$phangs_srundir}/make_phangs_grids.pro &
;=== To be run on alma1 using something like this:
e17066ef   Jean-Philippe Bernard   fixed
9
;nohup /usr/local/harris/idl87/bin/idl < {$phangs_srundir}/make_phangs_grids.pro >& {$phangs_srundir}/make_phangs_grids.log &
e0bb2daa   Jean-Philippe Bernard   added run
10
;ssh jbernard@localhost -p2223 "nohup /usr/local/harris/idl87/bin/idl < {$phangs_srundir}/make_phangs_grids.pro >& {$phangs_srundir}/make_phangs_grids.log &"
25b04fb8   Jean-Philippe Bernard   added
11
12
;=== check progress using:
;tail -20 {$phangs_srundir}/make_phangs_grids.log
1dfe610a   Jean-Philippe Bernard   improved
13
;grep 'computing model' {$phangs_srundir}/make_phangs_grids.log | tail -20
25b04fb8   Jean-Philippe Bernard   added
14

a84e0595   Jean-Philippe Bernard   modified plugin s...
15
16
17
;This won't work, because it needs the Fortran to set files to the same area ...
;defsysv,'!DUSTEM_RES','/tmp/jbernard/Dustem_nohup'

25b04fb8   Jean-Philippe Bernard   added
18
19
t0=systime(/sec)

17bc4bec   Jean-Philippe Bernard   test
20
21
bidon=1

25b04fb8   Jean-Philippe Bernard   added
22
;make grid 
acbfdcee   Jean-Philippe Bernard   improved
23
;make_sed_phangs_tables,/test,grid_type=2,/show_seds,isrf_class=15
429a6075   Jean-Philippe Bernard   improved
24
;make_sed_phangs_tables,grid_type=2,isrf_class=15
d57aec3b   Jean-Philippe Bernard   improved
25
;make_sed_phangs_tables,grid_type=2,isrf_class=14
5ee49c81   Jean-Philippe Bernard   added run
26
;make_sed_phangs_tables,grid_type=2,isrf_class=13
491368ac   Jean-Philippe Bernard   added run
27
;make_sed_phangs_tables,grid_type=2,isrf_class=12
e0bb2daa   Jean-Philippe Bernard   added run
28
29
;make_sed_phangs_tables,grid_type=2,isrf_class=11
make_sed_phangs_tables,grid_type=2,isrf_class=10
7e4d3529   Jean-Philippe Bernard   improved
30
;make_sed_phangs_tables,/test,/show_seds,grid_type=2,isrf_class=0
b099d16c   Jean-Philippe Bernard   using set up fortran
31
32
;make_sed_phangs_tables,grid_type=2,isrf_class=0
;==== test
1d75a9b5   Jean-Philippe Bernard   test
33
34
;N=1.e9
;FOR i=0L,N-1 DO print,"hello world" & wait,3
c35653ba   Jean-Philippe Bernard   test
35

d57aec3b   Jean-Philippe Bernard   improved
36
37
!quiet=0

25b04fb8   Jean-Philippe Bernard   added
38
39
40
41
42
43
44
45
46
t1=systime(/sec)

message,'It took '+strtrim((t1-t0)/60./60.,2)+' hrs',/info

message,'Job finished',/info

exit

END