Skip to content
Snippets Groups Projects
Commit 52377d2c authored by Juan Escobar's avatar Juan Escobar
Browse files

Juan 08/01/2024:profile_mesonh.ihm, Move Check CDFPERSO/OASISPERSO before Variable/Module load

parent 96917f6e
No related branches found
No related tags found
No related merge requests found
...@@ -176,9 +176,7 @@ export VARTTY=\`tty\` ...@@ -176,9 +176,7 @@ export VARTTY=\`tty\`
# #
[ ! -f \${SRC_MESONH}/conf/conf_\${ARCH} ] || . \${SRC_MESONH}/conf/conf_\${ARCH} [ ! -f \${SRC_MESONH}/conf/conf_\${ARCH} ] || . \${SRC_MESONH}/conf/conf_\${ARCH}
# #
# Optional Environnement variable/Module Env # Check 'CDFPERSO'
#
${MNHENV}
# #
if [ \${VER_CDF} = 'CDFPERSO' ] ; then if [ \${VER_CDF} = 'CDFPERSO' ] ; then
if [ -z \$NETCDF_CONFIG ] ; then if [ -z \$NETCDF_CONFIG ] ; then
...@@ -186,6 +184,9 @@ echo 'WARNING : You chose VER_CDF=CDFPERSO, please set NETCDF_CONFIG environment ...@@ -186,6 +184,9 @@ echo 'WARNING : You chose VER_CDF=CDFPERSO, please set NETCDF_CONFIG environment
fi fi
fi fi
# #
#
# Check 'OASISPERSO'
#
if [ -n "${VER_OASIS}" ] ; then if [ -n "${VER_OASIS}" ] ; then
if [ \${VER_OASIS} = 'OASISPERSO' ] ; then if [ \${VER_OASIS} = 'OASISPERSO' ] ; then
if [ -z \$OASISDIR ] ; then if [ -z \$OASISDIR ] ; then
...@@ -193,3 +194,7 @@ echo 'WARNING : You chose VER_OASIS=OASISPERSO, please set OASISDIR environment ...@@ -193,3 +194,7 @@ echo 'WARNING : You chose VER_OASIS=OASISPERSO, please set OASISDIR environment
fi fi
fi fi
fi fi
#
# Optional Environnement variable/Module Env
#
${MNHENV}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment