Skip to content

Commit

Permalink
Add Kokkos OpenMP to build
Browse files Browse the repository at this point in the history
  • Loading branch information
anjohan committed May 5, 2022
1 parent 457d6ce commit c8b0738
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
cd lammps_dir/lammps/
mkdir build/
cd build/
cmake ../cmake -DCMAKE_PREFIX_PATH=`python -c 'import torch;print(torch.utils.cmake_prefix_path)'` -DMKL_INCLUDE_DIR=`python -c "import sysconfig;from pathlib import Path;print(Path(sysconfig.get_paths()[\"include\"]).parent)"`
cmake ../cmake -DPKG_KOKKOS=ON -DKokkos_ENABLE_OPENMP=ON -DCMAKE_PREFIX_PATH=`python -c 'import torch;print(torch.utils.cmake_prefix_path)'` -DMKL_INCLUDE_DIR=`python -c "import sysconfig;from pathlib import Path;print(Path(sysconfig.get_paths()[\"include\"]).parent)"`
make -j$(nproc)
echo "LAMMPS in dir"
pwd
Expand Down

0 comments on commit c8b0738

Please sign in to comment.