| 1 |
#%Module |
| 2 |
set name wrf |
| 3 |
set version 3.9 |
| 4 |
|
| 5 |
conflict $name |
| 6 |
|
| 7 |
# source common definitions |
| 8 |
source [file dirname $ModulesCurrentModulefile]/../.common |
| 9 |
|
| 10 |
# builds available for following compiler and get selected one |
| 11 |
set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18] |
| 12 |
|
| 13 |
# builds available for following mpi and get selecled one |
| 14 |
set buildmpi [availForBuildModule mpi openmpi/2.0 intelmpi/17] |
| 15 |
|
| 16 |
# builds available for following lib and get selected one |
| 17 |
set buildjasper [availForBuildModule jasper jasper/1.900] |
| 18 |
# serial IO-libs only |
| 19 |
prereq flavor/netcdf/serial_hdf5 |
| 20 |
set buildnetcdf [availForBuildModule netcdf netcdf/4.6] |
| 21 |
# serial IO-libs only |
| 22 |
prereq flavor/netcdf-fortran/serial_hdf5 |
| 23 |
set buildnetcdffortran [availForBuildModule netcdf-fortran netcdf-fortran/4.4] |
| 24 |
|
| 25 |
# compute installation path based on selected toolchain and flavors |
| 26 |
set prefix [getInstallPrefix] |
| 27 |
|
| 28 |
|
| 29 |
# set software environment |
| 30 |
append-path PATH $prefix/WRFV3/main |