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

#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


#====

my_modules
module load netCDF-Fortran/4.4.4-foss-2016b
