Skip to content

Commit

Permalink
Disable threading see #14
Browse files Browse the repository at this point in the history
  • Loading branch information
ekluzek committed Oct 5, 2021
1 parent 286bc12 commit 7b40319
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cime_config/buildlib
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ def _main_func():
gmake_j = case.get_value("GMAKE_J")
gmake = case.get_value("GMAKE")
mach = case.get_value("MACH")
nthrds = case.get_value("LND_NTHRDS")

clm_config_opts = case.get_value("CLM_CONFIG_OPTS")
if "clm4_5" in clm_config_opts:
Expand All @@ -41,6 +42,9 @@ def _main_func():
else:
expect(False, "CLM_CONFIG_OPTS must support either clm4_5 or clm5_0 physics")

if ( nthrds > 1 ):
expect(False, "LND_NTHRDS must be 1 as threading isn't implemented (see issue #14)" )

#-------------------------------------------------------
# create Filepath file for clm4_5 or clm5_0
#-------------------------------------------------------
Expand Down

0 comments on commit 7b40319

Please sign in to comment.