ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/Makefile.inc
(Generate patch)

Comparing trunk/mdtools/Makefile.inc (file contents):
Revision 177 by mmeineke, Mon Nov 18 21:23:58 2002 UTC vs.
Revision 253 by chuckv, Thu Jan 30 15:20:21 2003 UTC

# Line 6 | Line 6 | OSS = $(strip $(OS))
6  
7   #  Here we decide whether the build is single or mutiple processor
8  
9 < #BUILD = mpi
10 < BUILD = single
9 > BUILD = mpi
10 > #BUILD = single
11  
12   # turn on compiler warnings
13  
# Line 16 | Line 16 | WARN = off
16  
17   # turn on debuging
18  
19 < #DEBUG = on
20 < DEBUG = off
19 > DEBUG = on
20 > #DEBUG = off
21  
22 + #TALKATIVE = on
23 + TALKATIVE = off
24 +
25 + # use drand 48 or SPRNG
26 +
27 + RANDOM = sprng
28 + #RANDOM = drand48
29 +
30 +
31   YC = bison
32   LC = flex
33   LD = ld
34  
35 < LIBDIR = $(HOME)/lib
35 > #LIBDIR = $(HOME)/lib
36 > LIBDIR = ../lib
37  
38   ifeq ($(strip $(BUILD)), $(strip mpi))
39      
# Line 31 | Line 41 | CFLAGS = -DIS_MPI -I/usr/local/include
41   CC_PLUS = mpiCC
42   FC = mpif90
43  
44 < CFLAGS = -DIS_MPI -I/usr/local/include
45 < FFLAGS = -DIS_MPI -I/usr/local/include
44 > CFLAGS = -mp -DIS_MPI -I/usr/local/include
45 > FFLAGS = -mp -DIS_MPI -I/usr/local/include -I/usr/local/include/f90choice
46  
47   LIBNAME = libMPImdtools.a
48  
# Line 42 | Line 52 | CFLAGS = -tpp6 -O3
52   CC_PLUS = icc
53   FC = ifc
54  
55 < CFLAGS = -tpp6 -O3
56 < FFLAGS = -tpp6 -O3
55 > CFLAGS = -mp
56 > FFLAGS = -mp
57  
58   LIBNAME = libmdtools.a
59  
# Line 55 | Line 65 | FFLAGS += -g
65  
66   ifeq ($(strip $(DEBUG)), $(strip on))
67   CFLAGS += -g
68 < FFLAGS += -g
68 > FFLAGS += -g -u
69   endif
70  
71 + ifeq ($(strip $(TALKATIVE)), $(strip on))
72 + CFLAGS += -DCHECKPOINT_VERBOSE
73 + endif
74 +
75 + ifeq ($(strip $(RANDOM)), $(strip sprng))
76 + CFLAGS += -DUSE_SPRNG
77 + FFLAGS += -DUSE_SPRNG
78 + endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines