Debian Codegraph @

Local_settings_examples/local_settings_aix

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 = xlC_r
17
18 # Options for the C++ compiler to produce the optimized library:
19 #
20 # Note that if you use the -q64 option, the environment variable
21 # OBJECT_MODE must be set to 64 for the command ar to work properly
22 #
23 # -------------------------------------------------------------
24 CXXFLAGS = -q64 -D__aix -qrtti -O2 -DNDEBUG
25
26 # Options for the C++ compiler to produce the library for debugging:
27 #
28 # Note that if you use the -q64 option, the environment variable
29 # OBJECT_MODE must be set to 64 for the command ar to work properly
30 #
31 # -----------------------------------------------------------------
32 CXXFLAGS_G = -g -q64 -D__aix -qrtti
33
34 # Path for the include files:
35 # --------------------------
36 INC = -I$(HOME_LORENE)/C++/Include \
37 -I$(HOME_LORENE)/C++/Include_extra
38
39 # Converting archives to random libraries (if required, otherwise just ls)
40 # ------------------------------------------------------------------------
41 RANLIB = ranlib
42
43 # Fortran 77 compiler:
44 # -------------------
45 F77 = xlf90
46
47 # Options for the Fortran 77 compiler to produce the optimized library:
48 #
49 # Note that if you use the -q64 option, the environment variable
50 # OBJECT_MODE must be set to 64 for the command ar to work properly
51 #
52 # ---------------------------------------------------------------------
53 F77FLAGS = -qfixed=128 -q64 -O2
54
55 # Options for the Fortran 77 compiler to produce the library for debugging:
56 #
57 # Note that if you use the -q64 option, the environment variable
58 # OBJECT_MODE must be set to 64 for the command ar to work properly
59 #
60 # ------------------------------------------------------------------------
61 F77FLAGS_G = -g -qfixed=128 -q64
62
63 #===============================#
64 # MAKEDEPEND #
65 #===============================#
66
67 # First line uses the C precompiler (usually called cpp)
68 # if yours does not support the -M option try to figure out
69 # how to output dependencies file, or use makedepend (2nd line)
70 #--------------------------------------------------------------
71 MAKEDEPEND = xlC_r $(CXXFLAGS_G) $(INC) -E -M -MF$(df).d $< > out.txt && rm -f out.txt
72 #MAKEDEPEND = touch $(df).d && makedepend $(INC) -I/usr/vacpp/include-f $(df).d $<
73 DEPDIR = .deps
74
75 #===============================#
76 # SYSTEM LIBRARIES #
77 #===============================#
78
79 # FFT library : FFT991 in Fortran coming with Lorene
80 # FFTW3 library (must be installed separately)
81 # ---------------------------------------------------------------
82 FFT_DIR = FFT991
83
84 # C, C++ library, mathematical library and Fortran library
85 # ---------------------------------------------------------
86 LIB_CXX = -lf -lm
87
88 # Linear Algebra Package (LAPACK) library
89 # ---------------------------------------
90 LIB_LAPACK = -L/afs/rzg/@sys/lib -llapack-essl -lessl
91
92 # Graphical libraries: PGPLOT and X11
93 # -----------------------------------
94 LIB_PGPLOT = -L$(HOME)/pgplot -lcpgplot -lpgplot -lX11
95
96 # GNU scientific library
97 # -----------------------------------
98 LIB_GSL = -lgsl -lgslcblas
99
100
101
102
103
104
105
106
107
108
109
110