Skip to content

Commit

Permalink
Handle ensemble names when building the test configs
Browse files Browse the repository at this point in the history
  • Loading branch information
LSchwiebert committed Mar 28, 2024
1 parent 8173bdd commit fbf6c9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions metamake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ done
# This will ensure we don't print empty for ensembles.
if [ -z "$ENSEMBLES" ];
then
ENSEMBLES="NVT NPT GCMC GEMC"
ENSEMBLES="NVT NPT GCMC GEMC "
if (( use_cuda ))
then
ENSEMBLES+=" GPU_NVT GPU_NPT GPU_GCMC GPU_GEMC"
ENSEMBLES+="GPU_NVT GPU_NPT GPU_GCMC GPU_GEMC "
fi
fi

Expand Down Expand Up @@ -192,15 +192,15 @@ else
TESTENS=""
for ENS in $ENSEMBLES
do
TESTENS+="GOMC_$ENS_MPI_Test "
TESTENS+="GOMC_${ENS}_MPI_Test "
done
ENSEMBLES+=$TESTENS
CMAKEARGS+="-DGOMC_GTEST_MPI=on "
else
TESTENS=""
for ENS in $ENSEMBLES
do
TESTENS+="GOMC_$ENS_Test "
TESTENS+="GOMC_${ENS}_Test "
done
ENSEMBLES+=$TESTENS
CMAKEARGS+="-DGOMC_GTEST=on "
Expand Down

0 comments on commit fbf6c9f

Please sign in to comment.