Changeset 4627 for CONFIG/UNIFORM


Ignore:
Timestamp:
08/01/19 16:45:53 (5 years ago)
Author:
jgipsl
Message:

Only style issues, no corrections.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/IPSLCM6.2/compile_ipslcm6.sh

    r4626 r4627  
    205205 
    206206## 2.2 Compile oasis3-mct 
    207 oasis_dir=$modipsl/oasis3-mct 
     207cd $modipsl/oasis3-mct/util/make_dir 
    208208echo; echo "NOW COMPILE OASIS3-MCT" 
    209209echo >> $outfile ; echo " NOW COMPILE OASIS3-MCT"   >> $outfile 
    210 cd $oasis_dir/util/make_dir  ; cp $mysrc_path/OASIS3-MCT/make_${fcm_arch} make.inc  ; make -f TopMakefileOasis3 ; 
     210cp $mysrc_path/OASIS3-MCT/make_${fcm_arch} make.inc 
     211 
     212echo make -f TopMakefileOasis3 >> $outfile 
     213     make -f TopMakefileOasis3 >> $outfile 2>&1 
     214 
    211215 
    212216## 2.3 Compile xios 
     
    284288 
    285289if [ $full_nemo == y ] ; then 
     290   # To make a full compilation, first clean all what has been produced during previous compilation 
    286291   echo ./makenemo -m ${fcm_arch} -n $cfg_wrk clean   >> $outfile 
    287    echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"   >> $outfile 
    288292   echo >> $outfile 
    289293   ./makenemo -m ${fcm_arch} -n $cfg_wrk clean  >> $outfile 2>&1 
    290    ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"  >> $outfile 2>&1 
    291 else 
    292    echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"   >> $outfile 
    293    echo >> $outfile 
    294    ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"  >> $outfile 2>&1 
    295 fi 
     294fi 
     295echo ./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"   >> $outfile 
     296echo >> $outfile 
     297./makenemo -m ${fcm_arch} -n $cfg_wrk -j16 add_key "$addkeys"  del_key "$delkeys"  >> $outfile 2>&1 
     298 
    296299 
    297300# Test if compiling finished 
     
    301304fi 
    302305 
    303 echo 
    304 echo "copy nemo executable to modipsl/bin" 
     306echo >> $outfile 
     307echo "Copy nemo executable to modipsl/bin" >> $outfile 
     308echo ls -lrt $nemo_root/$cfg_wrk/BLD/bin   >> $outfile 
     309ls -lrt $nemo_root/$cfg_wrk/BLD/bin  >> $outfile 
     310echo >> $outfile 
     311 
    305312if [ -f $nemo_root/$cfg_wrk/BLD/bin/nemo.exe ]                       ;  then cp $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa     ; fi 
    306313if [ -f $nemo_root/$cfg_wrk/BLD/bin/nemo.exe ] && [ ${esmco2} == y ] ;  then cp $nemo_root/$cfg_wrk/BLD/bin/nemo.exe $modipsl/bin/opa.esm ; fi 
     
    355362 
    356363# Move executables to modipsl/bin folder 
    357 echo "Move gcm.e and ce0l executable to modipsl/bin" 
     364echo >> $outfile 
     365echo "Move gcm.e and ce0l executable to modipsl/bin" >> $outfile 
     366echo ls -lrt $modipsl/modeles/LMDZ/bin   >> $outfile 
     367ls -lrt $modipsl/modeles/LMDZ/bin  >> $outfile 
     368echo >> $outfile 
     369 
    358370if [ -f $modipsl/modeles/LMDZ/bin/gcm${suffix}.e ] ;  then mv $modipsl/modeles/LMDZ/bin/gcm${suffix}.e $modipsl/bin/gcm_${resol_atm}_${optmode}.e ; fi 
    359371if [ -f $modipsl/modeles/LMDZ/bin/ce0l${suffix}.e ] ;  then mv $modipsl/modeles/LMDZ/bin/ce0l${suffix}.e $modipsl/bin/ce0l_${resol_atm}_${optmode}.e ; fi 
     
    362374echo >>$outfile ; echo "ALL COMPILING FINISHED" >> $outfile 
    363375echo; echo "ALL COMPILING FINISHED" 
     376echo ls -lrt modipsl/bin 
     377ls -lrt $modipsl/bin 
    364378 
    365379date 
     380 
    366381exit 
    367382 
Note: See TracChangeset for help on using the changeset viewer.