Commit 0a03d44d authored by fabianw's avatar fabianw
Browse files

added CubismZ submodule for wavelet dump support

parent 60ef5a43
[submodule "third_party/CubismZ"]
path = third_party/CubismZ
url = fabianw@scratch-petros.ethz.ch:/export/home/gitroot/CubismZ.git
CubismZ @ 1ba9086a
Subproject commit 1ba9086aefb1d60b59190d07ad917031c787dd88
include ../Makefile.config
.PHONY: cleanCubismZ cleanall
all: libCubismZ.a
libCubismZ.a:
$(MAKE) -e -f Makefile.cubismz CC=$(CC) config=$(config) bs=$(bs) ap=$(prec) align=$(align) omp=1
cleanCubismZ:
$(MAKE) -f Makefile.cubismz clean
cleanall: cleanCubismZ
include CubismZ/CubismApps/Makefile.config
ifneq "$(findstring mira,$(shell hostname))" ""
CPPFLAGS += -I${HOME}/usr/zlib/include
LIBS += -L${HOME}/usr/zlib/lib
CPPFLAGS += -I/soft/libraries/hdf5/current/cnk-xl/current/include
LIBS += -L/soft/libraries/hdf5/current/cnk-xl/current/lib
endif
ifneq "$(findstring cetus,$(shell hostname))" ""
CPPFLAGS += -I${HOME}/usr/zlib/include
LIBS += -L${HOME}/usr/zlib/lib
CPPFLAGS += -I/soft/libraries/hdf5/current/cnk-xl/current/include
LIBS += -L/soft/libraries/hdf5/current/cnk-xl/current/lib
endif
CubismZ_SRC = CubismZ/CubismApps/Compressor/source/WaveletCompressor.cpp
OBJLib1 = ${CubismZ_SRC:.cpp=.o}
all: $(OBJLib1)
ar rcs ../lib/libCubismZ.a $(OBJLib1)
ranlib ../lib/libCubismZ.a
.cpp.o:
$(CC) -c $(CPPFLAGS) $(INC) -o $@ $<
clean:
rm -f $(OBJLib1) ../lib/libCubismZ.a
Supports Markdown
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