source: CIVL/examples/omp/nas-dc/config/NAS.samples/make.def_omni@ 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.0 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 and BT, which are in Fortran, the following must
15# 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 = ompf77
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 = -xO4 -fast
50#FFLAGS = -O3
51# FFLAGS = -g
52
53#---------------------------------------------------------------------------
54# Global *link time* flags. Flags for increasing maximum executable
55# size usually go here.
56#---------------------------------------------------------------------------
57FLINKFLAGS = -xO4 -fast
58#FLINKFLAGS = -O3
59#FLINKFLAGS =
60
61
62#---------------------------------------------------------------------------
63# Parallel C:
64#
65# For IS, which is in C, the following must be defined:
66#
67# CC - C compiler
68# CFLAGS - C compilation arguments
69# C_INC - any -I arguments required for compiling C
70# CLINK - C linker
71# CLINKFLAGS - C linker flags
72# C_LIB - any -L and -l arguments required for linking C
73#
74# compilations are done with $(CC) $(C_INC) $(CFLAGS) or
75# $(CC) $(CFLAGS)
76# linking is done with $(CLINK) $(C_LIB) $(CLINKFLAGS)
77#---------------------------------------------------------------------------
78
79#---------------------------------------------------------------------------
80# This is the C compiler used for C programs
81#---------------------------------------------------------------------------
82CC = ompcc
83# This links C programs; usually the same as ${CC}
84CLINK = $(CC)
85
86#---------------------------------------------------------------------------
87# These macros are passed to the linker
88#---------------------------------------------------------------------------
89C_LIB =
90
91#---------------------------------------------------------------------------
92# These macros are passed to the compiler
93#---------------------------------------------------------------------------
94C_INC =
95
96#---------------------------------------------------------------------------
97# Global *compile time* flags for C programs
98#---------------------------------------------------------------------------
99CFLAGS = -xO4 -fast
100#CFLAGS = -O3
101# CFLAGS = -g
102
103#---------------------------------------------------------------------------
104# Global *link time* flags. Flags for increasing maximum executable
105# size usually go here.
106#---------------------------------------------------------------------------
107CLINKFLAGS = -xO4 -fast
108#CLINKFLAGS = -O3
109
110
111#---------------------------------------------------------------------------
112# Utilities C:
113#
114# This is the C compiler used to compile C utilities. Flags required by
115# this compiler go here also; typically there are few flags required; hence
116# there are no separate macros provided for such flags.
117#---------------------------------------------------------------------------
118UCC = cc
119
120
121#---------------------------------------------------------------------------
122# Destination of executables, relative to subdirs of the main directory. .
123#---------------------------------------------------------------------------
124BINDIR = ../bin
125
126
127#---------------------------------------------------------------------------
128# The variable RAND controls which random number generator
129# is used. It is described in detail in README.install.
130# Use "randi8" unless there is a reason to use another one.
131# Other allowed values are "randi8_safe", "randdp" and "randdpvec"
132#---------------------------------------------------------------------------
133RAND = randi8
134# The following is highly reliable but may be slow:
135# RAND = randdp
136
137
138#---------------------------------------------------------------------------
139# The variable WTIME is the name of the wtime source code module in the
140# NPB3.x/common directory.
141# For most machines, use wtime.c
142# For SGI power challenge: use wtime_sgi64.c
143#---------------------------------------------------------------------------
144WTIME = wtime.c
145
146
147#---------------------------------------------------------------------------
148# Enable if either Cray or IBM:
149# (no such flag for most machines: see common/wtime.h)
150# This is used by the C compiler to pass the machine name to common/wtime.h,
151# where the C/Fortran binding interface format is determined
152#---------------------------------------------------------------------------
153# MACHINE = -DCRAY
154# MACHINE = -DIBM
155
156
Note: See TracBrowser for help on using the repository browser.