Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Electronic Structure Library
omm-bundle
Commits
7dff99b0
Commit
7dff99b0
authored
Apr 20, 2017
by
Yann Pouillon
Browse files
Fixed MPI initialization and linear algebra reporting for PspBLAS
parent
f69c8a5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
pspBLAS/configure.ac
View file @
7dff99b0
...
...
@@ -300,11 +300,14 @@ AC_SUBST(psp_linalg_has_scalapack)
#
# Improve defaults using information from EasyBuild
# FIXME: might want to be more flexible with CC and FC in the future
# (currently works because MPI is mandatory)
if test -n "${EBROOTOPENMPI}" -a "${psp_mpi_type}" = "def"; then
CC="mpicc"
FC="mpifort"
if test "${CC}" = "" -a "${FC}" = ""; then
CC="mpicc"
FC="mpifort"
else
MPICC="mpicc"
MPIFC="mpifort"
fi
fi
# Init MPI parameters, possibly setting and/or wrapping compilers
...
...
@@ -421,6 +424,7 @@ if test "${psp_linalg_type}" != "dir"; then
-n "${EBROOTSCALAPACK}" -a \
"${psp_linalg_type}" = "def"; then
AC_MSG_NOTICE([using EasyBuild configuration to set linear algebra libraries])
psp_linalg_type="ebf"
psp_linalg_libs="-lscalapack -lopenblas"
fi
fi
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment