Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CAM's nosmp configure option #1464

Merged
merged 1 commit into from
May 5, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion components/cam/cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ my $RUN_REFTOD = `./xmlquery RUN_REFTOD -value`;
my $UTILROOT = `./xmlquery UTILROOT -value`;
my $DOCN_MODE = `./xmlquery DOCN_MODE -value`;
my $COMPILER = `./xmlquery COMPILER -value`; # for chem preprocessor
my $BUILD_THREADED = `./xmlquery BUILD_THREADED -value`;

my @dirs = ("$CIMEROOT/utils/perl5lib");
unshift @INC, @dirs;
Expand Down Expand Up @@ -75,7 +76,7 @@ if ($BUILD_COMPLETE eq 'FALSE') {
my $spmd = '-spmd';
if ($MPILIB eq 'mpi-serial') {$spmd = "-nospmd";}
my $smp = '-smp';
if ($NTHRDS_ATM == 1) {$smp = "-nosmp";}
if (($NTHRDS_ATM == 1) && ($BUILD_THREADED eq 'FALSE')) {$smp = "-nosmp";}

# The ocean component setting is only used by CAM to do attribute matching for
# setting default tuning parameter values. In SOM mode we want to use the same
Expand Down