source: CONFIG/UNIFORM/v7/IPSLCM7/compile_ipslcm7.sh @ 6457

Last change on this file since 6457 was 6457, checked in by jgipsl, 14 months ago

Correction for option -regular_latlon

  • Correcte suffix for gcm (add _couple).
  • Move executable for gcm directly after the compilation (otherwise, if ce0l fails, the gcm executable will not be copied either).
  • Compilation of ce0l needs to have the same option "-c OMT" as the gcm.
  • Property svn:executable set to *
File size: 18.7 KB
Line 
1#!/bin/bash
2# Default options
3#
4#
5#
6date
7#### 1  Set up the compiling options
8#### Define some directories
9submitdir=$( pwd )
10modipsl=$submitdir/../..
11arch_path=$submitdir/ARCH
12mysrc_path=$submitdir/SOURCES
13export ROOT=$modipsl/modeles/DYNAMICO
14#### Set default options
15# Resolution if compiling LMDZ in regular mode without DYNAMICO
16# Use for example following "./compile_icolmdzor.sh -regular_latlon 144x142x79"
17regular_latlon=no
18# Atmospheric resolution, for LMDZ/ORCHIDEE in regular mode
19resol_atm=144x142x79
20# Coupled with ocean biogeochemistry (y/n)
21nemotop=y
22# Optimization mode
23# optmode=prod/dev/debug
24optmode=prod
25# Resolution if compiling LMDZ in regular mode without DYNAMICO
26# Use for example following "./compile_icolmdzor.sh -regular_latlon 144x142x79"
27regular_latlon=no
28# fcm_arch
29fcm_arch=default
30# Default values to be overritten
31parallel=mpi_omp
32export fcm_arch parallel xios
33full_flag=""
34full_nemo=n
35full_inca=""
36full_xios=""
37full_lmdz=""
38full_orch=""
39full_dyna=""
40# choose radiative code compilation option
41rad=rrtm
42opt_rad=""
43# Default netcdf_lib is used for XIOS but can be change by argument
44netcdf_lib=""
45
46# Output text file for compilation of each component
47datestr=`LC_ALL=C date +"%Y%m%dT%H%M"`
48outfile=$submitdir/out_compile_ipslcm7.$datestr
49echo > $outfile
50echo; echo "Text output from compilation will be stored in file out_compile_ipslcm7.$datestr"; echo 
51
52#### Read arguments
53# Loop over all arguments to modify default set up
54while (($# > 0)) ; do
55    case $1 in
56        "-h") cat <<end_help
57########################################################################
58# Usage of the script compile_ipslcm7.sh
59#
60########################################################################
61
62./compile_ipslcm7.sh [Options]
63
64
65Options: [-full] Full recompilation of all components. This option can be added to all other options.
66         [-cleannemo] Full recompilation of NEMO component only.
67         [-regular_latlon]
68         [-debug / -dev / -prod] Level of optimization. One of these can be added to all other compile options. Default: -prod.
69
70
71Example 1: Default compilation of IPSLCM7 for resolution LR
72          (Resolution atmos: nbp40 )
73./compile_ipslcm7.sh
74
75Example 2: Default resolution (LR) compiled in debug mode
76./compile_ipslcm7.sh -debug
77
78Example 3: Default compilation with full recompilation of all components. No clean is needed.
79./compile_ipslcm7.sh -full
80
81Example 4: Compilation of LMDZ in regular lat-lon for dimension 144x142x79.
82The dimension can be changed to any other 3d dimension. DYNAMICO is also compiled as default.
83./compile_ipslcm7.sh -regular_latlon 144x142x79
84
85end_help
86            exit;;
87
88        "-parallel")   parallel=$2 ; shift ; shift ;;
89        "-arch")       fcm_arch="$2" ; shift ; shift ;;
90        "-debug")      optmode=debug ; shift ;;
91        "-dev")        optmode=dev ; shift ;;
92        "-prod")       optmode=prod ; shift ;;
93        "-regular_latlon")  regular_latlon=yes ; resol_atm=$2 ; shift ; shift ;;
94        "-full")       full_flag="-full"; full_nemo=y ; full_xios="--full" ; full_lmdz="-full" ; full_orch="-full" ; shift ;;
95        "-full_xios")  full_xios="--full" ; shift ;;  # Note only full_xios is using double dash: --full
96        "-full_lmdz")  full_lmdz="-full"  ; shift ;;
97        "-full_orch")  full_orch="-full"  ; shift ;;
98        "-full_nemo")  full_nemo=y ; shift ;;
99        "-full_inca")  full_inca="-clean"; shift ;;
100        "-cleannemo")  full_nemo=y ; shift ;;
101        "-rad")        rad=$2; shift ; shift ;;
102        *)             echo "unknown option "$1" , exiting..." ; exit
103    esac
104done
105
106echo "Following options are set in current compiling:" >> $outfile
107echo "   regular_latlon=$regular_latlon (if yes, then resol_atm=${resol_atm})" >> $outfile 
108echo "   resol_atm=${resol_atm}, resol_oce=${resol_oce}, icemodel=${icemodel}, nemotop=${nemotop}" >> $outfile 
109echo "   optmode = $optmode, parallel = $parallel, fcm_arch = $fcm_arch " >> $outfile 
110echo "   full_flag=$full_flag, full_xios=$full_xios, full_lmdz=$full_lmdz, full_orch=$full_orch, full_nemo=$full_nemo, full_dyna=$full_dyna" >> $outfile 
111echo >> $outfile
112
113### Read host dependent default values
114### These variables will not be changed if they were set as argument
115###./host.sh $host
116# Later : Following lines should be set in host.sh file
117# begin host.sh
118if [ $fcm_arch == default ] ; then
119    # Find out current host and source specific paths and commands for the host
120    case $( hostname -s ) in
121        jean-zay*)
122            fcm_arch=X64_JEANZAY;;
123        irene170|irene171|irene190|irene191|irene192|irene193)
124            fcm_arch=X64_IRENE;;
125        irene172|irene173|irene194|irene195)
126            fcm_arch=X64_IRENE-AMD;;
127        asterix*|obelix*)
128            fcm_arch=ifort_LSCE
129            if [ "${parallel}" == "mpi_omp" ] ; then
130                echo "Warning!! Currently at Obelix hybrid mode is not possible."
131                echo "          Option -parallel mpi_omp is now changed to -parallel mpi"
132                echo ""
133                parallel=mpi
134            else
135                echo "You used -parallel" $parallel
136            fi ;;
137        spirit*)
138            fcm_arch=ifort_MESOIPSL;;
139        ciclad*|climserv*|loholt*|camelot*)
140            fcm_arch=ifort_CICLAD;;
141        *)
142            echo Current host is not known. You must use option -arch to specify which architecuture files to use.
143            echo Exit now.
144            exit
145    esac
146fi
147
148# Set a link to arch.env if arch-${fcm_arch}.env file exist for current fcm_arch.
149# The link arch.env is also set in config.card and will be used by libIGCM to ensure the same running environnement.
150if [ -f ARCH/arch-${fcm_arch}.env ] ; then
151    echo >> $outfile
152    echo "The file ARCH/arch-${fcm_arch}.env will now be sourced with modules needed for compilation for all components."
153    echo "Note that this new environement might be kept after compilation."
154    echo "If this is the case, source again your personal environment after compilation."
155    echo " Personal module list before sourcing of ARCH/arch.env file:"    >> $outfile 
156    module list   >> $outfile 2>&1
157    svn_version=$(module list -t | grep subversion)
158       
159    # Make a link to this file, to be used also in config.card
160    rm -f ARCH/arch.env
161    ln -s arch-${fcm_arch}.env ARCH/arch.env
162
163    # Source the file
164    source ARCH/arch.env   >> $outfile 2>&1
165    if [ X$svn_version != X ] ; then
166        module load ${svn_version}
167    fi
168    echo >> $outfile
169    echo " New module list after sourcing of ARCH/arch.env file:"    >> $outfile 
170    module list   >> $outfile 2>&1
171fi
172
173#### 2 Do the compilation
174## 2.1 Compile ioipsl
175cd $modipsl/modeles/IOIPSL
176echo; echo "NOW COMPILE IOIPSL"
177echo >> $outfile ; echo " NOW COMPILE IOIPSL"   >> $outfile 
178
179echo ./makeioipsl_fcm -$optmode -parallel -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile 
180     ./makeioipsl_fcm -$optmode -parallel -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile 2>&1
181# Test if compiling succeded
182if [[ $? != 0 ]] ; then
183    echo "THERE IS A PROBLEM IN IOIPSL COMPILATION - STOP"
184    exit
185fi
186
187## 2.2 Compile oasis3-mct
188cd $modipsl/oasis3-mct/util/make_dir
189echo; echo "NOW COMPILE OASIS3-MCT"
190echo >> $outfile ; echo " NOW COMPILE OASIS3-MCT"   >> $outfile
191cp $mysrc_path/OASIS3-MCT/make_${fcm_arch} make.inc
192
193echo make -f TopMakefileOasis3 >> $outfile
194     make -f TopMakefileOasis3 >> $outfile 2>&1
195
196
197## 2.3 Compile xios
198cd $modipsl/modeles/XIOS
199echo; echo "NOW COMPILE XIOS"
200echo >> $outfile ; echo " NOW COMPILE XIOS"   >> $outfile 
201echo ./make_xios --use_oasis oasis3_mct --$optmode --arch $fcm_arch --arch_path $arch_path ${netcdf_lib} --job 4 $full_xios   >> $outfile 
202     ./make_xios --use_oasis oasis3_mct --$optmode --arch $fcm_arch --arch_path $arch_path ${netcdf_lib} --job 4 $full_xios   >> $outfile 2>&1
203# Test if compiling succeded
204if [[ $? != 0 ]] ; then
205    echo "THERE IS A PROBLEM IN XIOS COMPILATION - STOP"
206    exit
207fi
208# Move executables to modipsl/bin
209if [ -f $modipsl/modeles/XIOS/bin/xios_server.exe ] ; then
210    mv $modipsl/modeles/XIOS/bin/xios_server.exe $modipsl/bin/xios_server_${optmode}.exe
211else
212    echo "THERE IS A PROBLEM IN XIOS COMPILATION EXECUTABLE MISSING - STOP"
213    exit
214fi
215
216
217## 2.4 Compile orchidee
218cd $modipsl/modeles/ORCHIDEE
219echo; echo "NOW COMPILE ORCHIDEE"
220echo >> $outfile ; echo " NOW COMPILE ORCHIDEE"   >> $outfile 
221
222# Check if the compilation of ORCHIDEE was previsouly interupted prematured.
223# In that case, the files fcm.bld.lock exist. If the file exist, it is here removed to avoid makeorchidee_fcm
224# to ask question and wait for interactivly answer from the user.
225if [ -f build/fcm.bld.lock ] ; then
226    echo >> $outfile
227    echo " WARNING!! The file ORCHIDEE/build/fcm.bld.lock exist. "   >> $outfile
228    echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile
229    echo "           The file will now be removed. "   >> $outfile
230    echo >> $outfile
231    rm -f build/fcm.bld.lock
232fi
233
234echo    ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch   >> $outfile 
235        ./makeorchidee_fcm -j 8 -xios -parallel $parallel -$optmode -arch ${fcm_arch} -arch_path $arch_path $full_orch   >> $outfile 2>&1
236# Test if compiling finished
237if [[ $? != 0 ]] ; then
238    echo "THERE IS A PROBLEM IN ORCHIDEE COMPILATION - STOP"
239    exit
240fi
241
242
243## 2.5 Compile NEMO
244nemo_root=$modipsl/modeles/NEMO
245cfg_ref=ORCA2_ICE_PISCES
246cfg_wrk=ORCA_ICE_TRC
247addkeys="key_oasis3 key_top key_si3 key_isf"
248delkeys=""
249
250if [ ${nemotop} == n ] ; then
251   cfg_wrk=ORCA_ICE
252   delkeys="key_top"
253fi
254
255if [ ${nemotop} == n ] ; then
256   echo; echo "NOW COMPILE NEMO with ice model SI3 without passive tracer model TOP"
257   echo >> $outfile ; echo " NOW COMPILE NEMO with ice model SI3 without passive tracer model TOP"   >> $outfile
258else
259   echo; echo "NOW COMPILE NEMO with ice model SI3 and passive tracer model TOP"
260   echo >> $outfile ; echo " NOW COMPILE NEMO with ice model SI3 and passive tracer model TOP"   >> $outfile
261fi
262
263echo >> $outfile ; echo cd $nemo_root  >> $outfile
264echo >> $outfile ; echo cp $mysrc_path/NEMO/arch-${fcm_arch}.fcm arch/CNRS/.   >> $outfile
265echo >> $outfile
266
267cd $nemo_root ; cp $mysrc_path/NEMO/arch-${fcm_arch}.fcm arch/CNRS/.
268
269# creation of config
270echo >> $outfile ; echo cd $nemo_root  >> $outfile
271echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref -j0 add_key "$addkeys"  del_key "$delkeys"   >> $outfile
272echo >> $outfile
273cd $nemo_root
274./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref -j0  add_key "$addkeys"  del_key "$delkeys"  >> $outfile 2>&1
275
276
277# Copy of specfic source files
278echo >> $outfile ; echo cp $mysrc_path/NEMO/*.*90  $nemo_root/cfgs/$cfg_wrk/MY_SRC/.   >> $outfile
279echo >> $outfile
280cp $mysrc_path/NEMO/*.*90  $nemo_root/cfgs/$cfg_wrk/MY_SRC/.
281
282
283if [ $full_nemo == y ] ; then
284   # To make a full compilation, first make a clean to remove all files produced during previous compilation
285   echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref clean   >> $outfile
286   echo >> $outfile
287   ./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref clean  >> $outfile 2>&1
288fi
289echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref -j8  >> $outfile
290echo >> $outfile
291./makenemo -m ${fcm_arch} -n $cfg_wrk -r $cfg_ref -j8  >> $outfile 2>&1
292
293echo >> $outfile
294echo "Move nemo executable to modipsl/bin" >> $outfile
295echo ls -lrt $nemo_root/cfgs/$cfg_wrk/BLD/bin   >> $outfile
296ls -lrt $nemo_root/cfgs/$cfg_wrk/BLD/bin  >> $outfile
297echo >> $outfile
298
299if [ -f $nemo_root/cfgs/$cfg_wrk/BLD/bin/nemo.exe ] ; then
300   mv $nemo_root/cfgs/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa_${optmode}.exe
301else
302    echo "ERROR nemo.exe executable does not exist."
303    echo "THERE IS A PROBLEM IN NEMO COMPILATION - STOP"
304    exit
305fi
306
307# Compile LMDZ
308cd $modipsl/modeles/LMDZ
309# Compile LMDZ as library to couple to DYNAMICO
310echo; echo "NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO"
311echo >> $outfile ; echo " NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO"   >> $outfile 
312# Retrieve the final svn release number, needed for radiative code suffix of executable
313lmdzsvn=`svnversion . | egrep -o "[0-9]+"  | awk 'NR==1'`
314# Temporary use of SOURCES/LMDZ to handle modifications needed by IPSLCM7
315cp $mysrc_path/LMDZ/*.*90  libf/phylmd/.
316
317# Check if the compilation of LMDZ was previsouly interupted prematured.
318# In that case, the files dimension.h and .lock exist. If the files exist, they are here removed to avoid makelmdz_fcm
319# to ask question and wait for interactivly answer from the user.
320if [ -f libf/grid/dimensions.h ] || [ -f .lock ] ; then
321  echo >> $outfile
322  echo " WARNING!! The file LMDZ/libf/grid/dimension.h and/or the LMDZ/.lock exist. "   >> $outfile
323  echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile
324  echo "           The files dimension.h and .lock will now be removed. "   >> $outfile
325  echo >> $outfile
326  rm -f libf/grid/dimensions.h
327  rm -f .lock
328fi
329
330# Need to define the proper option for radiative code compilation. By default, we use rrtm
331case $rad in
332    oldrad) opt_rad="" ;;
333    rrtm)   if [ $lmdzsvn -le 4185 ] ; then opt_rad="-rrtm true" ; else opt_rad="-rad rrtm" ; fi ;;
334    ecrad)  opt_rad="-rad ecrad" ;;
335    *) echo Only oldrad rrtm ecrad for rad option ; exit
336esac
337
338if [ $lmdzsvn -le 4185 -a $rad = "ecrad" ] ; then echo "ecrad only available for LMDZ rev starting with 4186 " ; exit ; fi
339
340echo ./makelmdz_fcm -p lmd -c OMCT $opt_rad -$optmode -mem -parallel $parallel -libphy -v orchidee2.1 -io xios -arch $fcm_arch -j 8 $full_lmdz    >> $outfile 
341     ./makelmdz_fcm -p lmd -c OMCT $opt_rad -$optmode -mem -parallel $parallel -libphy -v orchidee2.1 -io xios -arch $fcm_arch -j 8 $full_lmdz    >> $outfile 2>&1
342# Test if compiling finished
343if [[ $? != 0 ]] ; then
344    echo "THERE IS A PROBLEM IN LMDZ PHYSICS COMPILATION - STOP"
345    exit
346fi
347
348
349
350## 2.5 Compile DYNAMICO
351cd $modipsl/modeles/DYNAMICO
352echo; echo "NOW COMPILE DYNAMICO "
353echo >> $outfile ; echo " NOW COMPILE DYNAMICO"   >> $outfile 
354
355echo ./make_icosa -$optmode -with_fcm1 -parallel $parallel -external_ioipsl -with_oasis -with_xios -arch $fcm_arch -arch_path $arch_path -job 8 $full_dyna    >> $outfile 
356     ./make_icosa -$optmode -with_fcm1 -parallel $parallel -external_ioipsl -with_oasis -with_xios -arch $fcm_arch -arch_path $arch_path -job 8 $full_dyna    >> $outfile 2>&1
357# Test if compiling finished
358if [[ $? != 0 ]] ; then
359    echo "THERE IS A PROBLEM IN DYNAMICO COMPILATION - STOP"
360    exit
361fi
362
363## 2.6 Compile interface ICOSA_LMDZ
364cd $modipsl/modeles/ICOSA_LMDZ
365echo; echo "NOW COMPILE ICOSA_LMDZ "
366echo >> $outfile ; echo " NOW COMPILE ICOSA_LMDZ"   >> $outfile 
367
368echo ./make_icosa_lmdz -nodeps -p lmd -$optmode -parallel $parallel -with_oasis -with_orchidee -arch ${fcm_arch} -arch_path ${arch_path} -job 8 $full_dyna    >> $outfile 
369     ./make_icosa_lmdz -nodeps -p lmd -$optmode -parallel $parallel -with_oasis -with_orchidee -arch ${fcm_arch} -arch_path ${arch_path} -job 8 $full_dyna    >> $outfile 2>&1
370# Test if compiling finished
371if [[ $? != 0 ]] ; then
372    echo "THERE IS A PROBLEM IN ICOSA_LMDZ COMPILATION - STOP"
373    exit
374fi
375# Move executables to modipsl/bin
376if [ -f $modipsl/modeles/ICOSA_LMDZ/bin/icosa_lmdz.exe ] ; then
377    mv $modipsl/modeles/ICOSA_LMDZ/bin/icosa_lmdz.exe $modipsl/bin/icosa_lmdz_${optmode}.exe
378else
379    echo "THERE IS A PROBLEM IN ICOSA_LMDZ COMPILATION EXECUTABLE MISSING - STOP"
380    exit
381fi
382
383
384
385## 2.7 Compile LMDZ for regular latlon configuration
386if [ $regular_latlon = yes ] ; then
387
388    cd $modipsl/modeles/LMDZ
389    # Compile LMDZ regular lat-lon exectuable
390    echo; echo "NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm}"
391    echo >> $outfile ; echo " NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = ${resol_atm}"   >> $outfile 
392    # Check if the compilation of LMDZ was previsouly interupted prematured.
393    # In that case, the files dimension.h and .lock exist. If the files exist, they are here removed to avoid makelmdz_fcm
394    # to ask question and wait for interactivly answer from the user.
395    if [ -f libf/grid/dimensions.h ] || [ -f .lock ] ; then
396        echo >> $outfile
397        echo " WARNING!! The file LMDZ/libf/grid/dimension.h and/or the LMDZ/.lock exist. "   >> $outfile
398        echo "           This means that the compilation is either currently on going in another terminal was previous interupted before the end."   >> $outfile
399        echo "           The files dimension.h and .lock will now be removed. "   >> $outfile
400        echo >> $outfile
401        rm -f libf/grid/dimensions.h
402        rm -f .lock
403    fi
404    echo ./makelmdz_fcm -d ${resol_atm} -c OMCT -p lmd $opt_rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz gcm    >> $outfile 
405         ./makelmdz_fcm -d ${resol_atm} -c OMCT -p lmd $opt_rad -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz gcm    >> $outfile 2>&1
406    # Test if compiling finished
407    if [[ $? != 0 ]] ; then
408        echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP"
409        exit
410    fi
411
412    # Find executable suffix
413    suffix=_${resol_atm}_phylmd
414    if [ $lmdzsvn -ge 4186 ] ; then suffix=${suffix}_${rad} ; fi
415    if [ $parallel == seq ] || [ $parallel == none ] ; then
416        suffix=${suffix}_seq_orch.e
417    else
418        suffix=${suffix}_para_mem_orch_couple.e
419    fi
420    echo gcm suffix = $suffix
421
422   
423    # Move executable gcm to modipsl/bin folder
424    echo "Move gcm.e executable to modipsl/bin"
425    if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix} ] ;  then
426        mv $modipsl/modeles/LMDZ/bin/gcm${suffix} $modipsl/bin/gcm_${resol_atm}_${optmode}.e
427    else
428        echo "ERROR gcm${suffix} executable does not exist." 
429        echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP"
430        exit
431    fi
432   
433    # Compile ce0l initialization program for LMDZ regular lat-lon exectuable
434    echo; echo "NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}"
435    echo >> $outfile ; echo " NOW COMPILE CE0L OF LMDZ. Resolution = ${resol_atm}"   >> $outfile 
436
437    echo ./makelmdz_fcm -d ${resol_atm} -c OMT -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l    >> $outfile 
438         ./makelmdz_fcm -d ${resol_atm} -c OMT -p lmd -rrtm true -$optmode -mem -parallel $parallel -io xios -v orchidee2.1 -arch $fcm_arch -j 8 $full_lmdz ce0l    >> $outfile 2>&1
439    # Test if compiling finished
440    if [[ $? != 0 ]] ; then
441        echo "THERE IS A PROBLEM IN CE0L (LMDZ) REGULAR LATLON COMPILATION - STOP"
442        exit
443    fi
444
445   
446    # Move executable ce0l to modipsl/bin folder
447    echo "Move ce0l executable to modipsl/bin"
448    if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix} ] ;  then
449        mv $modipsl/modeles/LMDZ/bin/ce0l${suffix} $modipsl/bin/ce0l_${resol_atm}_${optmode}.e
450    else
451        echo "ERROR ce0l${suffix} executable does not exist." 
452        echo "THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP"
453        exit
454    fi
455fi
456
457echo >>$outfile ; echo "ALL COMPILING FINISHED" >> $outfile
458echo ls -lrt modipsl/bin >> $outfile
459ls -lrt $modipsl/bin >> $outfile
460
461echo; echo "ALL COMPILING FINISHED" ; echo
462echo "Executables are found in modipsl/bin"
463echo "Check that executable names correspond with the name set in config.card before launching the job"
464echo ls -lrt modipsl/bin
465ls -lrt $modipsl/bin
466
467date
468
469exit
470
471
Note: See TracBrowser for help on using the repository browser.