set_flags=$-

#Disabling u and e flags
set +ue

#module purge
#module load intel
#module load impi
#module load MKL
#module load NETCDF/4.4.1.1

module load mpi/openmpi/4.1.6

#If u and e flags were set, set it again

#if [ $(echo $set_flags | grep -c "u" ) -eq 1 ];then
#   set -u
#fi
#if [ $(echo $set_flags | grep -c "e" ) -eq 1 ];then
#   set -e
#fi


#====
module --force purge
#module load EasyBuild/2022a
#module load mpi/openmpi/4.1.3
#module load netCDF-Fortran/4.6.0-gompi-2022a
#module load ScaLAPACK/2.2.0-gompi-2022a-fb
#module load FFTW.MPI/3.3.10-gompi-2022a

module --force purge
module load EasyBuild/2023a
module load netCDF-Fortran/4.6.1-gompi-2023a 
module load Perl-bundle-CPAN/5.36.1-GCCcore-12.3.0
module load ScaLAPACK/2.2.0-gompi-2023a-fb 
module load FFTW.MPI/3.3.10-gompi-2023a

