marc run scripts now link against ACML (AMD Core Math Library) to enable use of BLAS routines
ACML has certainly to be installed first (currently on msuws1 only) and is included for this purpose
This commit is contained in:
parent
874d5067c7
commit
bf2082a15b
Binary file not shown.
|
@ -0,0 +1,5 @@
|
|||
Install the AMD Core Math Library
|
||||
|
||||
1. untar the tgz file to a local directory
|
||||
2. run the install script, use standard directory for install otherwise run_marc scripts need to be adjusted
|
||||
3. add acml path to LD_LIBRARY_PATH, the best place to do so is: /etc/csh.cshrc.local and/or /etc/bash.bashrc.local
|
|
@ -1817,6 +1817,8 @@ fi
|
|||
#
|
||||
# user subroutine used
|
||||
#
|
||||
# add BLAS options for linking (taken from ACML, AMD CORE MATH LIBRARY)
|
||||
AMD_BLAS=" -L /opt/acml4.4.0/ifort64_mp/lib -lacml_mp"
|
||||
|
||||
if test "$user"
|
||||
then
|
||||
|
@ -2768,6 +2770,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3058,6 +3061,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3347,6 +3351,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
|
|
@ -1817,6 +1817,9 @@ fi
|
|||
#
|
||||
# user subroutine used
|
||||
#
|
||||
# add BLAS options for linking (taken from ACML, AMD CORE MATH LIBRARY)
|
||||
AMD_BLAS=" -L /opt/acml4.4.0/ifort64_mp/lib -lacml_mp"
|
||||
|
||||
|
||||
if test "$user"
|
||||
then
|
||||
|
@ -2768,6 +2771,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3058,6 +3062,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3347,6 +3352,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
|
|
@ -1817,8 +1817,8 @@ fi
|
|||
#
|
||||
# user subroutine used
|
||||
#
|
||||
# add OpenMP option for linking
|
||||
OPENMP="-openmp"
|
||||
# add BLAS options for linking (taken from ACML, AMD CORE MATH LIBRARY)
|
||||
AMD_BLAS=" -L /opt/acml4.4.0/ifort64_mp/lib -lacml_mp"
|
||||
|
||||
if test "$user"
|
||||
then
|
||||
|
@ -2770,7 +2770,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$OPENMP \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3061,7 +3061,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$OPENMP \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
@ -3351,7 +3351,7 @@ then
|
|||
$TKLIBS \
|
||||
$MRCLIBS \
|
||||
$METISLIBS \
|
||||
$OPENMP \
|
||||
$AMD_BLAS \
|
||||
$SYSLIBS || \
|
||||
{
|
||||
echo "$0: link failed for ${user:+$userobj }$objs"
|
||||
|
|
Loading…
Reference in New Issue