| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/math/scalapack/files/ |
Upload File : |
--- SLmake.inc.example.orig 2019-11-26 20:37:04 UTC +++ SLmake.inc.example @@ -20,17 +20,17 @@ # -DUpCase (fortran subprogram names are upper case without any suffix) # -DAdd_ (fortran subprogram names are lower case with "_" appended) -CDEFS = -DAdd_ +CDEFS = -DAdd_ -DNO_IEEE $(USEMPI) # # The fortran and C compilers, loaders, and their flags # -FC = mpif90 -CC = mpicc -NOOPT = -O0 -FCFLAGS = -O3 -CCFLAGS = -O3 +FC = @MPIF77@ +CC = @MPICC@ +NOOPT = @NOOPT@ +FCFLAGS = @FFLAGS@ +CCFLAGS = @CFLAGS@ FCLOADER = $(FC) CCLOADER = $(CC) FCLOADFLAGS = $(FCFLAGS) @@ -55,6 +55,6 @@ SCALAPACKLIB = libscalapack.a # BLAS, LAPACK (and possibly other) libraries needed for linking test programs # -BLASLIB = -lblas -LAPACKLIB = -llapack +BLASLIB = -L@LOCALBASE@/lib @BLAS@ +LAPACKLIB = -L@LOCALBASE@/lib @LAPACK@ LIBS = $(LAPACKLIB) $(BLASLIB)