Skip to content

Commit

Permalink
fix installation notes for heFFTe
Browse files Browse the repository at this point in the history
  • Loading branch information
ajnonaka committed Jan 18, 2024
1 parent 2297e43 commit e077c34
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions ExampleCodes/heFFTe/Basic/README
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,15 @@ OR

HOST BUILD

>> cmake -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_STANDARD=17 \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_INSTALL_PREFIX=. \ # can choose any installation /path/to/heffte
-DHeffte_ENABLE_FFTW=ON \
-DHeffte_ENABLE_CUDA=OFF \
..
# NOTE: -DCMAKE_INSTALL_PREFIX can be a different location /path/to/DCMAKE_INSTALL_PREFIX

>> cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_STANDARD=17 -DBUILD_SHARED_LIBS=OFF -DCMAKE_INSTALL_PREFIX=. -DHeffte_ENABLE_FFTW=ON -DHeffte_ENABLE_CUDA=OFF ..

>> make -j4
>> make install

>> cd /path/to/amrex-tutorials/ExampleCodes/heFFTe/Basic
>> make -j4 HEFFTE_HOME=/path/to/heffte
>> make -j4 HEFFTE_HOME=/path/to/DCMAKE_INSTALL_PREFIX

NVIDIA/CUDA BUILD

Expand Down

0 comments on commit e077c34

Please sign in to comment.