Skip to content

Commit

Permalink
update because fftw hard to find
Browse files Browse the repository at this point in the history
  • Loading branch information
leonfoks committed Jun 6, 2024
1 parent aa69855 commit edc894f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cmake_build_python_bindings.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh

module load gcc/13.2.0
module load cmake/3.21.4
module load fftw3/3.3.8
module list
#module load gcc/13.2.0
#module load cmake/3.21.4
#module load fftw3/3.3.8
#module list

# Add the PETSc pkg-config path to the pkg-config search path
export PKG_CONFIG_PATH=$PETSC_DIR/lib/pkgconfig:$PKG_CONFIG_PATH
Expand All @@ -19,6 +19,6 @@ export INSTALL_DIR=$PWD/install-gnu
mkdir $BUILD_DIR
cd $BUILD_DIR

cmake -Wno-dev -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_BUILD_TYPE=Release -DWITH_MPI=OFF -DWITH_NETCDF=OFF -DWITH_GDAL=OFF -DWITH_PETSC=OFF ..
cmake -Wno-dev -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_BUILD_TYPE=Release -DWITH_MPI=OFF -DWITH_NETCDF=OFF -DWITH_GDAL=OFF -DWITH_PETSC=OFF -DCMAKE_PREFIX_PATH=$FFTW_ROOT ..
cmake --build . --target python-bindings
cmake --install . --prefix python/gatdaem1d

0 comments on commit edc894f

Please sign in to comment.