New package "charm" for the Charm++ parallel programming framework (#1766)

This commit is contained in:
Erik Schnetter
2016-09-22 03:48:00 -04:00
committed by Todd Gamblin
parent 025b779a30
commit 7ad6c35627
2 changed files with 191 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
--- old/src/scripts/configure
+++ new/src/scripts/configure
@@ -3293,10 +3293,16 @@
test_link "whether -lmpi" "ok" "no" "-lmpi"
if test $pass -eq 1
then
add_flag CMK_SYSLIBS='"$CMK_SYSLIBS -lmpi"' "mpi lib"
else
+ test_link "whether -lmpi -lmpi_cxx" "ok" "no" "-lmpi -lmpi_cxx"
+ if test $pass -eq 1
+ then
+ add_flag CMK_SYSLIBS='"$CMK_SYSLIBS -lmpi -lmpi_cxx"' "mpi lib"
+ else
echo "Error: can not find mpi library"
test_finish 1
+ fi
fi
fi
else