Error while compiling the configuration
NOW COMPILE ORCHIDEE
NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO
./compile_icolmdzor.sh: line 254: svnversion: command not found
./compile_icolmdzor.sh: line 271: [: -le: unary operator expected
./compile_icolmdzor.sh: line 276: [: too many arguments
NOW COMPILE DYNAMICO
NOW COMPILE ICOSA_LMDZ
./compile_icolmdzor.sh: line 328: [: -ge: unary operator expected
gcm suffix = _144x142x79_phylmd_para_mem_orch.e
NOW COMPILE LMDZ REGULAR LAT-LON MODE. Resolution = 144x142x79
Move gcm.e executable to modipsl/bin
ERROR gcm_144x142x79_phylmd_para_mem_orch.e executable does not exist.
THERE IS A PROBLEM IN LMDZ REGULAR LATLON COMPILATION - STOP
For some reason, the svnversion
is stopped being found
if [ $reg_only = no ] && [ $ce0l_only = no ]; then
cd $modipsl/modeles/LMDZ
# Compile LMDZ as library to couple to DYNAMICO
echo; echo "NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO"
echo >> $outfile ; echo " NOW COMPILE LMDZ FOR COUPLING TO DYNAMICO" >> $outfile
# Retrieve the final svn release number, needed for radiative code suffix of executable
lmdzsvn=`svnversion . | egrep -o "[0-9]+" | awk 'NR==1'`
...
While it works being at the beginning of the script.
Edited by Patryk Kiepas