Skip to content

Commit

Permalink
heffte cuda 8/7
Browse files Browse the repository at this point in the history
  • Loading branch information
djdunning committed Aug 7, 2024
1 parent 2567749 commit a79d87f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .conda/heffte/cuda/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fi
export LD_LIBRARY_PATH="$LD_LIBRARY_PATH $PREFIX/lib"
export LIBRARIES="$LIBRARIES \"-L$PREFIX/lib\""

#-D CMAKE_CUDA_HOST_LINK_LAUNCHER=$CXX \
cmake -D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D BUILD_SHARED_LIBS=ON \
-D CMAKE_INSTALL_PREFIX:PATH=$PREFIX \
Expand All @@ -32,7 +33,6 @@ cmake -D CMAKE_BUILD_TYPE:STRING=RELEASE \
-D CMAKE_CXX_FLAGS="$PATCHED_CXXFLAGS" \
-D MPI_C_COMPILER="$BUILD_PREFIX/bin/mpicc" \
-D MPI_CXX_COMPILER="$BUILD_PREFIX/bin/mpicxx" \
-D CMAKE_CUDA_HOST_LINK_LAUNCHER=$CXX \
-D CMAKE_CUDA_COMPILER=$(which nvcc) \

make install #-j 10 install
Expand Down
8 changes: 4 additions & 4 deletions .conda/heffte/cuda/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ requirements:
build:
- cmake=3.24
- {{ compiler('fortran') }}={{ linux_compiler_version }}
- {{ compiler('c') }}={{ linux_compiler_version }} # [linux]
- {{ compiler('c') }}={{ macos_compiler_version }} # [osx]
- {{ compiler('cxx') }}={{ linux_compiler_version }} # [linux]
- {{ compiler('cxx') }}={{ macos_compiler_version }} # [osx]
#- {{ compiler('c') }}={{ linux_compiler_version }} # [linux]
#- {{ compiler('c') }}={{ macos_compiler_version }} # [osx]
#- {{ compiler('cxx') }}={{ linux_compiler_version }} # [linux]
#- {{ compiler('cxx') }}={{ macos_compiler_version }} # [osx]
- openmpi
- openmpi-mpicxx
- cuda-toolkit={{ cuda_version }}
Expand Down

0 comments on commit a79d87f

Please sign in to comment.