forked from cjcoats/ioapi-3.2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathIOAPI.config.csh
More file actions
executable file
·28 lines (23 loc) · 881 Bytes
/
IOAPI.config.csh
File metadata and controls
executable file
·28 lines (23 loc) · 881 Bytes
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
#!/bin/csh
unsetenv BIN
setenv BIN Linux2_x86_64ifx
#Add MASTERDIR, perhaps the location this file is in?
setenv MASTERDIR YOUR_MASTERDIR
setenv IOAPI_HOME ${MASTERDIR}/ioapi-atmos
setenv IOAPI_BASE $IOAPI_HOME
setenv IOAPILIBS ${IOAPI_HOME}/${BIN}
setenv IOAPIINCD ${IOAPI_HOME}/${BIN}
setenv IOBIN ${IOAPI_HOME}/${BIN}
setenv BASEDIR ${PWD}
setenv INSTALL ${PWD}
setenv LIBINST ${INSTALL}/${BIN}
setenv BININST ${INSTALL}/${BIN}
setenv CPLMODE nocpl
setenv IOAPIDEFS "-DIOAPI_NCF4"
setenv PVMINCL
setenv VERSION '3.2-${CPLMODE}'
setenv NETCDFC ${IOAPI_HOME}/dependencies/netcdfc.4.9.2_intel
setenv NETCDFF ${IOAPI_HOME}/dependencies/netcdff.4.6.1_intel
#libm etc are dynamic system libraries
#setenv NCFLIBS "-L${NETCDFF}/lib -lnetcdff -L${NETCDFC}/lib -lnetcdf -lm -lz -lsz"
setenv NCFLIBS "-L${NETCDFF}/lib -lnetcdff -L${NETCDFC}/lib -lnetcdf"