File: Make.linux

package info (click to toggle)
umfpack 4.4-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,904 kB
  • ctags: 2,328
  • sloc: ansic: 31,039; fortran: 1,648; makefile: 1,292; sed: 162; csh: 96
file content (52 lines) | stat: -rw-r--r-- 1,679 bytes parent folder | download | duplicates (2)
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
#------------------------------------------------------------------------------
# Linux configuration (for both AMD and UMFPACK)
#------------------------------------------------------------------------------

# You may also need to add -lunwind -lcprts to the LIB= string,
# if you use the Intel compiler and the Fortran BLAS.

# Using GNU gcc and f77 compilers:
  CC = gcc
  CFLAGS = -O3 -fPIC

# Using Intel's icc and ifc compilers:
# F77 = ifc
# CC = icc
# CFLAGS = -ansi -O3 -ip -tpp7 -xW -vec_report0
# CFLAGS = -pg -g

# Using gcc compiler with picky tests
# CC = gcc
# CFLAGS = -ansi -pedantic -W -Wall -Wno-parentheses -Wshadow -Wcast-align -Winline -Wstrict-prototypes -Wno-unknown-pragmas -O3 -fPIC

# for gcc and gcov:
# CC = gcc
# CFLAGS = -pg -ftest-coverage -fprofile-arcs

# Running splint
# CC = - splint
# CFLAGS = -weak -fixedformalarray -badflag -fileextensions +relaxtypes +posixlib -unrecog

#------------------------------------------------------------------------------
# BLAS options (for UMFPACK only)
#------------------------------------------------------------------------------

# 1: with no BLAS (this will be slow)
# CONFIG = -DNBLAS
# LIB = -lm

# 2: with the ATLAS C-BLAS (http://www.netlib.org/atlas).
# CONFIG = -DCBLAS -I../ATLAS/include
# LIB = -lcblas -latlas -lm

# 3: with Fortran interface to the ATLAS BLAS
# CONFIG =
# LIB = -lf77blas -latlas -lfrtbegin -lg2c -lm

# 4: with Fortran interface to the BLAS, and Goto's BLAS
  CONFIG =
  LIB = -lgoto -lxerbla -lfrtbegin -lg2c -lm

# 5: with Fortran interface to the BLAS, and Goto's BLAS, and no divide-by-zero
# CONFIG = -DNO_DIVIDE_BY_ZERO
# LIB = -lgoto -lxerbla -lfrtbegin -lg2c -lm