File: 3.9

package info (click to toggle)
modules 5.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 22,996 kB
  • sloc: exp: 79,667; sh: 6,142; tcl: 5,895; makefile: 1,478; ansic: 474; python: 272; csh: 202; perl: 47; ruby: 44; lisp: 13
file content (30 lines) | stat: -rw-r--r-- 950 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#%Module
set name wrf
set version 3.9

conflict $name

# source common definitions
source [file dirname $ModulesCurrentModulefile]/../.common

# builds available for following compiler and get selected one
set buildcompiler [availForBuildModule compiler intel/17 intel/15 gcc/4.8 gcc/8 pgi/18]

# builds available for following mpi and get selecled one
set buildmpi [availForBuildModule mpi openmpi/2.0 intelmpi/17]

# builds available for following lib and get selected one
set buildjasper [availForBuildModule jasper jasper/1.900]
# serial IO-libs only
prereq flavor/netcdf/serial_hdf5
set buildnetcdf [availForBuildModule netcdf netcdf/4.6]
# serial IO-libs only
prereq flavor/netcdf-fortran/serial_hdf5
set buildnetcdffortran [availForBuildModule netcdf-fortran netcdf-fortran/4.4]

# compute installation path based on selected toolchain and flavors
set prefix [getInstallPrefix]


# set software environment
append-path PATH $prefix/WRFV3/main