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

Fixing scalapack installation on Intel

parent 51dad740
No related branches found
No related tags found
No related merge requests found
......@@ -216,8 +216,8 @@ if [ ! -d "$1/SCALAPACK" ]; then
cd scalapack-2.0.2
mkdir build
cd build
echo "cmake -D CMAKE_EXE_LINKER_FLAGS=-pthread -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../."
cmake -D CMAKE_EXE_LINKER_FLAGS=-pthread -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../.
echo "cmake CMAKE_EXE_LINKER_FLAGS=-lgfortran -D CMAKE_EXE_LINKER_FLAGS=-pthread -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../."
cmake CMAKE_EXE_LINKER_FLAGS=-lgfortran -D CMAKE_EXE_LINKER_FLAGS=-pthread -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_Fortran_FLAGS_RELEASE=-fpic -D MPI_C_COMPILER_FLAGS=-fpic -D MPI_Fortran_COMPILER_FLAGS=-fpic -D CMAKE_C_FLAGS=-fpic -D CMAKE_INSTALL_PREFIX="$1/SCALAPACK" $configure_options_scalapack ../.
make -j $2
if [ $? -eq 0 ]; then
make install
......
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