File: config.mk

package info (click to toggle)
lam 6.3.2-3
  • links: PTS
  • area: main
  • in suites: potato
  • size: 11,560 kB
  • ctags: 10,207
  • sloc: ansic: 86,520; cpp: 10,304; sh: 4,243; makefile: 3,509; perl: 362; fortran: 187; csh: 19
file content (175 lines) | stat: -rw-r--r-- 4,392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
##
# Copyright 1998-1999, University of Notre Dame.
# Authors: Jeffrey M. Squyres, Kinis L. Meyer, with M. D. McNally 
#          and Andrew Lumsdaine
#
# This file is part of the Notre Dame LAM implementation of MPI.
#
# You should have received a copy of the License Agreement for the
# Notre Dame LAM implementation of MPI along with the software; see
# the file LICENSE.  If not, contact Office of Research, University of
# Notre Dame, Notre Dame, IN 46556.
#
# Permission to modify the code and to distribute modified code is
# granted, provided the text of this NOTICE is retained, a notice that
# the code was modified is included with the above COPYRIGHT NOTICE and
# with the COPYRIGHT NOTICE in the LICENSE file, and that the LICENSE
# file is distributed with the modified code.
#
# LICENSOR MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED.
# By way of example, but not limitation, Licensor MAKES NO
# REPRESENTATIONS OR WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY
# PARTICULAR PURPOSE OR THAT THE USE OF THE LICENSED SOFTWARE COMPONENTS
# OR DOCUMENTATION WILL NOT INFRINGE ANY PATENTS, COPYRIGHTS, TRADEMARKS
# OR OTHER RIGHTS.
#
# Additional copyrights may follow.
#
##	Ohio Trollius
##	Copyright 1997 The Ohio State University
##
##	$Id: config.mk.in,v 1.20 1999/11/09 04:57:37 jsquyres Exp $
##
##	Function:	- dungeon configuration
##			- architecture i686-pc-linux-gnu
##			- RPI 
##

##
## installation directory
##
## LAMHOME can be any absolute pathname.
##
LAMHOME		= /home/camm/lam/lam-6.3.2/debian/tmp/usr/lib/lam
FINHOME		= /usr/lib/lam

##
## Version number
##
LAM_VERSION	= 6.3.2

##
## installation subdirectories
##
## It is not a good idea to mess with these.
##
IDIR		= $(LAMHOME)/include
OLDIR		= $(LAMHOME)/lib
OBDIR		= $(LAMHOME)/bin
TDIR		= $(LAMHOME)/boot
FTDIR		= $(FINHOME)/boot

##
## machine architecture targets
##
## These names are arbitrary.  Change them only if you want to compile
## for multiple architectures in the same source directory.
##
OARCH		= obj

##
## compiler flags
##
CFLAGS		= -O 
CXXFLAGS	= -O -fPIC
CXXEXFLAGS	= 
CXXEXLDFLAGS	= 
FFLAGS		= -O 
USER_LDFLAGS	= 
USER_CXXLDFLAGS	= -O -fPIC

##
## flags for compiling shared objects
##
SOFLAGS		= -fPIC

##
## RPI dependent variables
##
RPISRC		= rpi.shm.c tcp.low.c shm.common.c shm.low.c shm.sysv.c
RPIOBJ		= rpi.shm.o tcp.low.o shm.common.o shm.low.o shm.sysv.o
RPIFLAGS	= -DSHORTCIRCUIT
RPISYSLIBS	= 

##
## library linking options
##
LIB		= $(LIBNAME).so.$(MAJOR).$(MINOR)
MAKELIB		= $(CC) -shared -Wl,-soname,$(LIBNAME).so.$(MAJOR) -o $(LIB) $(OBJ)
RANSYMLIB	= cd $(OLDIR); $(RM) $(LIBNAME).so $(LIBNAME).so.$(MAJOR); ln -s $(LIB) $(LIBNAME).so.$(MAJOR); ln -s $(LIBNAME).so.$(MAJOR) $(LIBNAME).so
LIBBIND		= $(USER_LDFLAGS)
HBIND		= 
SYSLIBS		=  $(RPISYSLIBS)
LIBSUFFIX	= so.$(MAJOR).$(MINOR)
LIBDEPSFX	= so
FLIBPATH	= -L

##
## IMPI support
##
IMPI_LIB        = 
IMPI_DIR        = 
IMPID_DIR       = 
IMPI_TARGET	= no-impi
IMPI_LIB_FILE	= 

##
## LAM timeout values
##
## TO_BOOT		- (secs) until a new, remote lamd is considered dead
## TO_DLO_ACK		- (usecs) until a packet is resent
## TO_DLO_IDLE		- (secs) until a heartbeat packet is sent to quiet
##			  nodes in fault tolerant mode (lamboot -x)
##
TO_BOOT		= 60
TO_DLO_ACK	= 500000
TO_DLO_IDLE	= 60

##
## counters (in various units)
##
## TO_DLO_ESTIMATE	- # of daemon requests (in lamd) before any pending
##			  timeout period is declared expired (because select(2)
##			  does not always return portion of timeout remaining)
## DOMAXRESEND		- # of packet retransmissions before destination lamd
##			  is considered dead in fault tolerant mode
##
TO_DLO_ESTIMATE	= 30
DOMAXRESEND	= 100

##
## GER protocol
##
## MPI_GER		- per-process-pair minimum envelope slots
##
MPI_GER		= 8

##
## Desired permissions
##
FILE_PERMS	= 644
EXEC_PERMS	= 755
DIR_PERMS	= 755

##
## tools
##
## These may vary with the flavour of UNIX.
##
AR              = /usr/bin/ar
AFLAGS		= rv
CC              = cc -DLAM_BUILDING=1
CPP             = cc -E -DLAM_BUILDING=1
CXX		= c++ -DLAM_BUILDING=1
CXXCPP		= c++ -E -DLAM_BUILDING=1
FC              = f77 -DLAM_BUILDING=1
MKDEP		= $(DEPTH)/config/mkdep
RANLIB          = ranlib
CP		= /bin/cp
RM              = /bin/rm -f
RSH             = "/usr/bin/rsh "
SED             = /bin/sed
SHELL           = /bin/sh
LN_S		= ln -s
INSTALL		= $(DEPTH)/config/install-sh
CXX_TEMPLATE_DIR=