Repository: parflow/parflow (language: python)

Issue:
Support use of PF-CLM without PF
Support use of PF-CLM without PF.   Possibly move PF-CLM to a separate git repo and use subrepo or add CMake option to build just PF-CLM.




Discussion / hints:

Fix patch:
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4bb6d93eb..bb45fc071 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -485,6 +485,10 @@ if ( ${PARFLOW_HAVE_CLM} )
   # Make true value match autoconf value; for some backwards compatiblity
   set(PARFLOW_HAVE_CLM "yes")
   set(HAVE_CLM ${PARFLOW_HAVE_CLM})
+
+  if( ${PARFLOW_HAVE_CLM} )
+    add_subdirectory (pfsimulator/clm)
+  endif( ${PARFLOW_HAVE_CLM} )
 endif ( ${PARFLOW_HAVE_CLM} )
 
 option(PARFLOW_HAVE_ECLM "Compile with eCLM (experimental)" "OFF")
@@ -558,6 +562,11 @@ if ( ${PARFLOW_ENABLE_SIMULATOR} )
   add_subdirectory (pfsimulator)
   add_subdirectory (test)
   add_subdirectory (examples)
+
+  #-----------------------------------------------------------------------------
+  # Install general helper scripts
+  #-----------------------------------------------------------------------------
+  install(PROGRAMS bin/pfrun DESTINATION bin)
 endif ()
 
 option(PARFLOW_ENABLE_TOOLS "Enable building of the Parflow tools" "True")
@@ -576,13 +585,6 @@ if (PARFLOW_ENABLE_LATEX)
 endif()
 
 install (DIRECTORY ${CMAKE_BINARY_DIR}/config/ DESTINATION config)
-# Test script for docker builds
-install(PROGRAMS bin/parflow-docker-test DESTINATION bin)
-
-#-----------------------------------------------------------------------------
-# Install general helper scripts
-#-----------------------------------------------------------------------------
-install(PROGRAMS bin/pfrun DESTINATION bin)
 
 #-----------------------------------------------------------------------------
 # Doxygen
diff --git a/pfsimulator/CMakeLists.txt b/pfsimulator/CMakeLists.txt
index a3bd9e6b8..afc2efd2f 100644
--- a/pfsimulator/CMakeLists.txt
+++ b/pfsimulator/CMakeLists.txt
@@ -12,7 +12,3 @@ add_subdirectory (kinsol)
 add_subdirectory (parflow_lib)
 add_subdirectory (parflow_exe)
 add_subdirectory (third_party)
-
-if( ${PARFLOW_HAVE_CLM} )
-  add_subdirectory (clm)
-endif( ${PARFLOW_HAVE_CLM} )


Test patch:
diff --git a/docker-compose.test.yml b/docker-compose.test.yml
deleted file mode 100644
index 728a7c8c1..000000000
--- a/docker-compose.test.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-version: '3.3'
-
-services:
-
-  sut:
-    image: ${DOCKER_REPO}
-    entrypoint: /bin/bash /usr/local/bin/parflow-docker-test
-
-