summaryrefslogtreecommitdiffstats
path: root/math/scalapack/files/SLmake.inc-mpich.diff
blob: f2cc9fae99164f8ae81de337b0d87693376ea0b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
--- SLmake.inc.old	Wed Mar  7 14:01:14 2007
+++ SLmake.inc	Wed Mar  7 14:01:29 2007
@@ -19,26 +19,26 @@
 #  The complete path to the top level of ScaLAPACK directory, usually
 #  $(HOME)/SCALAPACK
 #
-home          = $(HOME)/SCALAPACK
+home          = @WRKSRC@
 #
 #  The platform identifier to suffix to the end of library names
 #
-PLAT          = LINUX
+PLAT          = FreeBSD
 #
 #  BLACS setup.  All version need the debug level (0 or 1),
 #  and the directory where the BLACS libraries are
 #
 BLACSDBGLVL   = 0
-BLACSdir      = /usr/local/lib
+BLACSdir      = @LOCALBASE@/lib
 #
 #  MPI setup; tailor to your system if using MPIBLACS
 #  Will need to comment out these 6 lines if using PVM
 #
 USEMPI        = -DUsingMpiBlacs
-SMPLIB        = /usr/local/mpich-1.2.1/lib/libmpich.a
-BLACSFINIT    = $(BLACSdir)/libmpiblacsF77init-p4.a
-BLACSCINIT    = $(BLACSdir)/libmpiblacsCinit-p4.a
-BLACSLIB      = $(BLACSdir)/libmpiblacs-p4.a
+SMPLIB        = @LOCALBASE@/mpich2/lib/libmpich.a
+BLACSFINIT    = $(BLACSdir)/libblacsf77.a
+BLACSCINIT    = $(BLACSdir)/libblacsc.a
+BLACSLIB      = $(BLACSdir)/libblacs.a
 TESTINGdir    = $(home)/TESTING
 
 #
@@ -67,12 +67,12 @@
 #
 #  The fortran and C compilers, loaders, and their flags
 #
-F77           = g77
+F77           = @F77@
 #F77           = /usr/local/pgi/linux86/bin/pgf77
-CC            = gcc
-NOOPT         = 
-F77FLAGS      =  -O3 $(NOOPT)
-CCFLAGS       = -O4
+CC            = @CC@
+NOOPT         = @NOOPT@
+F77FLAGS      = @FFLAGS@
+CCFLAGS       = @CFLAGS@
 SRCFLAG       =
 F77LOADER     = $(F77)
 CCLOADER      = $(CC)
@@ -82,7 +82,7 @@
 #  C preprocessor defs for compilation 
 #  (-DNoChange, -DAdd_, -DUpCase, or -Df77IsF2C)
 #
-CDEFS         = -Df77IsF2C -DNO_IEEE $(USEMPI)
+CDEFS         = -DAdd_ -DNO_IEEE $(USEMPI)
 #
 #  The archiver and the flag(s) to use when building archive (library)
 #  Also the ranlib routine.  If your system has no ranlib, set RANLIB = echo
@@ -94,7 +94,7 @@
 #  The name of the libraries to be created/linked to
 #
 SCALAPACKLIB  = $(home)/libscalapack.a
-BLASLIB       = /usr/local/lib/libf77blas.a /usr/local/lib/libatlas.a
+BLASLIB       = -L@LOCALBASE@/lib @BLAS@
 #
 PBLIBS        = $(SCALAPACKLIB) $(FBLACSLIB) $(BLASLIB) $(SMPLIB)
 PRLIBS        = $(SCALAPACKLIB) $(CBLACSLIB) $(SMPLIB)
OpenPOWER on IntegriCloud