OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
make.inc
Go to the documentation of this file.
1####################################################################
2# LAPACK make include file. #
3####################################################################
4
5SHELL = /bin/sh
6
7# CC is the C compiler, normally invoked with options CFLAGS.
8#
9CC = gcc
10CFLAGS = -O3
11
12# Modify the FC and FFLAGS definitions to the desired compiler
13# and desired compiler options for your machine. NOOPT refers to
14# the compiler options desired when NO OPTIMIZATION is selected.
15#
16# Note: During a regular execution, LAPACK might create NaN and Inf
17# and handle these quantities appropriately. As a consequence, one
18# should not compile LAPACK with flags such as -ffpe-trap=overflow.
19#
20FC = gfortran
21FFLAGS = -O2 -frecursive
22FFLAGS_DRV = $(FFLAGS)
23FFLAGS_NOOPT = -O0 -frecursive
24
25# Define LDFLAGS to the desired linker options for your machine.
26#
27LDFLAGS =
28
29# The archiver and the flag(s) to use when building an archive
30# (library). If your system has no ranlib, set RANLIB = echo.
31#
32AR = ar
33ARFLAGS = cr
34RANLIB = ranlib
35
36# Timer for the SECOND and DSECND routines
37#
38# Default: SECOND and DSECND will use a call to the
39# EXTERNAL FUNCTION ETIME
40#TIMER = EXT_ETIME
41# For RS6K: SECOND and DSECND will use a call to the
42# EXTERNAL FUNCTION ETIME_
43#TIMER = EXT_ETIME_
44# For gfortran compiler: SECOND and DSECND will use a call to the
45# INTERNAL FUNCTION ETIME
46TIMER = INT_ETIME
47# If your Fortran compiler does not provide etime (like Nag Fortran
48# Compiler, etc...) SECOND and DSECND will use a call to the
49# INTERNAL FUNCTION CPU_TIME
50#TIMER = INT_CPU_TIME
51# If none of these work, you can use the NONE value.
52# In that case, SECOND and DSECND will always return 0.
53#TIMER = NONE
54
55# Uncomment the following line to include deprecated routines in
56# the LAPACK library.
57#
58#BUILD_DEPRECATED = Yes
59
60# LAPACKE has the interface to some routines from tmglib.
61# If LAPACKE_WITH_TMG is defined, add those routines to LAPACKE.
62#
63#LAPACKE_WITH_TMG = Yes
64
65# Location of the extended-precision BLAS (XBLAS) Fortran library
66# used for building and testing extended-precision routines. The
67# relevant routines will be compiled and XBLAS will be linked only
68# if USEXBLAS is defined.
69#
70#USEXBLAS = Yes
71#XBLASLIB = -lxblas
72
73# The location of the libraries to which you will link. (The
74# machine-specific, optimized BLAS library should be used whenever
75# possible.)
76#
77BLASLIB = $(TOPSRCDIR)/librefblas.a
78CBLASLIB = $(TOPSRCDIR)/libcblas.a
79LAPACKLIB = $(TOPSRCDIR)/liblapack.a
80TMGLIB = $(TOPSRCDIR)/libtmglib.a
81LAPACKELIB = $(TOPSRCDIR)/liblapacke.a
82
83# DOCUMENTATION DIRECTORY
84# If you generate html pages (make html), documentation will be placed in $(DOCSDIR)/explore-html
85# If you generate man pages (make man), documentation will be placed in $(DOCSDIR)/man
86DOCSDIR = $(TOPSRCDIR)/DOCS