Skip to content

Commit 6d4cfd5

Browse files
authored
Update "models/parflow_pdaf" to v3.14.1-pdaf (#123)
- Updating `parflow_pdaf` to current Parflow master - HPSCTerrSys/parflow#9 - HPSCTerrSys/parflow#10 - HPSCTerrSys/parflow#11 - BuildPDAFModel: Add `-lstdc++` - at least for now: don't use UMPIRE and SUNDIALS
1 parent f0d9a21 commit 6d4cfd5

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

.gitmodules

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[submodule "models/parflow_pdaf"]
1010
path = models/parflow_pdaf
1111
url = https://github.com/HPSCTerrSys/parflow
12-
branch = tsmp-pdaf-patched-openmp-flag-fix
12+
branch = v3.14.1-pdaf
1313
[submodule "models/pdaf"]
1414
path = models/pdaf
1515
url = https://github.com/HPSCTerrSys/pdaf.git

cmake/BuildPDAFMODEL.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ if(DEFINED PARFLOW_SRC)
100100
# GPU
101101
# list(APPEND PDAF_LIBS "-L${CMAKE_INSTALL_PREFIX}/rmm/lib -lstdc++ -lcudart -lrmm -lnvToolsExt")
102102
list(APPEND PDAF_LIBS "-L${HYPRE_ROOT}/lib -lHYPRE")
103-
list(APPEND PDAF_LIBS "-L/lib64 -lslurm")
103+
list(APPEND PDAF_LIBS "-L/lib64 -lslurm -lstdc++")
104104
endif()
105105

106106
# Join list of libraries

cmake/BuildParFlow.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ else()
6161
endif()
6262

6363
# Enable Umpire if exists
64-
if (DEFINED ENV{UMPIRE_ROOT})
64+
if (DEFINED ENV{UMPIRE_ROOT} AND NOT ${PDAF})
6565
set(PF_UMPIRE_FLAG "-DUMPIRE_ROOT=$ENV{UMPIRE_ROOT}")
6666
endif()
6767

6868
# Enable SUNDIALS if exists
69-
if (DEFINED ENV{SUNDIALS_ROOT})
69+
if (DEFINED ENV{SUNDIALS_ROOT} AND NOT ${PDAF})
7070
set(PF_SUNDIALS_FLAG "-DSUNDIALS_ROOT=$ENV{SUNDIALS_ROOT}")
7171
endif()
7272

models/parflow_pdaf

Submodule parflow_pdaf updated 1218 files

0 commit comments

Comments
 (0)