Ignore:
Timestamp:
01/05/23 16:21:41 (18 months ago)
Author:
jgipsl
Message:

Add a quickfix related to the subversion module. If there was a module for subversion loaded in the begining of the compilation, the same module will be loaded after the arch.env file has been sourced. We here suppose that the arch.env file contains a module purge which is currently the case for the arch.env in ARCH folder. This quickfix was done previously in ICOLMDZ configurations by A. Caubel.

Note that for compile_lmdzorinca.sh only an echo was added.

File:
1 edited

Legend:

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

    r6276 r6299  
    178178    echo " Personal module list before sourcing of ARCH/arch.env file:"    >> $outfile   
    179179    module list   >> $outfile 2>&1  
     180    # Get initial svn version 
     181    svn_version=$(module list -t | grep subversion) 
    180182 
    181183    # Make a link to this file, to be used also in config.card 
     
    185187    # Source the file 
    186188    source ARCH/arch.env   >> $outfile 2>&1  
     189    if [ X$svn_version != X ] ; then 
     190        # Put back initial version of svn 
     191        module load ${svn_version} 
     192    fi 
    187193    echo >> $outfile  
    188194    echo " New module list after sourcing of ARCH/arch.env file:"    >> $outfile   
     
    372378# Retrieve the final svn release number, needed for radiative code suffix of executable 
    373379lmdzsvn=`svnversion . | egrep -o "[0-9]+"  | awk 'NR==1'` 
     380echo >> $outfile ; echo "lmdzsvn= $lmdzsvn "   >> $outfile 
    374381 
    375382# Check if the compilation of LMDZ was previsouly interupted prematured.  
Note: See TracChangeset for help on using the changeset viewer.