Debian Codegraph @

Local_settings_examples/local_settings_irix_fftw3

raw
1 ###############################################################
2 #
3 # Edit the following lines according to your implementation.
4 #
5 # The environment variable HOME_LORENE (root directory for the
6 # Lorene implementation) must be have been already defined.
7 #
8 ###############################################################
9
10 #===============================#
11 # COMPILERS #
12 #===============================#
13
14 # C++ compiler:
15 # ------------
16 CXX = CC
17
18 # Options for the C++ compiler to produce the optimized library:
19 # -------------------------------------------------------------
20 CXXFLAGS = -n32 -mips4 -r12000 -O2 -OPT:Olimit=0 -LANG:std -DNDEBUG \
21 -no_auto_include
22
23 # Options for the C++ compiler to produce the library for debugging:
24 # -----------------------------------------------------------------
25 CXXFLAGS_G = -n32 -g -mips4 -LANG:std -no_auto_include
26
27 # Path for the include files:
28 # --------------------------
29 INC = -I$(HOME_LORENE)/C++/Include -I/usr/include/CC \
30 -I$(HOME_LORENE)/C++/Include_extra -I/Octane/freeware/include
31
32 # Converting archives to random libraries (if required, otherwise just ls)
33 # ------------------------------------------------------------------------
34 RANLIB = ls
35
36 # Fortran 77 compiler:
37 # -------------------
38 F77 = f77
39
40 # Options for the Fortran 77 compiler to produce the optimized library:
41 # ---------------------------------------------------------------------
42 F77FLAGS = -n32 -mips4 -O2 -OPT:Olimit=3500 -extend_source
43
44 # Options for the Fortran 77 compiler to produce the library for debugging:
45 # ------------------------------------------------------------------------
46 F77FLAGS_G = -n32 -g -static -mips4 -O0 -extend_source
47
48 #===============================#
49 # MAKEDEPEND #
50 #===============================#
51
52 # First line uses the C precompiler (usually called cpp)
53 # if yours does not support the -M option try to figure out
54 # how to output dependencies file, or use makedepend (2nd line)
55 #--------------------------------------------------------------
56 MAKEDEPEND = cpp $(CXXFLAGS_G) $(INC) -M >> $(df).d $<
57 #MAKEDEPEND = touch $(df).d && makedepend $(INC) -D_STANDARD_C_PLUS_PLUS -f $(df).d $<
58 DEPDIR = .deps
59
60 #===============================#
61 # SYSTEM LIBRARIES #
62 #===============================#
63
64 # FFT library: FFT991 in Fortran coming with Lorene
65 # FFTW3 library (must be installed separately)
66 # ---------------------------------------------------------------
67 FFT_DIR = FFTW3
68
69 # C, C++ library, mathematical library and Fortran library
70 # ---------------------------------------------------------
71 LIB_CXX = -L/usr/freeware/lib -lfftw3 -lm -lftn
72
73 # Linear Algebra Package (LAPACK) library
74 # ---------------------------------------
75 LIB_LAPACK = -lcomplib.sgimath
76
77 # Graphical libraries: PGPLOT and X11
78 # -----------------------------------
79 LIB_PGPLOT = -L/Octane/freeware/lib -lcpgplot -lpgplot -lX11
80
81 # GNU scientific library
82 # -----------------------------------
83 LIB_GSL = -L/usr/freeware/lib -lgsl -lgslcblas
84
85