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

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