modules.load 727 B

1234567891011121314151617181920212223242526
  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 releases/2023a
  10. module load netCDF-Fortran netCDF-C++4 ncview CDO
  11. module list
  12. fi
  13. if [[ $(hostname -s) == mb-* || $(hostname -s) == mback* ]]; then
  14. hostname
  15. [[ -z "$GLOBALSCRATCH" ]] && GLOBALSCRATCH="/globalscratch/ucl/elic/$USER"
  16. module purge
  17. module load releases/2018b
  18. module load netCDF-C++4/4.3.0-intel-2018b netCDF-Fortran/4.4.4-intel-2018b
  19. module load UDUNITS/2.2.26-intel-2018b
  20. module load NCO/4.7.9-intel-2018b
  21. module load CDO/1.9.5-intel-2018b
  22. fi