Commit c17f402efab1942dcebb6b592ab1bad016552375
1 parent
e197e7b8
Add default NPB3.3-SER make.def config
Showing
1 changed file
with
167 additions
and
0 deletions
NPB3.3-SER/config/make.def
0 → 100644
| 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 | +#--------------------------------------------------------------------------- | ||
| 32 | +F77 = f77 | ||
| 33 | + | ||
| 34 | +#--------------------------------------------------------------------------- | ||
| 35 | +# This links fortran programs; usually the same as ${F77} | ||
| 36 | +#--------------------------------------------------------------------------- | ||
| 37 | +FLINK = $(F77) | ||
| 38 | + | ||
| 39 | +#--------------------------------------------------------------------------- | ||
| 40 | +# These macros are passed to the linker | ||
| 41 | +#--------------------------------------------------------------------------- | ||
| 42 | +F_LIB = | ||
| 43 | + | ||
| 44 | +#--------------------------------------------------------------------------- | ||
| 45 | +# These macros are passed to the compiler | ||
| 46 | +#--------------------------------------------------------------------------- | ||
| 47 | +F_INC = | ||
| 48 | + | ||
| 49 | +#--------------------------------------------------------------------------- | ||
| 50 | +# Global *compile time* flags for Fortran programs | ||
| 51 | +#--------------------------------------------------------------------------- | ||
| 52 | +FFLAGS = -O | ||
| 53 | + | ||
| 54 | +#--------------------------------------------------------------------------- | ||
| 55 | +# Global *link time* flags. Flags for increasing maximum executable | ||
| 56 | +# size usually go here. | ||
| 57 | +#--------------------------------------------------------------------------- | ||
| 58 | +FLINKFLAGS = -O | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +#--------------------------------------------------------------------------- | ||
| 62 | +# Parallel C: | ||
| 63 | +# | ||
| 64 | +# For IS and DC, which are in C, the following must be defined: | ||
| 65 | +# | ||
| 66 | +# CC - C compiler | ||
| 67 | +# CFLAGS - C compilation arguments | ||
| 68 | +# C_INC - any -I arguments required for compiling C | ||
| 69 | +# CLINK - C linker | ||
| 70 | +# CLINKFLAGS - C linker flags | ||
| 71 | +# C_LIB - any -L and -l arguments required for linking C | ||
| 72 | +# | ||
| 73 | +# compilations are done with $(CC) $(C_INC) $(CFLAGS) or | ||
| 74 | +# $(CC) $(CFLAGS) | ||
| 75 | +# linking is done with $(CLINK) $(C_LIB) $(CLINKFLAGS) | ||
| 76 | +#--------------------------------------------------------------------------- | ||
| 77 | + | ||
| 78 | +#--------------------------------------------------------------------------- | ||
| 79 | +# This is the C compiler used for C programs | ||
| 80 | +#--------------------------------------------------------------------------- | ||
| 81 | +CC = cc | ||
| 82 | + | ||
| 83 | +#--------------------------------------------------------------------------- | ||
| 84 | +# This links C programs; usually the same as ${CC} | ||
| 85 | +#--------------------------------------------------------------------------- | ||
| 86 | +CLINK = $(CC) | ||
| 87 | + | ||
| 88 | +#--------------------------------------------------------------------------- | ||
| 89 | +# These macros are passed to the linker | ||
| 90 | +#--------------------------------------------------------------------------- | ||
| 91 | +C_LIB = | ||
| 92 | + | ||
| 93 | +#--------------------------------------------------------------------------- | ||
| 94 | +# These macros are passed to the compiler | ||
| 95 | +#--------------------------------------------------------------------------- | ||
| 96 | +C_INC = | ||
| 97 | + | ||
| 98 | +#--------------------------------------------------------------------------- | ||
| 99 | +# Global *compile time* flags for C programs | ||
| 100 | +# DC inspects the following flags (preceded by "-D"): | ||
| 101 | +# | ||
| 102 | +# IN_CORE - computes all views and checksums in main memory (if there is | ||
| 103 | +# enough memory) | ||
| 104 | +# | ||
| 105 | +# VIEW_FILE_OUTPUT - forces DC to write the generated views to disk | ||
| 106 | +# | ||
| 107 | +# OPTIMIZATION - turns on some nonstandard DC optimizations | ||
| 108 | +# | ||
| 109 | +# _FILE_OFFSET_BITS=64 | ||
| 110 | +# _LARGEFILE64_SOURCE - are standard compiler flags which allow to work with | ||
| 111 | +# files larger than 2GB. | ||
| 112 | +#--------------------------------------------------------------------------- | ||
| 113 | +CFLAGS = -O | ||
| 114 | + | ||
| 115 | +#--------------------------------------------------------------------------- | ||
| 116 | +# Global *link time* flags. Flags for increasing maximum executable | ||
| 117 | +# size usually go here. | ||
| 118 | +#--------------------------------------------------------------------------- | ||
| 119 | +CLINKFLAGS = -O | ||
| 120 | + | ||
| 121 | + | ||
| 122 | +#--------------------------------------------------------------------------- | ||
| 123 | +# Utilities C: | ||
| 124 | +# | ||
| 125 | +# This is the C compiler used to compile C utilities. Flags required by | ||
| 126 | +# this compiler go here also; typically there are few flags required; hence | ||
| 127 | +# there are no separate macros provided for such flags. | ||
| 128 | +#--------------------------------------------------------------------------- | ||
| 129 | +UCC = cc | ||
| 130 | + | ||
| 131 | + | ||
| 132 | +#--------------------------------------------------------------------------- | ||
| 133 | +# Destination of executables, relative to subdirs of the main directory. . | ||
| 134 | +#--------------------------------------------------------------------------- | ||
| 135 | +BINDIR = ../bin | ||
| 136 | + | ||
| 137 | + | ||
| 138 | +#--------------------------------------------------------------------------- | ||
| 139 | +# The variable RAND controls which random number generator | ||
| 140 | +# is used. It is described in detail in README.install. | ||
| 141 | +# Use "randi8" unless there is a reason to use another one. | ||
| 142 | +# Other allowed values are "randi8_safe", "randdp" and "randdpvec" | ||
| 143 | +#--------------------------------------------------------------------------- | ||
| 144 | +RAND = randi8 | ||
| 145 | +# The following is highly reliable but may be slow: | ||
| 146 | +# RAND = randdp | ||
| 147 | + | ||
| 148 | + | ||
| 149 | +#--------------------------------------------------------------------------- | ||
| 150 | +# The variable WTIME is the name of the wtime source code module in the | ||
| 151 | +# common directory. | ||
| 152 | +# For most machines, use wtime.c | ||
| 153 | +# For SGI power challenge: use wtime_sgi64.c | ||
| 154 | +#--------------------------------------------------------------------------- | ||
| 155 | +WTIME = wtime.c | ||
| 156 | + | ||
| 157 | + | ||
| 158 | +#--------------------------------------------------------------------------- | ||
| 159 | +# Enable if either Cray or IBM: | ||
| 160 | +# (no such flag for most machines: see common/wtime.h) | ||
| 161 | +# This is used by the C compiler to pass the machine name to common/wtime.h, | ||
| 162 | +# where the C/Fortran binding interface format is determined | ||
| 163 | +#--------------------------------------------------------------------------- | ||
| 164 | +# MACHINE = -DCRAY | ||
| 165 | +# MACHINE = -DIBM | ||
| 166 | + | ||
| 167 | + |