aboutsummaryrefslogtreecommitdiffstats
path: root/math/blacs/files
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2006-07-24 09:42:21 +0800
committermaho <maho@FreeBSD.org>2006-07-24 09:42:21 +0800
commit80fb1ea3cbb0cd0a40107111aa5c4e15fbe8381a (patch)
treec4b241cff78430e384b6dd67ab14ff111af64e60 /math/blacs/files
parent0520076a0a899e49799d4d0893ac0e68045cfb88 (diff)
downloadfreebsd-ports-gnome-80fb1ea3cbb0cd0a40107111aa5c4e15fbe8381a.tar.gz
freebsd-ports-gnome-80fb1ea3cbb0cd0a40107111aa5c4e15fbe8381a.tar.zst
freebsd-ports-gnome-80fb1ea3cbb0cd0a40107111aa5c4e15fbe8381a.zip
Switch to MPICH2.
PR: 100755, 100756 Submitted by: thierry
Diffstat (limited to 'math/blacs/files')
-rw-r--r--math/blacs/files/patch-Bmake.inc4
-rw-r--r--math/blacs/files/pkg-message.in12
2 files changed, 9 insertions, 7 deletions
diff --git a/math/blacs/files/patch-Bmake.inc b/math/blacs/files/patch-Bmake.inc
index 4c69d97146ed..1b6f547a9a87 100644
--- a/math/blacs/files/patch-Bmake.inc
+++ b/math/blacs/files/patch-Bmake.inc
@@ -31,11 +31,11 @@
# Name and location of the MPI library.
# -------------------------------------
- MPIdir = /usr/local/mpich
-+ MPIdir = @PREFIX@/mpich
++ MPIdir = @LOCALBASE@/mpich2
MPILIBdir = $(MPIdir)/lib/
MPIINCdir = $(MPIdir)/include
- MPILIB = $(MPILIBdir)/libmpich.a
-+ MPILIB = $(MPILIBdir)/libmpich.a $(MPILIBdir)/libpmpich.a
++ MPILIB = $(MPILIBdir)/libmpich.a
# -------------------------------------
# All libraries required by the tester.
diff --git a/math/blacs/files/pkg-message.in b/math/blacs/files/pkg-message.in
index 31b7200a8542..fff4dfef90dc 100644
--- a/math/blacs/files/pkg-message.in
+++ b/math/blacs/files/pkg-message.in
@@ -1,12 +1,14 @@
*********************************************************************
Please test your blacs installation
- Test programs are located at /usr/local/share/BLACS/TESTING
+ Test programs are located at %%PREFIX%%/share/BLACS/TESTING
Example:
- % cd /usr/local/share/BLACS/TESTING
- % /usr/local/mpich/bin/mpirun -np 4 xCbtest_MPI-FreeBSD
- % /usr/local/mpich/bin/mpirun -np 4 xFbtest_MPI-FreeBSD
+ % cd %%PREFIX%%/share/BLACS/TESTING
+ % %%LOCALBASE%%/mpich2/bin/mpd &
+ % %%LOCALBASE%%/mpich2/bin/mpirun -np 4 ./xCbtest_MPI-FreeBSD
+ % %%LOCALBASE%%/mpich2/bin/mpirun -np 4 ./xFbtest_MPI-FreeBSD
+ % %%LOCALBASE%%/mpich2/bin/mpdallexit
You can change -np 4 to any number to meet your local environment.
-See files at /usr/local/share/doc/blacs for detail.
+See files at %%DOCSDIR%% for detail.
*********************************************************************