Skip to content
Snippets Groups Projects
Commit 16dd38cc authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing installation of PETSC on linux

parent 39ef8807
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ if [ x"$platform" == x"osx" ]; then
ldflags_petsc=LDFLAGS="-lcurl"
else
sed_command=sed
ldflags_petsc=LDFLAGS="-lcurl"
fi
......@@ -233,7 +234,7 @@ if [ ! -d "$1/SUPERLU_DIST" ]; then
mkdir build
cd build
cmake .. -DCMAKE_C_FLAGS="-fPIC" -DMPI_C_COMPILE_FLAGS="-std=c99" -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a" -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST" -DCMAKE_EXE_LINKER_FLAGS="-L$1/METIS/lib -lmetis" -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a"
cmake .. -DCMAKE_C_FLAGS="-fPIC -std=c99 " -DTPL_BLAS_LIBRARIES="$1/OPENBLAS/lib/libopenblas.a" -DCMAKE_INSTALL_PREFIX="$1/SUPERLU_DIST" -DCMAKE_EXE_LINKER_FLAGS="-L$1/METIS/lib -lmetis" -DTPL_PARMETIS_INCLUDE_DIRS="$1/PARMETIS/include/;$1/METIS/include/" -DTPL_PARMETIS_LIBRARIES="$1/PARMETIS/lib/libparmetis.a"
# Installation for linux
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment