-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile.AVX.MPI
44 lines (33 loc) · 1.71 KB
/
Makefile.AVX.MPI
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
# Makefile August 2006 by Alexandros Stamatakis
# Makefile cleanup October 2006, Courtesy of Peter Cordes <peter@cordes.ca>
CC = mpicc
CFLAGS = -D_FINE_GRAIN_MPI -D__SIM_SSE3 -D_GNU_SOURCE -msse3 -O2 -fomit-frame-pointer -funroll-loops -D__AVX
#-D_USE_MPI2
LIBRARIES = -lm -mavx
RM = rm -f
objs = axml.o optimizeModel.o trash.o searchAlgo.o topologies.o parsePartitions.o treeIO.o models.o evaluatePartialGenericSpecial.o evaluateGenericSpecial.o newviewGenericSpecial.o makenewzGenericSpecial.o bipartitionList.o fineGrainMpi.o restartHashTable.o avxLikelihood.o recom.o
all : raxmlLight-MPI-AVX
GLOBAL_DEPS = axml.h globalVariables.h
raxmlLight-MPI-AVX : $(objs)
$(CC) -o raxmlLight-MPI-AVX $(objs) $(LIBRARIES)
avxLikelihood.o : avxLikelihood.c $(GLOBAL_DEPS)
$(CC) $(CFLAGS) -mavx -c -o avxLikelihood.o avxLikelihood.c
bipartitionList.o : bipartitionList.c $(GLOBAL_DEPS)
evaluatePartialSpecialGeneric.o : evaluatePartialSpecialGeneric.c $(GLOBAL_DEPS)
optimizeModel.o : optimizeModel.c $(GLOBAL_DEPS)
trash.o : trash.c $(GLOBAL_DEPS)
axml.o : axml.c $(GLOBAL_DEPS)
searchAlgo.o : searchAlgo.c $(GLOBAL_DEPS)
topologies.o : topologies.c $(GLOBAL_DEPS)
parsePartitions.o : parsePartitions.c $(GLOBAL_DEPS)
treeIO.o : treeIO.c $(GLOBAL_DEPS)
models.o : models.c $(GLOBAL_DEPS)
evaluatePartialGenericSpecial.o : evaluatePartialGenericSpecial.c $(GLOBAL_DEPS)
evaluateGenericSpecial.o : evaluateGenericSpecial.c $(GLOBAL_DEPS)
newviewGenericSpecial.o : newviewGenericSpecial.c $(GLOBAL_DEPS)
makenewzGenericSpecial.o : makenewzGenericSpecial.c $(GLOBAL_DEPS)
recom.o : recom.c $(GLOBAL_DEPS)
fineGrainMpi.o : fineGrainMpi.c $(GLOBAL_DEPS)
restartHashTable.o : restartHashTable.c $(GLOBAL_DEPS)
clean :
$(RM) *.o raxmlLight-MPI-AVX