Hello George,
Below are the steps used to build ParFlow:
set -eou pipefail
cd $PBS_O_WORKDIR
module load silo/4.12.0
module load hypre/2.33.0
module load python/3.12.2
module load cmake/3
VERSION=3.15.0
export PARFLOW_DIR=$(pwd)/install
mkdir build
cd build
cmake ../parflow-$VERSION -DCMAKE_INSTALL_PREFIX=$PARFLOW_DIR \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_Fortran_COMPILER=ifx \
-DCMAKE_C_COMPILER=icx \
-DCMAKE_CXX_COMPILER=icpx \
-DHYPRE_ROOT=$HYPRE_HOME \
-DPARFLOW_AMPS_LAYER=mpi1 \
-DPARFLOW_AMPS_SEQUENTIAL_IO=true \
-DPARFLOW_ENABLE_TIMING=true \
-DSILO_ROOT=$SILO_HOME \
-DPARFLOW_ENABLE_SILO=ON \
-DPARFLOW_ENABLE_PYTHON=ON \
-DPARFLOW_ENABLE_HYPRE=ON \
-DPARFLOW_HAVE_CLM=ON
make -j4
make install
make test
Some of the tests passed (see example below)
58/437 Testing: default_richards_wells.tcl
58/437 Test: default_richards_wells.tcl
Command: "/uls/8/cmake/3.31.10/bin/cmake" "-DPARFLOW_TEST=default_richards_wells.tcl;1;1;1" "-DPARFLOW_HAVE_OAS3=" "-DPARFLOW_HAVE_SILO=yes" "-DTCL_TCLSH=/bin/tclsh" "-P" "/e/08/mhwsmb01/Support/parflow-3.15.0/cmake/modules/RunParallelTest.cmake"
Directory: /e/08/mhwsmb01/Support/parflow-3.15.0/test/tcl
"default_richards_wells.tcl" start time: Jun 25 15:46 UTC
Output:
----------------------------------------------------------
-- Executing: /bin/tclsh default_richards_wells.tcl 1 1 1
-- Output:
default_richards_wells : PASSED
<end of output>
Test time = 3.38 sec
I have run the test as you suggested, and below is the output:
[xxxxxxxxxxxxxxxxx tcl_scripts]$ tclsh LW_Test.tcl
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
Using process grid (1,1,1)
/uls/8/parflow/3.14.1/bin/parflow: symbol lookup error: /uls/8/parflow/3.14.1/bin/parflow: undefined symbol: for_alloc_allocatable_handle
child process exited abnormally
while executing
"exec sh /uls/8/parflow/3.14.1/bin/run LW 1"
("eval" body line 1)
invoked from within
"eval exec sh $Parflow::PARFLOW_DIR/bin/run $runname $NumProcs"
invoked from within
"if [pfexists Process.Command] {
set command [pfget Process.Command]
puts [format "Using command : %s" [format $command $NumProcs $runname]]
puts [e..."
(procedure "pfrun" line 53)
invoked from within
"pfrun $runname"
(file "LW_Test.tcl" line 517)
Thanks again,