Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
William Xu
SPINS_main
Commits
a7fff7e1
Commit
a7fff7e1
authored
Jun 10, 2015
by
Christopher Subich
Browse files
Update belize system config for MPI version update
parent
a41e044e
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/Makefile
View file @
a7fff7e1
...
...
@@ -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[] =
\"
$<
\"
;"
>>
$@
...
...
systems/belize.sh
View file @
a7fff7e1
...
...
@@ -4,7 +4,7 @@
CC
=
gcc
CXX
=
g++
LD
=
mpic
c
LD
=
mpic
++
# System-specific compiler flags
SYSTEM_CFLAGS
=
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment