| 1 |
############################################################################ |
| 2 |
# |
| 3 |
# Program: ScaLAPACK |
| 4 |
# |
| 5 |
# Module: SLmake.inc |
| 6 |
# |
| 7 |
# Purpose: Top-level Definitions |
| 8 |
# |
| 9 |
# Creation date: February 15, 2000 |
| 10 |
# |
| 11 |
# Modified: October 13, 2011 |
| 12 |
# |
| 13 |
# Send bug reports, comments or suggestions to [email protected] |
| 14 |
# |
| 15 |
############################################################################ |
| 16 |
# |
| 17 |
# C preprocessor definitions: set CDEFS to one of the following: |
| 18 |
# |
| 19 |
# -DNoChange (fortran subprogram names are lower case without any suffix) |
| 20 |
# -DUpCase (fortran subprogram names are upper case without any suffix) |
| 21 |
# -DAdd_ (fortran subprogram names are lower case with "_" appended) |
| 22 |
|
| 23 |
CDEFS = @CFLAGSF77@ -DNO_IEEE $(USEMPI) |
| 24 |
|
| 25 |
# |
| 26 |
# The fortran and C compilers, loaders, and their flags |
| 27 |
# |
| 28 |
|
| 29 |
FC = @MPIFC@ |
| 30 |
CC = @MPICC@ |
| 31 |
NOOPT = -O0 @CNOFLAGS@ |
| 32 |
|
| 33 |
# FFCS - some return statements without value cause trouble on MacOS |
| 34 |
# FFCS - add path to mpi.h (required for MacOS 10.8 + MacPorts OpenMPI) |
| 35 |
# FFCS - added @CNOFLAGS@ according to upstream changes |
| 36 |
CCFLAGS = -O3 -Wreturn-type @CFLAGS@ -I'@MPI_INC_DIR@' @CNOFLAGS@ -Wno-implicit-function-declaration |
| 37 |
FCFLAGS = -O3 @CNOFLAGS@ @FCFLAGS@ |
| 38 |
FCLOADER = $(FC) |
| 39 |
CCLOADER = $(CC) |
| 40 |
FCLOADFLAGS = $(FCFLAGS) |
| 41 |
CCLOADFLAGS = $(CCFLAGS) |
| 42 |
|
| 43 |
# |
| 44 |
# The archiver and the flag(s) to use when building archive (library) |
| 45 |
# Also the ranlib routine. If your system has no ranlib, set RANLIB = echo |
| 46 |
# |
| 47 |
|
| 48 |
ARCH = @AR@ |
| 49 |
ARCHFLAGS = @ARFLAGS@ |
| 50 |
RANLIB = @RANLIB@ |
| 51 |
|
| 52 |
# |
| 53 |
# The name of the ScaLAPACK library to be created |
| 54 |
# |
| 55 |
|
| 56 |
SCALAPACKLIB = libscalapack.a |
| 57 |
|
| 58 |
# |
| 59 |
# BLAS, LAPACK (and possibly other) libraries needed for linking test programs |
| 60 |
# |
| 61 |
|
| 62 |
BLASLIB = $(FFBLASLIB) |
| 63 |
LAPACKLIB = $(FFLAPACKLIB) |
| 64 |
LIBS = $(LAPACKLIB) $(BLASLIB) |
| 65 |
|
| 66 |
WGET = @WGET@ |
| 67 |
|
| 68 |
.NOTPARRALEL: |