Blame view

LabTools/IRAP/JPB/srun/make_phangs_grids.pro 2.24 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
;====== srundir
;=== To be run on titan using something like this:
ac583fa5   Jean-Philippe Bernard   improved
7
;srun -pn51 -J Pg25 -o {$phangs_srundir}/make_phangs_grids.log /home/soft/exelis/idl83/bin/idl {$phangs_srundir}/make_phangs_grids.pro &
25b04fb8   Jean-Philippe Bernard   added
8
;=== 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
ac583fa5   Jean-Philippe Bernard   improved
24
25
26
make_sed_phangs_tables,grid_type=2,isrf_class=25    ;titan Pg25
;make_sed_phangs_tables,grid_type=2,isrf_class=24   ;titan Pgrid
;make_sed_phangs_tables,grid_type=2,isrf_class=23   ;Mac
14ae4f23   Jean-Philippe Bernard   improved
27
28
29
30
;make_sed_phangs_tables,grid_type=2,isrf_class=22
;make_sed_phangs_tables,grid_type=2,isrf_class=21
;make_sed_phangs_tables,grid_type=2,isrf_class=20
;make_sed_phangs_tables,grid_type=2,isrf_class=19
daa89ea5   Jean-Philippe Bernard   improved
31
;make_sed_phangs_tables,grid_type=2,isrf_class=18
026c2ba5   Jean-Philippe Bernard   improved
32
;make_sed_phangs_tables,grid_type=2,isrf_class=17
0d19c43e   Jean-Philippe Bernard   improved
33
;make_sed_phangs_tables,grid_type=2,isrf_class=16
429a6075   Jean-Philippe Bernard   improved
34
;make_sed_phangs_tables,grid_type=2,isrf_class=15
d57aec3b   Jean-Philippe Bernard   improved
35
;make_sed_phangs_tables,grid_type=2,isrf_class=14
5ee49c81   Jean-Philippe Bernard   added run
36
;make_sed_phangs_tables,grid_type=2,isrf_class=13
491368ac   Jean-Philippe Bernard   added run
37
;make_sed_phangs_tables,grid_type=2,isrf_class=12
e0bb2daa   Jean-Philippe Bernard   added run
38
;make_sed_phangs_tables,grid_type=2,isrf_class=11
d5838901   Jean-Philippe Bernard   improved
39
;make_sed_phangs_tables,grid_type=2,isrf_class=10
2f404849   Jean-Philippe Bernard   improved
40
;make_sed_phangs_tables,grid_type=2,isrf_class=9
3f6fe9cc   Jean-Philippe Bernard   improved
41
;make_sed_phangs_tables,grid_type=2,isrf_class=8
7e4d3529   Jean-Philippe Bernard   improved
42
;make_sed_phangs_tables,/test,/show_seds,grid_type=2,isrf_class=0
b099d16c   Jean-Philippe Bernard   using set up fortran
43
44
;make_sed_phangs_tables,grid_type=2,isrf_class=0
;==== test
1d75a9b5   Jean-Philippe Bernard   test
45
46
;N=1.e9
;FOR i=0L,N-1 DO print,"hello world" & wait,3
c35653ba   Jean-Philippe Bernard   test
47

d57aec3b   Jean-Philippe Bernard   improved
48
49
!quiet=0

25b04fb8   Jean-Philippe Bernard   added
50
51
52
53
54
55
56
57
58
t1=systime(/sec)

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

message,'Job finished',/info

exit

END