source: CIVL/examples/omp/nas-dc/config/make.def.template@ 1aaefd4

main test-branch
Last change on this file since 1aaefd4 was ea777aa, checked in by Alex Wilton <awilton@…>, 3 years ago

Moved examples, include, build_default.properties, common.xml, and README out from dev.civl.com into the root of the repo.

git-svn-id: svn://vsl.cis.udel.edu/civl/trunk@5704 fb995dde-84ed-4084-dfe6-e5aef3e2452c

  • Property mode set to 100644
File size: 6.3 KB
Line 
1#---------------------------------------------------------------------------
2#
3# SITE- AND/OR PLATFORM-SPECIFIC DEFINITIONS.
4#
5#---------------------------------------------------------------------------
6
7#---------------------------------------------------------------------------
8# Items in this file will need to be changed for each platform.
9#---------------------------------------------------------------------------
10
11#---------------------------------------------------------------------------
12# Parallel Fortran:
13#
14# For CG, EP, FT, MG, LU, SP, BT and UA, which are in Fortran, the following
15# must be defined:
16#
17# F77 - Fortran compiler
18# FFLAGS - Fortran compilation arguments
19# F_INC - any -I arguments required for compiling Fortran
20# FLINK - Fortran linker
21# FLINKFLAGS - Fortran linker arguments
22# F_LIB - any -L and -l arguments required for linking Fortran
23#
24# compilations are done with $(F77) $(F_INC) $(FFLAGS) or
25# $(F77) $(FFLAGS)
26# linking is done with $(FLINK) $(F_LIB) $(FLINKFLAGS)
27#---------------------------------------------------------------------------
28
29#---------------------------------------------------------------------------
30# This is the fortran compiler used for Fortran programs
31#---------------------------------------------------------------------------
32F77 = f77
33# This links fortran programs; usually the same as ${F77}
34FLINK = $(F77)
35
36#---------------------------------------------------------------------------
37# These macros are passed to the linker
38#---------------------------------------------------------------------------
39F_LIB =
40
41#---------------------------------------------------------------------------
42# These macros are passed to the compiler
43#---------------------------------------------------------------------------
44F_INC =
45
46#---------------------------------------------------------------------------
47# Global *compile time* flags for Fortran programs
48#---------------------------------------------------------------------------
49FFLAGS = -O
50
51#---------------------------------------------------------------------------
52# Global *link time* flags. Flags for increasing maximum executable
53# size usually go here.
54#---------------------------------------------------------------------------
55FLINKFLAGS = -O
56
57
58#---------------------------------------------------------------------------
59# Parallel C:
60#
61# For IS and DC, which are in C, the following must be defined:
62#
63# CC - C compiler
64# CFLAGS - C compilation arguments
65# C_INC - any -I arguments required for compiling C
66# CLINK - C linker
67# CLINKFLAGS - C linker flags
68# C_LIB - any -L and -l arguments required for linking C
69#
70# compilations are done with $(CC) $(C_INC) $(CFLAGS) or
71# $(CC) $(CFLAGS)
72# linking is done with $(CLINK) $(C_LIB) $(CLINKFLAGS)
73#---------------------------------------------------------------------------
74
75#---------------------------------------------------------------------------
76# This is the C compiler used for C programs
77#---------------------------------------------------------------------------
78CC = cc
79# This links C programs; usually the same as ${CC}
80CLINK = $(CC)
81
82#---------------------------------------------------------------------------
83# These macros are passed to the linker
84#---------------------------------------------------------------------------
85C_LIB = -lm
86
87#---------------------------------------------------------------------------
88# These macros are passed to the compiler
89#---------------------------------------------------------------------------
90C_INC =
91
92#---------------------------------------------------------------------------
93# Global *compile time* flags for C programs
94# DC inspects the following flags (preceded by "-D"):
95#
96# IN_CORE - computes all views and checksums in main memory (if there is
97# enough memory)
98#
99# VIEW_FILE_OUTPUT - forces DC to write the generated views to disk
100#
101# OPTIMIZATION - turns on some nonstandard DC optimizations
102#
103# _FILE_OFFSET_BITS=64
104# _LARGEFILE64_SOURCE - are standard compiler flags which allow to work with
105# files larger than 2GB.
106#---------------------------------------------------------------------------
107CFLAGS = -O
108
109#---------------------------------------------------------------------------
110# Global *link time* flags. Flags for increasing maximum executable
111# size usually go here.
112#---------------------------------------------------------------------------
113CLINKFLAGS = -O
114
115
116#---------------------------------------------------------------------------
117# Utilities C:
118#
119# This is the C compiler used to compile C utilities. Flags required by
120# this compiler go here also; typically there are few flags required; hence
121# there are no separate macros provided for such flags.
122#---------------------------------------------------------------------------
123UCC = cc
124
125
126#---------------------------------------------------------------------------
127# Destination of executables, relative to subdirs of the main directory. .
128#---------------------------------------------------------------------------
129BINDIR = ../bin
130
131
132#---------------------------------------------------------------------------
133# The variable RAND controls which random number generator
134# is used. It is described in detail in README.install.
135# Use "randi8" unless there is a reason to use another one.
136# Other allowed values are "randi8_safe", "randdp" and "randdpvec"
137#---------------------------------------------------------------------------
138RAND = randi8
139# The following is highly reliable but may be slow:
140# RAND = randdp
141
142
143#---------------------------------------------------------------------------
144# The variable WTIME is the name of the wtime source code module in the
145# common directory.
146# For most machines, use wtime.c
147# For SGI power challenge: use wtime_sgi64.c
148#---------------------------------------------------------------------------
149WTIME = wtime.c
150
151
152#---------------------------------------------------------------------------
153# Enable if either Cray (not Cray-X1) or IBM:
154# (no such flag for most machines: see common/wtime.h)
155# This is used by the C compiler to pass the machine name to common/wtime.h,
156# where the C/Fortran binding interface format is determined
157#---------------------------------------------------------------------------
158# MACHINE = -DCRAY
159# MACHINE = -DIBM
160
161
Note: See TracBrowser for help on using the repository browser.