############################################################################ # # Program: SuperLU_MT # # Module: make.inc # # Purpose: Top-level Definitions # # Creation date: October 2, 1995 # # Modified: February 4, 1997 Version 1.0 # November 15, 1997 Version 1.1 # September 1, 1999 Version 2.0 # ############################################################################ # # The machine (platform) identifier to append to the library names # PLAT = _sp # # The name of the libraries to be created/linked to # TMGLIB = libtmglib.a SUPERLULIB = libsuperlu_mt$(PLAT).a # # If you don't have ESSL, you can use the following blaslib instead: # BLASLIB = -lblas -lxlf -lxlf90 # which may be slower than ESSL # BLASDEF = -DUSE_VENDOR_BLAS BLASLIB = -lessl MATHLIB = -lm MPLIB = -lpthread # The archiver and the flag(s) to use when building archive (library) # If your system has no ranlib, set RANLIB = echo. # ARCH = ar ARCHFLAGS = cr RANLIB = ranlib ############################################################################ # Definitions used by CPP: PREDEFS = -D__PTHREAD # CC = xlc CFLAGS = -qarch=pwr3 -qalias=allptrs $(PREDEFS) -O3 # # There are a few files that should NOT be optimized, which appear in the # end of SRC/Makefile, taking the flag $(NOOPTS) # NOOPTS should be defined to explicitly turn off any optimization. NOOPTS = -O0 ############################################################################ FORTRAN = xlf FFLAGS = -O3 -qarch=pwr3 ############################################################################ LOADER = xlc LOADOPTS = -bmaxdata:0x80000000 ############################################################################ # # C preprocessor defs for compilation for the Fortran interface # (-DNoChange, -DAdd_, -DAdd__, or -DUpCase) # CDEFS = -DNoChange