Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
d3e6cf1d
Commit
d3e6cf1d
authored
9 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Only one type of executable
parent
fb624a9a
No related branches found
No related tags found
2 merge requests
!136
Master
,
!79
First version of the multiple time-stepping
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/Makefile.am
+2
-22
2 additions, 22 deletions
examples/Makefile.am
with
2 additions
and
22 deletions
examples/Makefile.am
+
2
−
22
View file @
d3e6cf1d
...
...
@@ -29,11 +29,11 @@ MPI_LIBS = $(METIS_LIBS) $(MPI_THREAD_LIBS)
MPI_FLAGS
=
-DWITH_MPI
$(
METIS_INCS
)
# Set-up the library
bin_PROGRAMS
=
swift
swift_fixdt swift_mindt
bin_PROGRAMS
=
swift
# Build MPI versions as well?
if
HAVEMPI
bin_PROGRAMS
+=
swift_mpi
swift_fixdt_mpi swift_mindt_mpi
bin_PROGRAMS
+=
swift_mpi
endif
# Sources for swift
...
...
@@ -41,28 +41,8 @@ swift_SOURCES = main.c
swift_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
-DENGINE_POLICY
=
"engine_policy_multistep | engine_policy_keep | engine_policy_setaffinity"
swift_LDADD
=
../src/.libs/libswiftsim.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
# Sources for swift_fixdt
swift_fixdt_SOURCES
=
main.c
swift_fixdt_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
-DENGINE_POLICY
=
"engine_policy_fixdt | engine_policy_keep | engine_policy_setaffinity"
swift_fixdt_LDADD
=
../src/.libs/libswiftsim.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
# Sources for swift_mindt
swift_mindt_SOURCES
=
main.c
swift_mindt_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
-DENGINE_POLICY
=
"engine_policy_keep | engine_policy_setaffinity"
swift_mindt_LDADD
=
../src/.libs/libswiftsim.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
# Sources for swift_mpi
swift_mpi_SOURCES
=
main.c
swift_mpi_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
$(
MPI_FLAGS
)
-DENGINE_POLICY
=
"engine_policy_multistep | engine_policy_keep"
swift_mpi_LDADD
=
../src/.libs/libswiftsim_mpi.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
$(
MPI_LIBS
)
# Sources for swift_fixdt_mpi
swift_fixdt_mpi_SOURCES
=
main.c
swift_fixdt_mpi_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
$(
MPI_FLAGS
)
-DENGINE_POLICY
=
"engine_policy_fixdt | engine_policy_keep"
swift_fixdt_mpi_LDADD
=
../src/.libs/libswiftsim_mpi.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
$(
MPI_LIBS
)
# Sources for swift_mindt_mpi
swift_mindt_mpi_SOURCES
=
main.c
swift_mindt_mpi_CFLAGS
=
$(
MYFLAGS
)
$(
AM_CFLAGS
)
$(
MPI_FLAGS
)
-DENGINE_POLICY
=
"engine_policy_keep"
swift_mindt_mpi_LDADD
=
../src/.libs/libswiftsim_mpi.a
$(
HDF5_LDFLAGS
)
$(
HDF5_LIBS
)
$(
MPI_LIBS
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment