-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathenvWRF_4.1.2_R2.sh
More file actions
executable file
·69 lines (55 loc) · 2.06 KB
/
envWRF_4.1.2_R2.sh
File metadata and controls
executable file
·69 lines (55 loc) · 2.06 KB
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/bash
# *****************************************************************************
#
# FILE: envWRF_4.1.2_R2.sh
# AUTHOR: Matt Masarik (MM)
# VERSION: 0 2019-05-31 MM Base version
#
# PURPOSE: Provides evironment variables and modules required for WRF v4.1.2
# built from script, buildWRF_4.1.2_R2.sh.
#
# USAGE: source ./envWRF_4.1.2_R2.sh
#
# OUTLINE:
# (1) Parameters
# (2) Module loads
# *****************************************************************************
# -----------------------------------------------------------------------------
# (1) Parameters
# -----------------------------------------------------------------------------
########################## USER: CHANGE ME ################################
# Base directory for WRF install
export WRF_BASE_DIR=/home/wrudisill/WRFV4
# WRF version
export WRF_VERSION=4.1.2
##################### DO NOT MODIFY BELOW HERE ############################
# WRF build directories
export SRC_DIR=$WRF_BASE_DIR/SRC
export WRF_BUILD_DIR=$WRF_BASE_DIR/$WRF_VERSION
export WRF_LIBS_DIR=$WRF_BUILD_DIR/WRF_LIBS
export WRF_DIR=$WRF_BASE_DIR/$WRF_VERSION/WRF-$WRF_VERSION
# libary install directories
export JASPER_GRIB2=$WRF_LIBS_DIR/grib2
export JASPERLIB=$JASPER_GRIB2/lib
export JASPERINC=$JASPER_GRIB2/include
# compile flags
export LDFLAGS=-L$JASPERLIB
export CPPFLAGS=-I$JASPERINC
# path variables
export PATH=$JASPER_GRIB2/bin:$PATH
export LD_LIBRARY_PATH=$JASPERLIB:$LD_LIBRARY_PATH
# -----------------------------------------------------------------------------
# (2) Module loads
# -----------------------------------------------------------------------------
# unload any auto-loaded modules
module purge
# load modules
module load shared
module load git/64/2.12.2
module load slurm/17.11.12
module load intel/compiler/64/2018/18.0.5
module load intel/mpi/64/2018/4.274
module load intel/mkl/64/2018/4.274
module load hdf5_18/intel/1.8.18-mpi
module load netcdf/intel/64/4.4.1
module load udunits/intel/64/2.2.24