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

Build issues #507

Open
wants to merge 57 commits into
base: development
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
791783d
Improve build process and minor build-related code updates
LSchwiebert Apr 26, 2023
bf4a10b
Correct EOL
LSchwiebert Apr 26, 2023
199a8eb
Fix a minor memory leak
LSchwiebert May 5, 2023
03a6064
Make sure the correct abs() function is used with floats
LSchwiebert May 5, 2023
48fa348
Update for recent code changes
LSchwiebert May 9, 2023
23e1de0
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 9, 2023
9490665
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 9, 2023
e31e3a9
Add support for Clang on Linux
LSchwiebert May 17, 2023
0d1facd
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert May 22, 2023
7fa1e74
Restore to development version
LSchwiebert May 23, 2023
bff8c90
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 14, 2023
b9554ad
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 27, 2023
5f941bb
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jun 27, 2023
c28d871
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Jul 25, 2023
414a644
Fixes the gcc compiler issues but not linker
LSchwiebert Aug 12, 2023
b43e807
Final changes to resolve GPU linking issues
LSchwiebert Aug 14, 2023
d3342d8
Update GOMC Website in Readme file
LSchwiebert Aug 14, 2023
523b9f3
Update web link for CMake
LSchwiebert Aug 14, 2023
2bc9c6c
Remove unused use_tidy variable. Just set CMake flag
LSchwiebert Aug 14, 2023
6b28702
Clean up README.md per Codacy style
LSchwiebert Aug 14, 2023
4f9d4fa
README.md clean up per Codacy Style guidelines
LSchwiebert Aug 14, 2023
dde4892
README.md clean up per Codacy Style guidelines
LSchwiebert Aug 14, 2023
3f21ee9
Change OpenMP pragma for compatibility with old Intel compilers
LSchwiebert Aug 27, 2023
1587a19
Change OpenMP pragma for compatibility with old Intel compilers
LSchwiebert Aug 27, 2023
fa1b2f0
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Sep 4, 2023
1bb817f
Merge branch 'development' into build-issues
LSchwiebert Sep 10, 2023
c23a326
Update CMakeLists.txt for handling clang-tidy
LSchwiebert Sep 19, 2023
6d61334
Merge branch 'build-issues' of https://github.com/GOMC-WSU/GOMC into …
LSchwiebert Sep 19, 2023
8d16bf0
Remove Endian Tests since Endian.h is no longer used in GOMC
LSchwiebert Sep 21, 2023
411ed83
Standardize guards on header files. Add some missing ones.
LSchwiebert Sep 21, 2023
11d44cd
Print error message if CUDA does not support this compiler
LSchwiebert Sep 21, 2023
850848f
Build test executables only for specified ensembles
LSchwiebert Sep 21, 2023
823c6e4
Warning instead Status message for compiler incompatible with CUDA
LSchwiebert Sep 22, 2023
b62c64b
Standardize guards on header files
LSchwiebert Sep 22, 2023
17ee84d
Fix syntax error in CMakeLists.txt for warning message
LSchwiebert Sep 22, 2023
d3da126
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Sep 26, 2023
28a4664
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Nov 28, 2023
b690cb7
Remove link time optimization from the build process
LSchwiebert Jan 8, 2024
118e917
Remove Intel LLVM Compiler detection until CUDA supports it
LSchwiebert Mar 28, 2024
0bc3977
Clean up some #define statements and comments on the #endif for heade…
LSchwiebert Mar 28, 2024
8173bdd
Resolve Codacy-detected error for builds with test
LSchwiebert Mar 28, 2024
fbf6c9f
Handle ensemble names when building the test configs
LSchwiebert Mar 28, 2024
0a97b18
Build CUDA code for GPU executables
LSchwiebert Jul 8, 2024
55726de
Don't include GPU calls in CPU builds
LSchwiebert Jul 8, 2024
afe876d
Don't call RotationMatrix::UniformRandom with prng() calls as functio…
LSchwiebert Jul 10, 2024
c99f658
Remove old UniformRandom function calls
LSchwiebert Jul 10, 2024
d3dd0e7
Fix typo in comment
LSchwiebert Nov 19, 2024
aab3c02
Add entries to print newer OpenMP versions
LSchwiebert Nov 23, 2024
e6073f4
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Nov 27, 2024
69b4ebc
Patch to handle older OpenMP versions
LSchwiebert Nov 30, 2024
64eba6e
Updates to build on Windows with Visual Studio
LSchwiebert Nov 30, 2024
64f8f80
Clarify Windows build
LSchwiebert Dec 1, 2024
713622a
Updates to resolve MSVC warnings and improve MSVC build flags
LSchwiebert Dec 3, 2024
f451add
Pass more forcefield parameters to the GPU for consistent values
LSchwiebert Dec 13, 2024
57181f0
Reformat source files using clang format
LSchwiebert Dec 13, 2024
2017878
Merge branch 'development' of https://github.com/GOMC-WSU/GOMC into b…
LSchwiebert Dec 13, 2024
0e3f3e6
Update for latest development branch patches
LSchwiebert Dec 19, 2024
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
Prev Previous commit
Next Next commit
Build test executables only for specified ensembles
  • Loading branch information
LSchwiebert committed Sep 21, 2023
commit 850848f43840cb0d57edad92b055409c8af1cdc5
55 changes: 23 additions & 32 deletions metamake.sh
Original file line number Diff line number Diff line change
@@ -134,6 +134,17 @@ while [ "$#" -ne 0 ]; do
shift
done

# If user hasn't specified any ensemble, cmake automatically compiles all ensembles.
# This will ensure we don't print empty for ensembles.
if [ -z "$ENSEMBLES" ];
then
ENSEMBLES="NVT NPT GCMC GEMC"
if (( use_cuda ))
then
ENSEMBLES+=" GPU_NVT GPU_NPT GPU_GCMC GPU_GEMC"
fi
fi

mkdir -p bin
cd bin

@@ -176,46 +187,26 @@ if (( !use_gtest )); then
else
if (( use_mpi ));
then
ENSEMBLES+="GOMC_NVT_MPI_Test "
ENSEMBLES+="GOMC_NPT_MPI_Test "
ENSEMBLES+="GOMC_GCMC_MPI_Test "
ENSEMBLES+="GOMC_GEMC_MPI_Test "
if (( use_cuda ))
then
ENSEMBLES+="GOMC_GPU_NVT_MPI_Test "
ENSEMBLES+="GOMC_GPU_NPT_MPI_Test "
ENSEMBLES+="GOMC_GPU_GCMC_MPI_Test "
ENSEMBLES+="GOMC_GPU_GEMC_MPI_Test "
fi
TESTENS=""
for ENS in $ENSEMBLES
do
TESTENS+="GOMC_"$ENS"_MPI_Test "
done
ENSEMBLES+=$TESTENS
CMAKEARGS+="-DGOMC_GTEST_MPI=on "
else
ENSEMBLES+="GOMC_NVT_Test "
ENSEMBLES+="GOMC_NPT_Test "
ENSEMBLES+="GOMC_GCMC_Test "
ENSEMBLES+="GOMC_GEMC_Test "
if (( use_cuda ))
then
ENSEMBLES+="GOMC_GPU_NVT_Test "
ENSEMBLES+="GOMC_GPU_NPT_Test "
ENSEMBLES+="GOMC_GPU_GCMC_Test "
ENSEMBLES+="GOMC_GPU_GEMC_Test "
fi
TESTENS=""
for ENS in $ENSEMBLES
do
TESTENS+="GOMC_"$ENS"_Test "
done
ENSEMBLES+=$TESTENS
CMAKEARGS+="-DGOMC_GTEST=on "
fi
export CC="$(which gcc 2> /dev/null)"
export CXX="$(which g++ 2> /dev/null)"
fi

# If user hasn't specified any ensemble, cmake automatically compiles all ensembles.
# This will ensure we don't print empty for ensembles.
if [ -z "$ENSEMBLES" ];
then
ENSEMBLES="NVT NPT GCMC GEMC"
if (( use_cuda ))
then
ENSEMBLES+=" GPU_NVT GPU_NPT GPU_GCMC GPU_GEMC"
fi
fi
echo "Ensembles To Compile: $ENSEMBLES"

if (( use_profiler )); then