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/LMDZREPR_v6/compile_lmdzrepr.sh

    r6252 r6299  
    161161    echo " Personal module list before sourcing of ARCH/arch.env file:"    >> $outfile   
    162162    module list   >> $outfile 2>&1  
     163    # Get initial svn version 
     164    svn_version=$(module list -t | grep subversion) 
    163165 
    164166    # Make a link to this file, to be used also in config.card 
     
    168170    # Source the file 
    169171    source ARCH/arch.env   >> $outfile 2>&1  
     172    if [ X$svn_version != X ] ; then 
     173        # Put back initial version of svn 
     174        module load ${svn_version} 
     175    fi 
    170176    echo >> $outfile  
    171177    echo " New module list after sourcing of ARCH/arch.env file:"    >> $outfile   
     
    252258# Retrieve the final svn release number, needed for radiative code suffix of executable 
    253259lmdzsvn=`svnversion . | egrep -o "[0-9]+"  | awk 'NR==1'` 
     260echo >> $outfile ; echo "lmdzsvn= $lmdzsvn "   >> $outfile 
    254261 
    255262# Check if the compilation of LMDZ was previsouly interupted prematured.  
Note: See TracChangeset for help on using the changeset viewer.