Blame view

LabTools/IRAP/JPB/srun/make_phangs_grids.pro 1.26 KB
1dfe610a   Jean-Philippe Bernard   improved
1
PRO make_phangs_grids,bidon
25b04fb8   Jean-Philippe Bernard   added
2
3
4
5
6
7

;make_phangs_grids.pro
;====== 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
8
;nohup /usr/local/harris/idl87/bin/idl < {$phangs_srundir}/make_phangs_grids.pro >& {$phangs_srundir}/make_phangs_grids.log &
25b04fb8   Jean-Philippe Bernard   added
9
10
;=== check progress using:
;tail -20 {$phangs_srundir}/make_phangs_grids.log
1dfe610a   Jean-Philippe Bernard   improved
11
12
;grep 'computing model' {$phangs_srundir}/make_phangs_grids.log | tail -20
;grep 'saved' {$phangs_srundir}/make_phangs_grids.log
25b04fb8   Jean-Philippe Bernard   added
13
14
15
;more {$phangs_srundir}/make_phangs_grids.log | grep "iteration "
;more {$phangs_srundir}/make_phangs_grids.log | grep "Will produce"

a84e0595   Jean-Philippe Bernard   modified plugin s...
16
17
18
;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
19
20
21
t0=systime(/sec)

;make grid 
acbfdcee   Jean-Philippe Bernard   improved
22
;make_sed_phangs_tables,/test,grid_type=2,/show_seds,isrf_class=15
429a6075   Jean-Philippe Bernard   improved
23
;make_sed_phangs_tables,grid_type=2,isrf_class=15
7e4d3529   Jean-Philippe Bernard   improved
24
25
;make_sed_phangs_tables,/test,/show_seds,grid_type=2,isrf_class=0
make_sed_phangs_tables,grid_type=2,isrf_class=0
25b04fb8   Jean-Philippe Bernard   added
26
27
28
29
30
31
32
33
34
35

t1=systime(/sec)

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

message,'Job finished',/info

exit

END