Skip to content
Snippets Groups Projects
Commit de80af0a authored by Henning Glawe's avatar Henning Glawe
Browse files

remove superflous '-L' option: lmod-spack already sets $LIBRARY_PATH, and the...

remove superflous '-L' option: lmod-spack already sets $LIBRARY_PATH, and the configure wrapper generates RPATH for linking
parent a2f592c2
No related branches found
No related tags found
1 merge request!31conf-wrappers: set LIBS_ELPA FCFLAGS_ELPA
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
......@@ -13,7 +13,7 @@ export LDFLAGS=`echo ${LIBRARY_PATH:+:$LIBRARY_PATH} | sed -e 's/:/ -Wl,-rpath=/
# HG: help configure to find the ELPA F90 modules and libraries
try_mpsd_elpa_version=`expr match $MPSD_ELPA_ROOT '.*/elpa-\([0-9.]\+\)'`
[ -n "$try_mpsd_elpa_version" ] && export FCFLAGS_ELPA="-I$MPSD_ELPA_ROOT/include/elpa_openmp-$try_mpsd_elpa_version/modules"
export LIBS_ELPA="-L$MPSD_ELPA_ROOT/lib -lelpa_openmp"
export LIBS_ELPA="-lelpa_openmp"
unset try_mpsd_elpa_version
# HG: always keep options in the order listed by ``configure --help``
......
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