source: trunk/MESOSCALE/LMDZ.MARS.new/myGCM/launch.ciclad @ 3567

Last change on this file since 3567 was 1285, checked in by aslmd, 11 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
RevLine 
[1285]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
9cd $PBS_O_WORKDIR
10ulimit -s unlimited
11
12###############################
13### MUST LINK NAMELIST.INPUT !!
14###############################
15
16year=$(more namelist.input | grep start_year | awk '{print $3}' | sed s+','+''+g)
17month=$(more namelist.input | grep start_month | awk '{print $3}' | sed s+','+''+g)
18day=$(more namelist.input | grep start_day | awk '{print $3}' | sed s+','+''+g)
19hour=$(more namelist.input | grep start_hour | awk '{print $3}' | sed s+','+''+g)
20wrf_date=${year}'-'${month}'-'${day}'_00:00:00'
21daygcm=$(more calendar | grep ${wrf_date} | awk '{print $2}')
22echo ${daygcm} | ./launch_gcm
23
Note: See TracBrowser for help on using the repository browser.