Unverified Commit d71a1394 authored by Andreas Marek's avatar Andreas Marek
Browse files

Name library differently if build without MPI support

This allows to install several versions of the library in the same
directory
parent fbcf7144
......@@ -863,11 +863,20 @@ mkdir modules
# into "postdeps_FC" and causes linking errors later on.
postdeps_FC=$(echo $postdeps_FC | sed 's/-l //g')
if test x"${enable_openmp}" = x"yes"; then
if test x"${with_mpi}" = x"yes"; then
if test x"${enable_openmp}" = x"yes"; then
SUFFIX="_openmp"
else
else
SUFFIX=""
fi
else
if test x"${enable_openmp}" = x"yes"; then
SUFFIX="_onnode_openmp"
else
SUFFIX="_onenode"
fi
fi
AC_SUBST([SUFFIX])
AC_SUBST([PKG_CONFIG_FILE],[elpa${SUFFIX}-${PACKAGE_VERSION}.pc])
......
......@@ -144,7 +144,7 @@ program test_real2
!endif
! override nblk
! nblk = 2
nblk = 32
! na = 4000
! nev = 1500
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment