modules.load 771 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. [[ -z "$USER" ]] && echo "!! USER variable not set !!"
  3. echo " "
  4. echo "Plasim environment"
  5. if [ `hostname` = "coriolis" ]; then
  6. [[ -z "$GLOBALSCRATCH" ]] && GLOBALSCRATCH="/cofast/$USER"
  7. echo "Coriolis"
  8. module purge
  9. module load netCDF-Fortran/4.5.3-gompi-2021b netCDF-C++4/4.3.1-gompi-2021b ncview/2.1.8-gompi-2021b CDO/1.9.10-gompi-2021b
  10. module list
  11. fi
  12. if [[ $(hostname -s) == mb-* || $(hostname -s) == mback* ]]; then
  13. hostname
  14. [[ -z "$GLOBALSCRATCH" ]] && GLOBALSCRATCH="/globalscratch/ucl/elic/$USER"
  15. module purge
  16. module load releases/2018b
  17. module load netCDF-C++4/4.3.0-intel-2018b netCDF-Fortran/4.4.4-intel-2018b
  18. module load UDUNITS/2.2.26-intel-2018b
  19. module load NCO/4.7.9-intel-2018b
  20. module load CDO/1.9.5-intel-2018b
  21. fi