Skip to content

Commit

Permalink
use gfortran_ROOT
Browse files Browse the repository at this point in the history
  • Loading branch information
aerorahul committed Mar 18, 2024
1 parent 290abc8 commit 85be0ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion modulefiles/rdbfmsua_wcoss2.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ load(pathJoin("bacio", bacio_ver))
load(pathJoin("w3emc", w3emc_ver))
load(pathJoin("gempak", gempak_ver))

setenv("gfortran_ROOT", "//opt/cray/pe/gcc/10.3.0/snos")
setenv("gfortran_ROOT", "/opt/cray/pe/gcc/10.3.0/snos")

whatis("Description: GFS utilities environment on WCOSS2 with Intel Compilers")
4 changes: 1 addition & 3 deletions src/rdbfmsua.fd/makefile.hera.intel
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
FC = ifort

GFORTRAN=/apps/gcc/6.2.0/lib64

FFLAGS = -g -traceback -I${GEMPAK}/include -I${OS_INC}
LIBS = ${BUFR_LIB4} \
${GEMLIB}/gemlib.a \
${GEMLIB}/appl.a \
${GEMLIB}/syslib.a \
${GEMLIB}/cgemlib.a \
${GEMLIB}/bridge.a \
-L${GFORTRAN} -lgfortran
-L${gfrortran_ROOT}/lib64 -lgfortran
4 changes: 1 addition & 3 deletions src/rdbfmsua.fd/makefile.wcoss2.intel
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
FC = ftn

GFORTRAN=/opt/cray/pe/gcc/10.3.0/snos/lib64/libgfortran.a

FFLAGS = -g -traceback -I${GEMINC} -I${OS_INC}
LIBS = ${BUFR_LIB4} \
-L${GEMOLB} -lgemlib -lappl -lsyslib -lcgemlib \
${GEMOLB}/libbridge.a \
${GFORTRAN}
${gfortran_ROOT}/lib64/libgfortran.a

0 comments on commit 85be0ac

Please sign in to comment.