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 | ################## |
---|
6 | tracers=2 |
---|
7 | nx=64 |
---|
8 | ny=48 |
---|
9 | nz=32 |
---|
10 | ################## |
---|
11 | #tracers=1 |
---|
12 | #nx=64 |
---|
13 | #ny=48 |
---|
14 | #nz=25 |
---|
15 | ################## |
---|
16 | |
---|
17 | |
---|
18 | |
---|
19 | # GCM environment variables |
---|
20 | #-------------------------- |
---|
21 | export LMDGCM=$PWD |
---|
22 | export LIBOGCM=$PWD/libo |
---|
23 | |
---|
24 | echo $LMDGCM |
---|
25 | echo $LIBOGCM |
---|
26 | echo $NCDFLIB |
---|
27 | echo $NCDFINC |
---|
28 | |
---|
29 | #rm -rf libo |
---|
30 | mkdir libo |
---|
31 | touch libo/log_compile_newstart |
---|
32 | touch libo/log_compile_gcm |
---|
33 | |
---|
34 | echo bricolo |
---|
35 | \rm libf/grid/dimensions.h 2> /dev/null |
---|
36 | |
---|
37 | echo compile newstart |
---|
38 | echo check in $PWD/libo/log_compile_newstart |
---|
39 | makegcm -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 | |
---|
41 | echo compile gcm |
---|
42 | echo check in $PWD/libo/log_compile_gcm |
---|
43 | makegcm -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 | |
---|
45 | echo well, OK. |
---|
46 | |
---|
47 | |
---|
Note: See
TracBrowser
for help on using the repository browser.