OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
make.inc
Go to the documentation of this file.
1# It is possible to generate a MATLAB or an Octave interface thanks to
2# the Octave MEX file compatibility. Comment/uncomment the lines below
3# depending on whether you want to generate the MATLAB or the Octave
4# interface
5
6# To generate the MATLAB interface uncomment the following line
7# ( the use of -largeArrayDims is necessary to work with sparse
8# matrices since R2006b)
9MEX = /opt/matlab/matlab/bin/mex -g -largeArrayDims
10
11# To generate the Octave interface uncomment the following line
12# MEX = mkoctfile -g --mex
13
14# Main MUMPS_DIR
15MUMPS_DIR = $(HOME)/MUMPS_5.5.1
16
17# Orderings (see main Makefile.inc file from MUMPS)
18LMETISDIR = ${HOME}/parmetis-4.0.3/build/Linux-x86_64/libmetis
19LMETIS = -L$(LMETISDIR) -lmetis
20LPORDDIR = $(MUMPS_DIR)/PORD/lib
21LPORD = -L$(LPORDDIR) -lpord
22LORDERINGS = $(LPORD) $(LMETIS)
23
24# Fortran runtime library
25# Please find out the path and name of your
26# Fortran runtime, examples below:
27# g95:
28# LIBFORT = /usr/lib/libf95.a /usr/lib/libgcc.a
29# Intel:
30# LIBFORT = /opt/intel80/lib/libifcore.a /opt/intel80/lib/libifport.a /opt/intel80/lib/libirc.a
31# PGI:
32# LIBFORT = -L/usr/local/pgi/linux86/5.2/lib -llapack -lblas -lpgf90 -lpgc -lpgf90rtl -lpgftnrtl -lpgf902 -lpgf90_rpm1 -lpghpf2
33# SGI 32-bit
34# LIBFORT = -L/usr/lib32 -lblas -L/usr/lib32/mips4 -lfortran
35# Sun
36# LIBFORT = -L/opt2/SUNWspro7/lib -lsunperf -lfminvai -lfai2 -lfsu -lfmaxvai -lfmaxlai -lfai -lfsumai -lLIBFORT = /usr/local/lib/libgfortran.a
37
38# gfortran
39 LIBFORT = /usr/lib/gcc/x86_64-linux-gnu/4.7/libgfortran.so
40
41# BLAS library:
42# LIBBLAS = -L/usr/lib/atlas -lblas
43# LIBBLAS = -lsunperf -lf77compat
44# LIBBLAS = -lblas
45LIBBLAS = /home/jylexcel/libs_courge/libgoto_opteronp-r1.26.a
46# LIBBLAS = /home/jylexcel/libs_courge/libblas.a # -fPIC missing
47# LIBBLAS = /usr/lib/libblas.so
48
49# extra options passed via mex command
50# Add -DINTSIZE64 if MUMPS was compiled with 64-bit integers (BLAS
51# library should then have 64-bit integers as well)
52OPTC = -g
53