Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
PySWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
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
PySWIFTsim
Merge requests
!7
Change clone to fetch
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Change clone to fetch
new_implementation
into
master
Overview
0
Commits
21
Changes
4
Merged
Loic Hausammann
requested to merge
new_implementation
into
master
6 years ago
Overview
0
Commits
21
Changes
4
Expand
0
0
Merge request reports
Compare
master
version 15
18fbc424
6 years ago
version 14
ea864a1d
6 years ago
version 13
1f792174
6 years ago
version 12
704798c6
6 years ago
version 11
37d1ca92
6 years ago
version 10
e0cc53ff
6 years ago
version 9
ea22ec39
6 years ago
version 8
e5df47d7
6 years ago
version 7
5c545e59
6 years ago
version 6
06a30b71
6 years ago
version 5
fa8371c2
6 years ago
version 4
41b9cb2c
6 years ago
version 3
1b46fd6a
6 years ago
version 2
f4781332
6 years ago
version 1
dd36aa8e
6 years ago
master (base)
and
version 6
latest version
e4527a46
21 commits,
6 years ago
version 15
18fbc424
19 commits,
6 years ago
version 14
ea864a1d
18 commits,
6 years ago
version 13
1f792174
16 commits,
6 years ago
version 12
704798c6
15 commits,
6 years ago
version 11
37d1ca92
14 commits,
6 years ago
version 10
e0cc53ff
12 commits,
6 years ago
version 9
ea22ec39
11 commits,
6 years ago
version 8
e5df47d7
9 commits,
6 years ago
version 7
5c545e59
7 commits,
6 years ago
version 6
06a30b71
6 commits,
6 years ago
version 5
fa8371c2
5 commits,
6 years ago
version 4
41b9cb2c
4 commits,
6 years ago
version 3
1b46fd6a
3 commits,
6 years ago
version 2
f4781332
2 commits,
6 years ago
version 1
dd36aa8e
1 commit,
6 years ago
4 files
+
154
−
72
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
src/Makefile.am deleted
100644 → 0
+
0
−
68
Options
# This file is part of PySWIFTsim.
# Copyright (c) 2019 Loic Hausammann (loic.hausammann@epfl.ch).
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Add the non-standard paths to the included library headers
AM_CFLAGS
=
-I
$(
top_srcdir
)
/../src
$(
HDF5_CPPFLAGS
)
$(
GSL_INCS
)
$(
FFTW_INCS
)
$(
NUMA_INCS
)
$(
GRACKLE_INCS
)
$(
PYTHON_INCS
)
# Assign a "safe" version number
AM_LDFLAGS
=
$(
HDF5_LDFLAGS
)
$(
FFTW_LIBS
)
-version-info
0:0:0
# The git command, if available.
GIT_CMD
=
@GIT_CMD@
# Additional dependencies for shared libraries.
EXTRA_LIBS
=
$(
HDF5_LIBS
)
$(
FFTW_LIBS
)
$(
NUMA_LIBS
)
$(
PROFILER_LIBS
)
$(
TCMALLOC_LIBS
)
\
$(
JEMALLOC_LIBS
)
$(
TBBMALLOC_LIBS
)
$(
GRACKLE_LIBS
)
$(
GSL_LIBS
)
$(
PYTHON_LIBS
)
\
$(
top_srcdir
)
/src/.libs
# MPI libraries.
MPI_LIBS
=
$(
PARMETIS_LIBS
)
$(
METIS_LIBS
)
$(
MPI_THREAD_LIBS
)
MPI_FLAGS
=
-DWITH_MPI
$(
PARMETIS_INCS
)
$(
METIS_INCS
)
# Build the libswiftsim library
lib_LTLIBRARIES
=
libpyswiftsim.la
# Build a MPI-enabled version too?
if
HAVEMPI
lib_LTLIBRARIES
+=
libpyswiftsim_mpi.la
endif
# List required headers
include_HEADERS
=
chemistry_wrapper.h cooling_wrapper.h
\
cosmology_wrapper.h parser_wrapper.h part_wrapper.h
\
pyswiftsim_tools.h units_wrapper.h
# Common source files
AM_SOURCES
=
chemistry_wrapper.c cooling_wrapper.c cosmology_wrapper.c
\
parser_wrapper.c part_wrapper.c pyswiftsim_tools.c
\
units_wrapper.c wrapper.c
# Include files for distribution, not installation.
nobase_noinst_HEADERS
=
# Sources and flags for regular library
libpyswiftsim_la_SOURCES
=
$(
AM_SOURCES
)
libpyswiftsim_la_CFLAGS
=
$(
AM_CFLAGS
)
libpyswiftsim_la_LDFLAGS
=
$(
AM_LDFLAGS
)
$(
EXTRA_LIBS
)
-lswiftsim
libpyswiftsim_la_LIBADD
=
$(
GRACKLE_LIBS
)
$(
VELOCIRAPTOR_LIBS
)
# Sources and flags for MPI library
libpyswiftsim_mpi_la_SOURCES
=
$(
AM_SOURCES
)
libpyswiftsim_mpi_la_CFLAGS
=
$(
AM_CFLAGS
)
$(
MPI_FLAGS
)
libpyswiftsim_mpi_la_LDFLAGS
=
$(
AM_LDFLAGS
)
$(
MPI_LIBS
)
$(
EXTRA_LIBS
)
-lswiftsim_mpi
libpyswiftsim_mpi_la_SHORTNAME
=
mpi
libpyswiftsim_mpi_la_LIBADD
=
$(
GRACKLE_LIBS
)
$(
VELOCIRAPTOR_LIBS
)
Loading