Commit a7fff7e1 authored by Christopher Subich's avatar Christopher Subich
Browse files

Update belize system config for MPI version update

parent a41e044e
......@@ -57,6 +57,9 @@ NSIntegrator.o: NSIntegrator.cpp NSIntegrator_impl.cc
tests/test%.o: tests/test%.cpp
$(MPICXX) $(CFLAGS) -o $@ -c $<
tests/test%_x: tests/test%.o tests/test%.src.o TArray.o Parformer.o T_util.o ESolver.o Timestep.o NSIntegrator.o BaseCase.o Science.o Splits.o Par_util.o Split_reader.o gmres.o gmres_1d_solver.o gmres_2d_solver.o grad.o multigrid.o Options.o
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
cases/%.o: cases/%.cpp NSIntegrator_impl.cc NSIntegrator.hpp
$(MPICXX) $(CFLAGS) -o $@ -c $<
......@@ -72,6 +75,11 @@ cases/%.x: cases/%.o cases/%.src.o TArray.o T_util.o Parformer.o ESolver.o Times
cases/%_x: cases/%.o cases/%.src.o TArray.o T_util.o Parformer.o ESolver.o Timestep.o NSIntegrator.o BaseCase.o Science.o Splits.o Par_util.o Split_reader.o gmres.o gmres_1d_solver.o gmres_2d_solver.o grad.o multigrid.o Options.o
$(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
tests/test%.src.c: tests/test%.cpp CaseFileSource.c
echo "const char casefilesource[] = {`xxd -i < $<`, 0x00};" > $@
echo "const char casefilename[] = \"$<\";" >> $@
cat CaseFileSource.c >> $@
cases/%.src.c: cases/%.cpp CaseFileSource.c
echo "const char casefilesource[] = {`xxd -i < $<`, 0x00};" > $@
echo "const char casefilename[] = \"$<\";" >> $@
......
......@@ -4,7 +4,7 @@
CC=gcc
CXX=g++
LD=mpicc
LD=mpic++
# System-specific compiler flags
SYSTEM_CFLAGS=
......
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