make_phangs_grids.pro
5.42 KB
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
PRO make_phangs_grids,bidon
;make_phangs_grids.pro
;CAUTION: must launch nohup through ssh with no XY option ...
;====== srundir
;=== To be run on titan using something like this:
;srun -pn51 -J Pg20 -o {$phangs_srundir}/make_phangs_grids18.log /home/soft/exelis/idl83/bin/idl {$phangs_srundir}/make_phangs_grids.pro &
;=== To be run on alma1 using something like this:
;nohup /usr/local/harris/idl87/bin/idl < {$phangs_srundir}/make_phangs_grids.pro >& {$phangs_srundir}/make_phangs_grids_all.log &
;ssh jbernard@localhost -p2223 "nohup /usr/local/harris/idl87/bin/idl < {$phangs_srundir}/make_phangs_grids.pro >& {$phangs_srundir}/make_phangs_grids.log &"
;=== check progress using:
;tail -20 {$phangs_srundir}/make_phangs_grids_all.log
;grep 'computing model' {$phangs_srundir}/make_phangs_grids.log | tail -20
;ls /data/projects/phangs/ISRF/GRIDS/*noionis*.fits
t0=systime(/sec)
bidon=1
;make_sed_phangs_tables,grid_type=221,isrf_class=0 ;alma1 (For Mathis field)
;FOR i=5L,26 DO make_sed_phangs_tables,grid_type=221,isrf_class=i ;alma1 (For grid ISRF field)
FOR i=5L,26 DO make_sed_phangs_tables,grid_type=223,isrf_class=i ;This is to compute DL07 with logn keyword for both PAH0 and PAH1
;make grid
;=== This is DL07 model single G0s
;make_sed_phangs_tables,grid_type=4,isrf_class=20 ;alma1 229172
;make_sed_phangs_tables,grid_type=4,isrf_class=7 ;alma1 458609
;make_sed_phangs_tables,grid_type=4,isrf_class=19 ;alma1 5012
;make_sed_phangs_tables,grid_type=4,isrf_class=18 ;alma1 14621
;make_sed_phangs_tables,grid_type=5,isrf_class=15 ;alma1 86993
;Still to be done
;make_sed_phangs_tables,grid_type=22,isrf_class=0 ;alma1 (For Mathis field)
;make_sed_phangs_tables,grid_type=22,isrf_class=4 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=5 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=6 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=7 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=8 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=9 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=10 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=11 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=12 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=13 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=14 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=15,/test,/show_seds ;alma1 86993
;make_sed_phangs_tables,grid_type=22,isrf_class=15 ;alma1 122939
;make_sed_phangs_tables,grid_type=22,isrf_class=16 ;alma1 296012
;make_sed_phangs_tables,grid_type=22,isrf_class=17 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=18 ;alma1 236312
;make_sed_phangs_tables,grid_type=22,isrf_class=19 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=20 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=21 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=22 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=23 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=24 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=25 ;alma1
;make_sed_phangs_tables,grid_type=22,isrf_class=26 ;alma1
;=== This is for DBP90 a la DL07 (Caution: This takes for ever)
;make_sed_phangs_tables,grid_type=3
;make_sed_phangs_tables,grid_type=3,/test,/show_seds
;make_sed_phangs_tables,/test,grid_type=2,/show_seds,isrf_class=15
;=== This is for ISRF classes grids (was only run with V1 of Grids saving (ie with no spectra saved)
;make_sed_phangs_tables,grid_type=2,isrf_class=30 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=29 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=28 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=27 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=26 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=25 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=24 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=23 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=22 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=21 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=20 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=19 ;alma1
;make_sed_phangs_tables,grid_type=2,isrf_class=18
;make_sed_phangs_tables,grid_type=2,isrf_class=17
;make_sed_phangs_tables,grid_type=2,isrf_class=16
;make_sed_phangs_tables,grid_type=2,isrf_class=15
;make_sed_phangs_tables,grid_type=2,isrf_class=14
;make_sed_phangs_tables,grid_type=2,isrf_class=13
;make_sed_phangs_tables,grid_type=2,isrf_class=12
;make_sed_phangs_tables,grid_type=2,isrf_class=11
;make_sed_phangs_tables,grid_type=2,isrf_class=10
;make_sed_phangs_tables,grid_type=2,isrf_class=9
;make_sed_phangs_tables,grid_type=2,isrf_class=8
;make_sed_phangs_tables,grid_type=2,isrf_class=7 ;
;make_sed_phangs_tables,grid_type=2,isrf_class=6 ;
;make_sed_phangs_tables,grid_type=2,isrf_class=5 ;
;make_sed_phangs_tables,grid_type=2,isrf_class=4 ;
;make_sed_phangs_tables,grid_type=2,isrf_class=3 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=2 ;no template
;make_sed_phangs_tables,grid_type=2,isrf_class=1 ;no template
;make_sed_phangs_tables,/test,/show_seds,grid_type=2,isrf_class=0
;make_sed_phangs_tables,grid_type=2,isrf_class=0
;==== test
;N=1.e9
;FOR i=0L,N-1 DO print,"hello world" & wait,3
!quiet=0
t1=systime(/sec)
message,'It took '+strtrim((t1-t0)/60./60.,2)+' hrs',/info
message,'Job finished',/info
exit
END