LAPACK  3.5.0
LAPACK: Linear Algebra PACKage
 All Files Functions Typedefs Macros
make.inc.SUN4
Go to the documentation of this file.
1 ####################################################################
2 # LAPACK make include file. #
3 # LAPACK, Version 3.5.0 #
4 # November 2013 #
5 ####################################################################
6 #
7 SHELL = /bin/sh
8 #
9 # Modify the FORTRAN and OPTS definitions to refer to the
10 # compiler and desired compiler options for your machine. NOOPT
11 # refers to the compiler options desired when NO OPTIMIZATION is
12 # selected. Define LOADER and LOADOPTS to refer to the loader and
13 # desired load options for your machine.
14 #
15 FORTRAN = f77
16 OPTS = -dalign -O4 -fast
17 DRVOPTS = $(OPTS)
18 NOOPT =
19 LOADER = f77
20 LOADOPTS = -dalign -O4 -fast
21 #
22 # Timer for the SECOND and DSECND routines
23 #
24 # Default : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME
25 TIMER = EXT_ETIME
26 # For RS6K : SECOND and DSECND will use a call to the EXTERNAL FUNCTION ETIME_
27 # TIMER = EXT_ETIME_
28 # For gfortran compiler: SECOND and DSECND will use a call to the INTERNAL FUNCTION ETIME
29 # TIMER = INT_ETIME
30 # If your Fortran compiler does not provide etime (like Nag Fortran Compiler, etc...)
31 # SECOND and DSECND will use a call to the INTERNAL FUNCTION CPU_TIME
32 # TIMER = INT_CPU_TIME
33 # If neither of this works...you can use the NONE value... In that case, SECOND and DSECND will always return 0
34 # TIMER = NONE
35 #
36 # Configuration LAPACKE: Native C interface to LAPACK
37 # To generate LAPACKE library: type 'make lapackelib'
38 # Configuration file: turned off (default)
39 # Complex types: C99 (default)
40 # Name pattern: mixed case (default)
41 # (64-bit) Data model: LP64 (default)
42 #
43 # CC is the C compiler, normally invoked with options CFLAGS.
44 #
45 CC = cc
46 CFLAGS = -O3
47 #
48 # LAPACKE has also the interface to some routines from tmglib,
49 # if LAPACKE_WITH_TMG is selected, we need to add those routines to LAPACKE
50 #LAPACKE_WITH_TMG = Yes
51 #
52 # The archiver and the flag(s) to use when building archive (library)
53 # If you system has no ranlib, set RANLIB = echo.
54 #
55 ARCH = ar
56 ARCHFLAGS= cr
57 RANLIB = ranlib
58 #
59 # Location of the extended-precision BLAS (XBLAS) Fortran library
60 # used for building and testing extended-precision routines. The
61 # relevant routines will be compiled and XBLAS will be linked only if
62 # USEXBLAS is defined.
63 #
64 # USEXBLAS = Yes
65 XBLASLIB =
66 # XBLASLIB = -lxblas
67 #
68 # The location of the libraries to which you will link. (The
69 # machine-specific, optimized BLAS library should be used whenever
70 # possible.)
71 #
72 #BLASLIB = -lblas
73 BLASLIB = ../../librefblas.a
74 LAPACKLIB = liblapack.a
75 TMGLIB = libtmglib.a
76 LAPACKELIB = liblapacke.a