forked from ECP-WarpX/WarpX
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add cmake option for pulsar * remove unused var * add CI compilation * eol * explicit amrex space, use literals in namepsace
- Loading branch information
1 parent
48d0e4a
commit 3b8b35b
Showing
7 changed files
with
79 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -76,6 +76,21 @@ jobs: | |
PYWARPX_LIB_DIR=$PWD/build_sp/lib python3 -m pip wheel . | ||
python3 -m pip install *.whl | ||
cmake -S . -B build_pulsar \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DWarpX_COMPUTE=CUDA \ | ||
-DWarpX_EB=OFF \ | ||
-DWarpX_LIB=OFF \ | ||
-DAMReX_CUDA_ARCH=6.0 \ | ||
-DWarpX_OPENPMD=OFF \ | ||
-DWarpX_openpmd_internal=OFF \ | ||
-DWarpX_PRECISION=DOUBLE \ | ||
-DWarpX_PSATD=OFF \ | ||
-DPULSAR=ON \ | ||
-DAMReX_CUDA_ERROR_CROSS_EXECUTION_SPACE_CALL=ON \ | ||
-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON | ||
cmake --build build_sp -j 2 | ||
# make sure legacy build system continues to build, i.e., that we don't forget | ||
# to add new .cpp files | ||
build_nvcc_gnumake: | ||
|
@@ -108,6 +123,7 @@ jobs: | |
git clone https://github.com/AMReX-Codes/amrex.git ../amrex | ||
cd amrex && git checkout --detach 843a7dff266273a0f5b7b9f6cc9233a278f41fe1 && cd - | ||
make COMP=gcc QED=FALSE USE_MPI=TRUE USE_GPU=TRUE USE_OMP=FALSE USE_PSATD=TRUE USE_CCACHE=TRUE -j 2 | ||
make COMP=gcc QED=FALSE USE_OPENPMD=FALSE USE_MPI=TRUE USE_GPU=TRUE USE_OMP=FALSE USE_PSATD=FALSE PULSAR=TRUE USE_CCACHE=TRUE -j 2 | ||
build_nvhpc21-11-nvcc: | ||
name: [email protected] NVCC/NVC++ Release [tests] | ||
|
@@ -165,6 +181,20 @@ jobs: | |
-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON | ||
cmake --build build -j 2 | ||
cmake -S . -B build_pulsar \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DWarpX_COMPUTE=CUDA \ | ||
-DWarpX_EB=OFF \ | ||
-DWarpX_LIB=ON \ | ||
-DAMReX_CUDA_ARCH=8.0 \ | ||
-DWarpX_OPENPMD=OFF \ | ||
-DWarpX_PSATD=OFF \ | ||
-DPULSAR=ON \ | ||
-DAMReX_CUDA_ERROR_CROSS_EXECUTION_SPACE_CALL=ON \ | ||
-DAMReX_CUDA_ERROR_CAPTURE_THIS=ON | ||
cmake --build build -j 2 | ||
# work-around for mpi4py 3.1.1 build system issue with using | ||
# a GNU-built Python executable with non-GNU Python modules | ||
# https://github.com/mpi4py/mpi4py/issues/114 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters