source: trunk/LMDZ.GENERIC/utilities/run_kmatrix @ 1242

Last change on this file since 1242 was 264, checked in by aslmd, 13 years ago

LMDZ.GENERIC: (with R. Wordsworth) added a sample example in utilities named corrk_test. changes scripts in utilities so that links are more generic (provided environment variables are set)

  • Property svn:executable set to *
File size: 717 bytes
RevLine 
[253]1# @ job_name=kmatrix
2# @ output = $(job_name).$(jobid)
3# @ error = $(output)
4# @ job_type = serial
5# @ class = B
6# @ queue
7
[264]8BANDS_DIR=38x36
[253]9
[264]10cp $MOD/LMDZ.GENERIC/utilities/generate_kmatrix.exe .
[253]11
12## make kmatrix in the infrared and save it in a GCM-friendly format
13cp $BANDS_DIR/narrowbands_IR.in narrowbands.in
[264]14generate_kmatrix.exe > log.out
[253]15mv corrk_gcm.dat $BANDS_DIR/corrk_gcm_IR.dat
16mv log.out $BANDS_DIR/logIR.out
17rm narrowbands.in
18
19## make kmatrix in the visible and save it in a GCM-friendly format
20cp $BANDS_DIR/narrowbands_VI.in narrowbands.in
21generate_kmatrix.exe > log.out
22mv corrk_gcm.dat $BANDS_DIR/corrk_gcm_VI.dat
23mv log.out $BANDS_DIR/logVI.out
24rm narrowbands.in
25
26rm generate_kmatrix.exe
27
28exit 0
Note: See TracBrowser for help on using the repository browser.