Changeset 4470 for CONFIG/UNIFORM


Ignore:
Timestamp:
06/21/19 09:48:10 (5 years ago)
Author:
jgipsl
Message:

Put back source of arch.env which was removed in [4452].

File:
1 edited

Legend:

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

    r4469 r4470  
    128128if [ -f ARCH/arch-${fcm_arch}.env ] ; then 
    129129    echo >> $outfile 
    130     echo "The file ARCH/arch-${fcm_arch}.env will be used for the compilation of each component" 
     130    echo "The file ARCH/arch-${fcm_arch}.env will now be sourced with modules needed for compilation for all components" 
     131    echo "Note that this new environement might be kept after compilation."  
     132    echo "If this is the case, source again your personal environment after compilation. " 
     133    echo " Personal module list before sourcing of ARCH/arch.env file:"    >> $outfile   
     134    module list   >> $outfile 2>&1  
     135 
     136    # Make a link to this file, to be used also in config.card 
    131137    rm -f ARCH/arch.env 
    132138    ln -s arch-${fcm_arch}.env ARCH/arch.env 
     139 
     140    # Source the file 
     141    source ARCH/arch.env   >> $outfile 2>&1  
     142    echo >> $outfile  
     143    echo " New module list after sourcing of ARCH/arch.env file:"    >> $outfile   
     144    module list   >> $outfile 2>&1  
    133145fi 
    134146 
Note: See TracChangeset for help on using the changeset viewer.