Commit a6521157 authored by Francois Tessier's avatar Francois Tessier

Add Makefile. Create static library libtapioca.a

parent d7e99d1d
MPICXX = mpicxx
MPI_CFLAGS = -g -O3 -I./topology/
MPI_CFLAGS += -DBGQ
MPI_CFLAGS += -I/bgsys/drivers/ppcfloor -I/bgsys/drivers/ppcfloor/spi/include/kernel/cnk
INSTALL_PATH = $(HOME)/install_bgq
all:libtapioca.a
libtapioca.a:tapioca.o
ar rcs $@ $?
tapioca.o:tapioca.cpp
$(MPICXX) $(MPI_CFLAGS) -c $? -o $@
install:
cp tapioca.hpp topology/*.hpp $(INSTALL_PATH)/include
cp libtapioca.a $(INSTALL_PATH)/lib
clean:
rm -f *.a *.o
\ No newline at end of file
#include "aggregation.hpp"
#include "tapioca.hpp"
Aggregation::Aggregation ()
{
......
......@@ -21,7 +21,7 @@
#include "mpi.h"
#ifdef BGQ
#include "topology/bgq_mira.hpp"
#include "bgq_mira.hpp"
#endif
enum MAPPING_STRATEGY
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment