Ignore:
Timestamp:
02/21/20 18:49:21 (4 years ago)
Author:
jgipsl
Message:

Adaptation for compilation at obelix/LSCE:

  • Change to "bash -l" to otherwise the commande module is not known
  • Add "set +e" to allow error messages from compilation of LMDZ which will be the case when the compilation script tries to use the command module. This is necessary because the compilation script in LMDZ only uses bash (without -l).
  • Note at obelix there will still be error messages due to the command module when the other compilation scripts are launched (makeioipsl_fcm, makexios_fcm, makeorchidee_fcm, makelmdz_fcm). The compilation still works because the arch.env file is sourced from the main script compilation_lmdzor.sh
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CONFIG/UNIFORM/v6/LMDZOR_v6.2/compile_lmdzor.sh

    r4932 r4972  
    1 #!/bin/bash 
     1#!/bin/bash -l 
    22#set -vx 
    33# Default options 
     
    150150fi 
    151151 
    152 echo ./makeioipsl_fcm -$optmode -parallel -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile  
    153      ./makeioipsl_fcm -$optmode -parallel -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile 2>&1 
     152echo ./makeioipsl_fcm -$optmode -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile  
     153     ./makeioipsl_fcm -$optmode -arch ${fcm_arch} -arch_path $arch_path -j 8 $full_flag   >> $outfile 2>&1 
    154154# Test if compiling succeded  
    155155if [[ $? != 0 ]] ; then  
Note: See TracChangeset for help on using the changeset viewer.