Skip to content

Commit 5993ef4

Browse files
authored
Merge pull request #236 from jedwards4b/izumi_update0525
Izumi update0525
2 parents c0f65ac + 910f7a4 commit 5993ef4

File tree

4 files changed

+19
-18
lines changed

4 files changed

+19
-18
lines changed

machines/cmake_macros/nag.cmake

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@ set(MPIFC "mpif90")
2727
set(SCC "gcc")
2828
set(SFC "nagfor")
2929
string(APPEND LDFLAGS " -lpthread")
30-
string(APPEND CONFIG_ARGS " FCLIBS='-Wl,--as-needed,--allow-shlib-undefined -L$(COMPILER_PATH)/lib/NAG_Fortran -lf62rts'")

machines/izumi/config_machines.xml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@
6161
<command name="load">mpi/2.3.3/intel/20.0.1</command>
6262
</modules>
6363
<modules compiler="nag">
64-
<command name="load">compiler/nag/6.2-8.1.0</command>
65-
<command name="load">tool/netcdf/c4.6.1-f4.4.4/nag-gnu/6.2-8.1.0</command>
64+
<command name="load">compiler/nag/7.0</command>
65+
<command name="load">tool/netcdf/c4.7.4-f4.5.2/nag-gnu/7.0-9.3.0</command>
6666
</modules>
6767
<modules compiler="nag" mpilib="mvapich2">
68-
<command name="load">mpi/2.3.3/nag/6.2</command>
68+
<command name="load">mpi/2.3.3/nag/7.0</command>
6969
</modules>
7070
<modules compiler="nag" mpilib="mpi-serial">
7171
<command name="rm">mpi</command>
@@ -88,20 +88,20 @@
8888
</modules>
8989

9090
<modules compiler="nag" mpilib="mvapich2" DEBUG="FALSE">
91-
<command name="load">esmfpkgs/nag/6.2/esmf-8.6.1-ncdfio-mvapich2-O</command>
92-
<command name="load">mvapich2/2.3.3/nag/6.2/pio/2_5_10</command>
91+
<command name="load">esmfpkgs/nag/7.0/esmf-8.8.0-ncdfio-mvapich2-O</command>
92+
<!-- <command name="load">mvapich2/2.3.3/nag/6.2/pio/2_5_10</command> -->
9393
</modules>
9494
<modules compiler="nag" mpilib="mvapich2" DEBUG="TRUE">
95-
<command name="load">esmfpkgs/nag/6.2/esmf-8.6.1-ncdfio-mvapich2-g</command>
96-
<command name="load">mvapich2/2.3.3/nag/6.2/pio/2_5_10</command>
95+
<command name="load">esmfpkgs/nag/7.0/esmf-8.8.0-ncdfio-mvapich2-g</command>
96+
<!-- <command name="load">mvapich2/2.3.3/nag/6.2/pio/2_5_10</command> -->
9797
</modules>
9898
<modules compiler="nag" mpilib="mpi-serial" DEBUG="TRUE">
99-
<command name="load">esmfpkgs/nag/6.2/esmf-8.6.1-ncdfio-mpiuni-g</command>
100-
<command name="load">mpi-serial/2.3.0/nag/6.2/pio/2_5_10</command>
99+
<command name="load">esmfpkgs/nag/7.0/esmf-8.8.0-ncdfio-mpiuni-g</command>
100+
<!-- <command name="load">mpi-serial/2.3.0/nag/6.2/pio/2_5_10</command> -->
101101
</modules>
102102
<modules compiler="nag" mpilib="mpi-serial" DEBUG="FALSE">
103-
<command name="load">esmfpkgs/nag/6.2/esmf-8.6.1-ncdfio-mpiuni-O</command>
104-
<command name="load">mpi-serial/2.3.0/nag/6.2/pio/2_5_10</command>
103+
<command name="load">esmfpkgs/nag/7.0/esmf-8.8.0-ncdfio-mpiuni-O</command>
104+
<!-- <command name="load">mpi-serial/2.3.0/nag/6.2/pio/2_5_10</command> -->
105105
</modules>
106106

107107
<modules compiler="intel" mpilib="mpi-serial" DEBUG="TRUE">
@@ -113,12 +113,12 @@
113113
<command name="load">mpi-serial/2.3.0/intel/20.0.1/pio/2_5_10</command>
114114
</modules>
115115
<modules compiler="intel" mpilib="mvapich2" DEBUG="TRUE">
116-
<command name="load">esmfpkgs/intel/20.0.1/esmf-8.6.1-ncdfio-mvapich2-g</command>
117-
<command name="load">mvapich2/2.3.3/intel/20.0.1/pio/2_5_10</command>
116+
<command name="load">esmfpkgs/intel/20.0.1/esmf-8.8.0-ncdfio-mvapich2-g</command>
117+
<!-- <command name="load">mvapich2/2.3.3/intel/20.0.1/pio/2_5_10</command> -->
118118
</modules>
119119
<modules compiler="intel" mpilib="mvapich2" DEBUG="FALSE">
120-
<command name="load">esmfpkgs/intel/20.0.1/esmf-8.6.1-ncdfio-mvapich2-O</command>
121-
<command name="load">mvapich2/2.3.3/intel/20.0.1/pio/2_5_10</command>
120+
<command name="load">esmfpkgs/intel/20.0.1/esmf-8.8.0-ncdfio-mvapich2-O</command>
121+
<!-- <command name="load">mvapich2/2.3.3/intel/20.0.1/pio/2_5_10</command> -->
122122
</modules>
123123
</module_system>
124124
<environment_variables>

machines/izumi/izumi.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ if (MPILIB STREQUAL mvapich2)
66
set(MPI_LIB_NAME "mpich")
77
endif()
88
set(NETCDF_PATH "$ENV{NETCDF_PATH}")
9-
string(APPEND SLIBS " -L${NETCDF_PATH}/lib -lnetcdff -lnetcdf")
9+
# nf90 symbols seem to be missing from the shared library, explicitly adding the static fortran library solves the issue.
10+
string(APPEND SLIBS " -L${NETCDF_PATH}/lib -lnetcdff -lnetcdf $(NETCDF_PATH)/lib/libnetcdff.a")

machines/izumi/nag_izumi.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
string(APPEND SLIBS " -L${NETCDF_PATH}/lib -lnetcdff -lnetcdf -Wl,-Wl,,-rpath,$(NETCDF_PATH)/lib")
1+
string(APPEND SLIBS " -L${NETCDF_PATH}/lib -lnetcdff -lnetcdf -Wl,-Wl,,-rpath,$(NETCDF_PATH)/lib")
2+
string(APPEND CONFIG_ARGS " FCLIBS='-Wl,--as-needed,--allow-shlib-undefined -L$(COMPILER_PATH)/lib/NAG_Fortran -lf70rts'")

0 commit comments

Comments
 (0)