source: trunk/MESOSCALE/LMDZ.MARS/in_lmdz_mars/compile @ 3028

Last change on this file since 3028 was 1858, checked in by aslmd, 7 years ago

added gfortran support for old GCM. commented part of ch.f which pose problems (not used anyway in low-atmosphere GCM for mesoscale applications. added an adapted makegcm_gnu. corrected a problem of condition in newstart picked by picky gfortran.

  • Property svn:executable set to *
File size: 952 bytes
Line 
1#! /bin/bash
2
3## changer eventuellement le callphys.def egalement
4
5##################
6tracers=2
7nx=64
8ny=48
9nz=32
10##################
11#tracers=1
12#nx=64
13#ny=48
14#nz=25
15##################
16
17
18
19# GCM environment variables
20#--------------------------
21export LMDGCM=$PWD
22export LIBOGCM=$PWD/libo
23
24echo $LMDGCM
25echo $LIBOGCM
26echo $NCDFLIB
27echo $NCDFINC
28
29#rm -rf libo
30mkdir libo
31touch libo/log_compile_newstart
32touch libo/log_compile_gcm
33
34echo bricolo
35\rm libf/grid/dimensions.h 2> /dev/null
36
37echo compile newstart
38echo check in $PWD/libo/log_compile_newstart
39makegcm -t ${tracers} -p mars -d ${nx}x${ny}x${nz} newstart > libo/log_compile_newstart 2>&1 #| tee libo/log_compile_newstart | grep 'warnings' >> libo/log_compile_newstart
40
41echo compile gcm
42echo check in $PWD/libo/log_compile_gcm
43makegcm -t ${tracers} -p mars -d ${nx}x${ny}x${nz} gcm > libo/log_compile_gcm 2>&1 #| tee libo/log_compile_gcm | grep 'warnings' >> libo/log_compile_gcm
44
45echo well, OK.
46
47
Note: See TracBrowser for help on using the repository browser.