Makefile 639 Bytes
Newer Older
1
MPICXX = mpixlcxx
2

3 4
MPI_CFLAGS  = -g -O3 -I$(HOME)/install_bgq/include/ -DBGQ -DDEBUG
MPI_LDFLAGS = -L$(HOME)/install_bgq/lib/ -ltapioca
Francois Tessier's avatar
Francois Tessier committed
5

6
all: miniHACC-AoS miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO
Francois Tessier's avatar
Francois Tessier committed
7

8
miniHACC-AoS:miniHACC-AoS.cpp
9
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
10

11
miniHACC-SoA:miniHACC-SoA.cpp
12
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
13

14 15
### MPI I/O
miniHACC-AoS-MPIIO:miniHACC-AoS-MPIIO.cpp
16
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
17

18
miniHACC-SoA-MPIIO:miniHACC-SoA-MPIIO.cpp
19
	$(MPICXX) $(MPI_CFLAGS) $? -o $@ $(MPI_LDFLAGS)
Francois Tessier's avatar
Francois Tessier committed
20 21

clean:
22
	rm miniHACC-AoS miniHACC-SoA miniHACC-AoS-MPIIO miniHACC-SoA-MPIIO
Francois Tessier's avatar
Francois Tessier committed
23