-
wfg authored
This version compiles. Tested with 2 write APIs: under examples/hello/singleBP helloSingleBP.cpp -> using ADIOS single manager class from ADIOS.h helloSingleBP.cpp -> using ADIOS objects from ADIOS_OO.h both generate a .bp file using a POSIX transport To do: Test compilation in other platforms/compilers Add coverage test cases Add the NULL transport (does nothing) Work on SingleBP engine to generate bp format XML config file support (to be defined)
wfg authoredThis version compiles. Tested with 2 write APIs: under examples/hello/singleBP helloSingleBP.cpp -> using ADIOS single manager class from ADIOS.h helloSingleBP.cpp -> using ADIOS objects from ADIOS_OO.h both generate a .bp file using a POSIX transport To do: Test compilation in other platforms/compilers Add coverage test cases Add the NULL transport (does nothing) Work on SingleBP engine to generate bp format XML config file support (to be defined)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
Makefile 775 B
# Makefile for testing purposes, will build libadios.a
# Created on: Oct 4, 2016
# Author: wfg
BASE_NAME=helloADIOSNoXML_OOP
TOOL_DIR=/usr/bin
CC=$(TOOL_DIR)/g++ # Compiling with mpicc for now
MPICC=$(TOOL_DIR)/mpic++
AR=$(TOOL_DIR)/ar
#ADIOS LOCATION
ADIOS_DIR=../..
ADIOS_LIB=$(ADIOS_DIR)/lib/libadios.a
ADIOS_NOMPI_LIB=$(ADIOS_DIR)/lib/libadios_nompi.a
ADIOS_INCLUDE=-I$(ADIOS_DIR)/include
#FLAGS
CFLAGS=-Wall -O0 -g -Wpedantic -std=c++11
all: mpi
mpi: $(ADIOS_LIB) $(ADIOS_HFiles)
$(MPICC) $(CFLAGS) $(ADIOS_INCLUDE) -DHAVE_MPI $(BASE_NAME).cpp -o $(BASE_NAME)_mpi $(ADIOS_LIB)
nompi: $(ADIOS_NOMPI_LIB) $(NoMPI_HFiles)
$(CC) $(CFLAGS) $(ADIOS_INCLUDE) $(BASE_NAME).cpp -o $(BASE_NAME)_nompi $(ADIOS_NOMPI_LIB)
clean:
rm *_mpi; rm *_nompi