Last change
on this file since 1455 was
1285,
checked in by aslmd, 10 years ago
|
MESOSCALE. Added a few links and empty folder to ease installation. Changed compile for latest version without scatterers and tracers. Added launch scripts for clusters.
|
File size:
733 bytes
|
Line | |
---|
1 | #PBS -S /bin/bash |
---|
2 | #PBS -j oe |
---|
3 | #PBS -q infini |
---|
4 | #PBS -N prep_gcm |
---|
5 | #PBS -l "nodes=1:ppn=1" |
---|
6 | ##PBS -l "mem=64gb" |
---|
7 | |
---|
8 | ####### prep run |
---|
9 | cd $PBS_O_WORKDIR |
---|
10 | ulimit -s unlimited |
---|
11 | |
---|
12 | ############################### |
---|
13 | ### MUST LINK NAMELIST.INPUT !! |
---|
14 | ############################### |
---|
15 | |
---|
16 | year=$(more namelist.input | grep start_year | awk '{print $3}' | sed s+','+''+g) |
---|
17 | month=$(more namelist.input | grep start_month | awk '{print $3}' | sed s+','+''+g) |
---|
18 | day=$(more namelist.input | grep start_day | awk '{print $3}' | sed s+','+''+g) |
---|
19 | hour=$(more namelist.input | grep start_hour | awk '{print $3}' | sed s+','+''+g) |
---|
20 | wrf_date=${year}'-'${month}'-'${day}'_00:00:00' |
---|
21 | daygcm=$(more calendar | grep ${wrf_date} | awk '{print $2}') |
---|
22 | echo ${daygcm} | ./launch_gcm |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.