- Timestamp:
- 01/10/23 12:31:58 (16 months ago)
- Location:
- CONFIG/UNIFORM/v6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
CONFIG/UNIFORM/v6/LMDZORINCA_v6.2/compile_lmdzorinca.sh
r6299 r6307 173 173 if [ -f ARCH/arch-${fcm_arch}.env ] ; then 174 174 echo >> $outfile 175 echo "The file ARCH/arch-${fcm_arch}.env will be used for the compilation of each component" 175 echo "The file ARCH/arch-${fcm_arch}.env will now be sourced with modules needed for compilation for all components." 176 echo "Note that this new environement might be kept after compilation." 177 echo "If this is the case, source again your personal environment after compilation. " 178 echo " Personal module list before sourcing of ARCH/arch.env file:" >> $outfile 179 module list >> $outfile 2>&1 180 # Get initial svn version 181 svn_version=$(module list -t | grep subversion) 182 183 # Make a link to this file, to be used also in config.card 176 184 rm -f ARCH/arch.env 177 185 ln -s arch-${fcm_arch}.env ARCH/arch.env 186 187 # Source the file 188 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 193 194 echo >> $outfile 195 echo " New module list after sourcing of ARCH/arch.env file:" >> $outfile 196 module list >> $outfile 2>&1 178 197 fi 179 198 -
CONFIG/UNIFORM/v6/LMDZORINCA_v6.3/compile_lmdzorinca.sh
r5975 r6307 161 161 if [ -f ARCH/arch-${fcm_arch}.env ] ; then 162 162 echo >> $outfile 163 echo "The file ARCH/arch-${fcm_arch}.env will be used for the compilation of each component" 163 echo "The file ARCH/arch-${fcm_arch}.env will now be sourced with modules needed for compilation for all components." 164 echo "Note that this new environement might be kept after compilation." 165 echo "If this is the case, source again your personal environment after compilation. " 166 echo " Personal module list before sourcing of ARCH/arch.env file:" >> $outfile 167 module list >> $outfile 2>&1 168 # Get initial svn version 169 svn_version=$(module list -t | grep subversion) 170 171 # Make a link to this file, to be used also in config.card 164 172 rm -f ARCH/arch.env 165 173 ln -s arch-${fcm_arch}.env ARCH/arch.env 174 175 # Source the file 176 source ARCH/arch.env >> $outfile 2>&1 177 if [ X$svn_version != X ] ; then 178 # Put back initial version of svn 179 module load ${svn_version} 180 fi 181 182 echo >> $outfile 183 echo " New module list after sourcing of ARCH/arch.env file:" >> $outfile 184 module list >> $outfile 2>&1 166 185 fi 167 186
Note: See TracChangeset
for help on using the changeset viewer.