ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/mdtools/Makefile.inc
Revision: 183
Committed: Thu Nov 21 20:33:02 2002 UTC (21 years, 7 months ago) by mmeineke
File size: 853 byte(s)
Log Message:

The simulation can run successfully on parrallel computers!! Now all that is need is the parrallel io routines, and parrallel forces

File Contents

# User Rev Content
1 chuckv 126 MV := 2
2     OS := $(shell uname -s)
3     export OS
4     OSS = $(strip $(OS))
5    
6    
7 mmeineke 177 # Here we decide whether the build is single or mutiple processor
8    
9 mmeineke 183 BUILD = mpi
10     #BUILD = single
11 mmeineke 177
12     # turn on compiler warnings
13    
14     #WARN = on
15     WARN = off
16    
17     # turn on debuging
18    
19     #DEBUG = on
20     DEBUG = off
21    
22 mmeineke 183 TALKATIVE = on
23     #TALKATIVE = off
24    
25 mmeineke 177 YC = bison
26     LC = flex
27     LD = ld
28    
29     LIBDIR = $(HOME)/lib
30    
31     ifeq ($(strip $(BUILD)), $(strip mpi))
32    
33 chuckv 134 CC = mpicc
34     CC_PLUS = mpiCC
35     FC = mpif90
36 chuckv 126
37 mmeineke 177 CFLAGS = -DIS_MPI -I/usr/local/include
38     FFLAGS = -DIS_MPI -I/usr/local/include
39 chuckv 126
40 mmeineke 177 LIBNAME = libMPImdtools.a
41    
42     else
43    
44     CC = icc
45     CC_PLUS = icc
46     FC = ifc
47    
48     CFLAGS = -tpp6 -O3
49     FFLAGS = -tpp6 -O3
50    
51     LIBNAME = libmdtools.a
52    
53     endif
54    
55     ifeq ($(strip $(WARN)), $(strip on))
56     CFLAGS += -w2
57     endif
58    
59     ifeq ($(strip $(DEBUG)), $(strip on))
60     CFLAGS += -g
61     FFLAGS += -g
62     endif
63    
64 mmeineke 183 ifeq ($(strip $(TALKATIVE)), $(strip on))
65     CFLAGS += -DCHECKPOINT_VERBOSE
66     endif
67