source: BOL/replay_1D.sh @ 4473

Last change on this file since 4473 was 4336, checked in by fhourdin, 2 years ago

Import initial des outils Replay

File size: 511 bytes
Line 
1#!/bin/bash
2
3routine=wake
4if [ $# -ge 1 ] ; then routine=$1 ; fi
5
6simdir=`pwd | sed -e 's/^.*EXEC.//' -e 's:/.*$::'` ; if [ "`echo $simdir | grep lmd`" = "" ] ; then phys=lmd ; else phys=`echo $simdir | sed -e 's/^.*lmd/lmd/'` ; fi
7LMDZdir=`pwd | sed -e 's/.1D.*$//'`
8cd $LMDZdir/modipsl/modeles/LMDZ/libf/phy$phys
9
10replay_clean.sh
11replay_equip.sh $routine
12cd -
13
14\rm lmdz1d.e replay1d.e
15./compile.sh
16./compile.sh replay1d
17./lmdz1d.e
18\mv phys.nc phys0.nc
19\cp -f dump_param_out.bin dump_param_in.bin
20./replay1d.e
Note: See TracBrowser for help on using the repository browser.