summaryrefslogtreecommitdiff
path: root/math/scalapack/files
diff options
context:
space:
mode:
Diffstat (limited to 'math/scalapack/files')
-rw-r--r--math/scalapack/files/patch-SLmake.inc6
-rw-r--r--math/scalapack/files/pkg-message.in20
2 files changed, 15 insertions, 11 deletions
diff --git a/math/scalapack/files/patch-SLmake.inc b/math/scalapack/files/patch-SLmake.inc
index 3cb679a9e177..b484fadc4a89 100644
--- a/math/scalapack/files/patch-SLmake.inc
+++ b/math/scalapack/files/patch-SLmake.inc
@@ -17,7 +17,7 @@
#
BLACSDBGLVL = 0
-BLACSdir = /usr/local/lib
-+BLACSdir = @PREFIX@/lib
++BLACSdir = @LOCALBASE@/lib
#
# MPI setup; tailor to your system if using MPIBLACS
# Will need to comment out these 6 lines if using PVM
@@ -27,7 +27,7 @@
-BLACSFINIT = $(BLACSdir)/libmpiblacsF77init-p4.a
-BLACSCINIT = $(BLACSdir)/libmpiblacsCinit-p4.a
-BLACSLIB = $(BLACSdir)/libmpiblacs-p4.a
-+SMPLIB = @PREFIX@/mpich/lib/libmpich.a @PREFIX@/mpich/lib/libpmpich.a
++SMPLIB = @LOCALBASE@/mpich2/lib/libmpich.a
+BLACSFINIT = $(BLACSdir)/libblacsf77.a
+BLACSCINIT = $(BLACSdir)/libblacsc.a
+BLACSLIB = $(BLACSdir)/libblacs.a
@@ -56,7 +56,7 @@
#
SCALAPACKLIB = $(home)/libscalapack.a
-BLASLIB = /usr/local/lib/libf77blas.a /usr/local/lib/libatlas.a
-+BLASLIB = -L@PREFIX@/lib @BLAS%
++BLASLIB = -L@LOCALBASE@/lib @BLAS@
#
PBLIBS = $(SCALAPACKLIB) $(FBLACSLIB) $(BLASLIB) $(SMPLIB)
PRLIBS = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)
diff --git a/math/scalapack/files/pkg-message.in b/math/scalapack/files/pkg-message.in
index ca405055f55a..61261cc6fa64 100644
--- a/math/scalapack/files/pkg-message.in
+++ b/math/scalapack/files/pkg-message.in
@@ -1,21 +1,25 @@
***********************************************************************
Please test your scalapack installation
- Example programs are located at /usr/local/share/SCALAPACK/examples
+ Example programs are located at %%EXAMPLESDIR%%
- Test programs are located at /usr/local/share/SCALAPACK/TESTING
+ Test programs are located at %%DATADIR%%/TESTING
Example:
- % cd /usr/local/share/SCALAPACK/TESTING
- % /usr/local/mpich/bin/mpirun -np 4 xcbrd
- % /usr/local/mpich/bin/mpirun -np 4 xcdblu
+ % cd %%DATADIR%%/TESTING
+ % %%LOCALBASE%%/mpich2/bin/mpd &
+ % %%LOCALBASE%%/mpich2/bin/mpirun -np 4 ./xcbrd
+ % %%LOCALBASE%%/mpich2/bin/mpirun -np 4 ./xcdblu
etc., etc. ...
to perform all the tests,
- % cd /usr/local/share/SCALAPACK/TESTING
+ % cd %%DATADIR%%/TESTING
+ % %%LOCALBASE%%/mpich2/bin/mpd &
% csh
% foreach i (x*)
- ? /usr/local/mpich/bin/mpirun -np 4 $i >& ~/$i.log
+ ? %%LOCALBASE%%/mpich2/bin/mpirun -np 4 ./$i >& ~/$i.log
? end
+ % %%LOCALBASE%%/mpich2/bin/mpdallexit
+
You can change -np 4 to any number to meet your environment.
-See files at /usr/local/share/doc/scalapack for detail.
+See files at %%DOCSDIR%% for detail.
**********************************************************************