aboutsummaryrefslogtreecommitdiffstats
path: root/math/blacs/files
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2003-05-05 10:06:21 +0800
committermaho <maho@FreeBSD.org>2003-05-05 10:06:21 +0800
commitfb0ad4a97add789c3959ddce55c645a96b3dc550 (patch)
tree379af3a6cbc5b394abd6c2a573305e0d9ea1fb2b /math/blacs/files
parent85792b6531c5555dd1fbf39449b04003fdc2a11e (diff)
downloadfreebsd-ports-fb0ad4a97add789c3959ddce55c645a96b3dc550.tar.gz
freebsd-ports-fb0ad4a97add789c3959ddce55c645a96b3dc550.tar.zst
freebsd-ports-fb0ad4a97add789c3959ddce55c645a96b3dc550.zip
The BLACS (Basic Linear Algebra Communication Subprograms; using MPI)
PR: 40521
Diffstat (limited to 'math/blacs/files')
-rw-r--r--math/blacs/files/patch-Bmake.inc64
1 files changed, 64 insertions, 0 deletions
diff --git a/math/blacs/files/patch-Bmake.inc b/math/blacs/files/patch-Bmake.inc
new file mode 100644
index 000000000000..4c69d97146ed
--- /dev/null
+++ b/math/blacs/files/patch-Bmake.inc
@@ -0,0 +1,64 @@
+--- Bmake.inc.orig Mon May 5 10:53:00 2003
++++ Bmake.inc Mon May 5 10:58:38 2003
+@@ -13,7 +13,7 @@
+ # -----------------------------
+ # The top level BLACS directory
+ # -----------------------------
+- BTOPdir = $(HOME)/BLACS
++ BTOPdir = @WRKSRC@
+
+ # ---------------------------------------------------------------------------
+ # The communication library your BLACS have been written for.
+@@ -32,14 +32,14 @@
+ # -------------------------------------------------------------
+ # The platform identifier to suffix to the end of library names
+ # -------------------------------------------------------------
+- PLAT = LINUX
++ PLAT = FreeBSD
+
+ # ----------------------------------------------------------
+ # Name and location of the BLACS library. See section 2 for
+ # details on BLACS debug level (BLACSDBGLVL).
+ # ----------------------------------------------------------
+ BLACSdir = $(BTOPdir)/LIB
+- BLACSDBGLVL = 0
++ BLACSDBGLVL = @DEBUG_LEVEL@
+ BLACSFINIT = $(BLACSdir)/blacsF77init_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
+ BLACSCINIT = $(BLACSdir)/blacsCinit_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
+ BLACSLIB = $(BLACSdir)/blacs_$(COMMLIB)-$(PLAT)-$(BLACSDBGLVL).a
+@@ -47,10 +47,10 @@
+ # -------------------------------------
+ # Name and location of the MPI library.
+ # -------------------------------------
+- MPIdir = /usr/local/mpich
++ MPIdir = @PREFIX@/mpich
+ MPILIBdir = $(MPIdir)/lib/
+ MPIINCdir = $(MPIdir)/include
+- MPILIB = $(MPILIBdir)/libmpich.a
++ MPILIB = $(MPILIBdir)/libmpich.a $(MPILIBdir)/libpmpich.a
+
+ # -------------------------------------
+ # All libraries required by the tester.
+@@ -195,16 +195,15 @@
+ # optimization. This is the F77NO_OPTFLAG. The usage of the remaining
+ # macros should be obvious from the names.
+ #=============================================================================
+- F77 = g77
+- F77NO_OPTFLAGS =
+- F77FLAGS = $(F77NO_OPTFLAGS) -O
+- F77LOADER = $(F77)
++ F77 = @F77@
++ F77NO_OPTFLAGS = @F77EXTRAFLAGS@
++ F77FLAGS = @FFLAGS@
++ F77LOADER = @F77@
+ F77LOADFLAGS =
+- CC = gcc
+- CCFLAGS = -O4
++ CC = @CC@
++ CCFLAGS = @CFLAGS@
+ CCLOADER = $(CC)
+ CCLOADFLAGS =
+-
+ # --------------------------------------------------------------------------
+ # The archiver and the flag(s) to use when building an archive (library).
+ # Also the ranlib routine. If your system has no ranlib, set RANLIB = echo.