Skip to content

Commit fda9636

Browse files
authored
Merge pull request #633 from ICB-DCM/develop
0.10.0 Release
2 parents 2044168 + f031bd8 commit fda9636

File tree

803 files changed

+126198
-119049
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

803 files changed

+126198
-119049
lines changed

.gitignore

Lines changed: 32 additions & 118 deletions
Original file line numberDiff line numberDiff line change
@@ -1,193 +1,99 @@
1-
SuiteSparse/include/*
2-
3-
SuiteSparse/lib/*
4-
5-
SuiteSparse/share/*
6-
7-
sundials/build/*
8-
91
CMakeFiles/*
102

113
build/*
12-
134
build-debug/*
14-
155
build_xcode/*
16-
176
swig/python/build/*
18-
197
tests/cpputest/build/*
20-
218
tests/cpputest/build_xcode/*
22-
239
tests/cpputest/Testing/*
2410

25-
ThirdParty/*
26-
2711
doc/*
28-
2912
fonts/*
30-
31-
sed-ml/*
32-
33-
stylesheets/*
34-
35-
scripts/env.sh
36-
3713
images/*
14+
stylesheets/*
3815

39-
debug_amici/*
16+
sed-ml/*
4017

4118
models/*
42-
4319
!models/model_dirac
44-
4520
models/model_dirac/build/*
46-
4721
!models/model_steadystate
48-
4922
models/model_steadystate/build/*
50-
5123
!models/model_jakstat_adjoint
52-
5324
models/model_jakstat_adjoint/build/*
54-
5525
!models/model_jakstat_adjoint_o2
56-
5726
models/model_jakstat_adjoint_o2/build/*
58-
5927
!models/model_neuron
60-
6128
models/model_neuron/build/*
62-
6329
!models/model_neuron_o2
64-
6530
models/model_neuron_o2/build/*
66-
6731
!models/model_events
68-
6932
models/model_events/build/*
70-
7133
!models/model_nested_events
72-
7334
models/model_nested_events/build/*
74-
7535
!models/model_robertson
76-
7736
models/model_robertson/build/*
7837

7938
simulate_model_*_hdf.m
80-
8139
simulate_model_*.m
8240

83-
.DS_Store
84-
8541
index.html
8642

87-
Makefile
88-
8943
AMICI.mlappinstall
9044

45+
Makefile
9146
cmake_install.cmake
92-
9347
CMakeCache.txt
94-
9548
CMakeLists.txt.user
9649

9750
.coveralls.yml
51+
.directory
52+
.project
53+
.pydevproject
54+
.settings/
55+
.idea/*
56+
.DS_Store
57+
.ipynb_checkpoints/
58+
python/.idea/*
9859

9960
*.a
100-
10161
*.info
102-
10362
*.o
104-
10563
*.obj
106-
10764
*.eps
108-
10965
*.mexmaci64
110-
11166
*.mexa64
112-
11367
*.mexw64
114-
11568
*.mexmaci32
116-
11769
*.mexa32
118-
11970
*.mexw32
120-
12171
*.eps
122-
123-
*.js
124-
12572
*.md5
126-
12773
*.json
128-
12974
*.mat
130-
131-
*.js
132-
133-
*.json
134-
13575
*.m~
136-
13776
*.plist
138-
13977
*.make
140-
14178
*.bin
142-
14379
*.csv
144-
14580
*.log
146-
147-
tests/sbml-test-suite/
148-
149-
tests/sedml-test-suite/
150-
151-
tests/SBMLTestModels/
81+
*.pyc
82+
*.so
15283

15384
matlab/mtoc/config/latexextras.sty-e
154-
15585
matlab/mtoc/config/latexextras.sty
156-
15786
matlab/mtoc/config/Doxyfile-e
15887

159-
.directory
160-
161-
.project
162-
163-
.pydevproject
164-
165-
.settings/
166-
16788
cppcheck.txt
89+
coverage_py.xml
90+
testSuite.txt
16891

16992
__pycache__
17093

171-
tests/cpputest/writeResults.h5
172-
173-
tests/cpputest/writeResults.h5.bak
174-
175-
tests/sbml-test-suite/*
176-
177-
python/.idea/misc.xml
178-
179-
python/.idea/modules.xml
180-
181-
python/.idea/python.iml
182-
183-
python/.idea/workspace.xml
184-
185-
.ipynb_checkpoints/
186-
187-
*.pyc
94+
/misc.xml
18895

18996
python/testSpeedy.py
190-
19197
python/test.txt
19298

19399
tests/test/*
@@ -212,28 +118,36 @@ tests/kinase_cascade_amici/*
212118
tests/hello_pysb_amici/*
213119
tests/fricker_2010_apoptosis_amici/*
214120
tests/explicit_amici/*
215-
121+
tests/fixed_initial_amici/*
122+
tests/cpputest/writeResults.h5
123+
tests/cpputest/writeResults.h5.bak
124+
tests/sbml-test-suite/*
125+
tests/sbml-test-suite/
126+
tests/sedml-test-suite/
216127
*/sbml-semantic-test-cases/*
128+
tests/SBMLTestModels/
217129
/python/test/amici-SBMLTest*/
218-
coverage_py.xml
219-
220-
.idea/*
221130

222131
python/examples/example_steadystate/model_steadystate_scaled/*
223132
python/examples/example_presimulation/model_presimulation/*
224133
python/examples/example_presimulation/model_presimulation_re/*
225134

226135
python/sdist/amici.egg-info/*
227-
228136
python/sdist/amici/version.txt
229137
python/sdist/amici/amici.py
230138
python/sdist/amici/amici_wrap.cxx
231139
python/sdist/amici/amici_without_hdf5.py
232140
python/sdist/amici/amici_wrap_without_hdf5.cxx
233141

234-
testSuite.txt
235-
236142
python/sdist/build/*
237-
*.so
238143
python/sdist/amici/git_version.txt
144+
239145
AMICI_guide.pdf
146+
147+
ThirdParty/bionetgen.tar.gz
148+
ThirdParty/BioNetGen-*
149+
ThirdParty/cpputest-master*
150+
ThirdParty/mtocpp-master*
151+
ThirdParty/sundials/build/*
152+
ThirdParty/SuiteSparse/lib/*
153+
ThirdParty/SuiteSparse/share/*

.travis.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,8 @@ install:
8484
- export BASE_DIR=`pwd`
8585
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then mkdir -p ~/bin/ && ln -s /usr/bin/swig3.0 ~/bin/swig && export PATH=~/bin/:$PATH; fi # Python distutils only looks for `swig` and does not find `swig3.0`
8686
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then export PYTHON_EXECUTABLE=$(which python3); fi # cmake wont be able to find python3 on its own ...
87-
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CI_MODE" == "test" ]]; then pip3 install --upgrade pip==9.0.3 setuptools wheel pkgconfig scipy git+https://github.com/pysb/pysb; fi
88-
- if [[ "$TRAVIS_OS_NAME" != "linux" ]] && [[ "$CI_MODE" == "test" ]]; then pip3 install --user --upgrade pip==9.0.3 setuptools wheel pkgconfig scipy git+https://github.com/pysb/pysb; fi
87+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CI_MODE" == "test" ]]; then pip3 install --upgrade pip==9.0.3 setuptools wheel pkgconfig scipy; fi
88+
- if [[ "$TRAVIS_OS_NAME" != "linux" ]] && [[ "$CI_MODE" == "test" ]]; then pip3 install --user --upgrade pip==9.0.3 setuptools wheel pkgconfig scipy; fi
8989
- if [[ "$CI_MODE" == "deploy" ]]; then pip3 install --user --upgrade pip==9.0.3 doxypypy; fi # pinning pip because of https://github.com/pypa/pip/issues/5240
9090
- if [[ "$CI_MODE" == "test" ]]; then ./scripts/buildSuiteSparse.sh; fi
9191
- if [[ "$CI_MODE" == "test" ]]; then ./scripts/buildSundials.sh; fi
@@ -101,6 +101,8 @@ script:
101101
- export FOLD=$BASE_DIR/scripts/travis_wrap.sh
102102
- cd $BASE_DIR
103103
- if [[ "$CI_MODE" == "test" ]]; then $FOLD notebooks "cd $BASE_DIR && scripts/runNotebook.sh python/examples/example_*/"; fi
104+
- if [[ "$TRAVIS_OS_NAME" != "linux" ]] && [[ "$CI_MODE" == "test" ]]; then $FOLD cpputest ./scripts/run-cpputest.sh; fi
105+
- if [[ "$TRAVIS_OS_NAME" != "linux" ]] && [[ "$CI_MODE" == "test" ]]; then $FOLD python-tests ./scripts/run-python-tests.sh; fi
104106
- if [[ "$CI_MODE" == "deploy" ]]; then $FOLD doxygen ./scripts/run-doxygen.sh; fi
105107
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CI_MODE" == "test" ]]; then $FOLD cppcheck ./scripts/run-cppcheck.sh; fi
106108
- if [[ "$TRAVIS_OS_NAME" == "linux" ]] && [[ "$CI_MODE" == "test" ]]; then $FOLD valgrind ./scripts/run-valgrind.sh; fi

CMakeLists.txt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,22 @@ set(SUITESPARSE_LIBRARIES
4141
)
4242

4343
set(SUNDIALS_LIB_DIR "${CMAKE_SOURCE_DIR}/ThirdParty/sundials/build/lib")
44-
set(SUNDIALS_LIBRARIES ${SUNDIALS_LIB_DIR}/libsundials_nvecserial${CMAKE_STATIC_LIBRARY_SUFFIX}
44+
set(SUNDIALS_LIBRARIES
45+
${SUNDIALS_LIB_DIR}/libsundials_nvecserial${CMAKE_STATIC_LIBRARY_SUFFIX}
46+
${SUNDIALS_LIB_DIR}/libsundials_sunlinsolband${CMAKE_STATIC_LIBRARY_SUFFIX}
47+
${SUNDIALS_LIB_DIR}/libsundials_sunlinsolklu${CMAKE_STATIC_LIBRARY_SUFFIX}
48+
${SUNDIALS_LIB_DIR}/libsundials_sunlinsolpcg${CMAKE_STATIC_LIBRARY_SUFFIX}
49+
${SUNDIALS_LIB_DIR}/libsundials_sunlinsolspbcgs${CMAKE_STATIC_LIBRARY_SUFFIX}
50+
${SUNDIALS_LIB_DIR}/libsundials_sunlinsolspfgmr${CMAKE_STATIC_LIBRARY_SUFFIX}
51+
${SUNDIALS_LIB_DIR}/libsundials_sunmatrixband${CMAKE_STATIC_LIBRARY_SUFFIX}
52+
${SUNDIALS_LIB_DIR}/libsundials_sunmatrixdense${CMAKE_STATIC_LIBRARY_SUFFIX}
53+
${SUNDIALS_LIB_DIR}/libsundials_sunmatrixsparse${CMAKE_STATIC_LIBRARY_SUFFIX}
54+
${SUNDIALS_LIB_DIR}/libsundials_sunnonlinsolfixedpoint${CMAKE_STATIC_LIBRARY_SUFFIX}
55+
${SUNDIALS_LIB_DIR}/libsundials_sunnonlinsolnewton${CMAKE_STATIC_LIBRARY_SUFFIX}
4556
${SUNDIALS_LIB_DIR}/libsundials_cvodes${CMAKE_STATIC_LIBRARY_SUFFIX}
4657
${SUNDIALS_LIB_DIR}/libsundials_idas${CMAKE_STATIC_LIBRARY_SUFFIX}
4758
)
48-
set(SUNDIALS_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/ThirdParty/sundials/include")
59+
set(SUNDIALS_INCLUDE_DIRS "${CMAKE_SOURCE_DIR}/ThirdParty/sundials/build/include")
4960

5061
# AMICI requires BLAS, currently Intel MKL, CBLAS or MATLAB BLAS can be used.
5162
# The latter is not supported via CMake yet.
@@ -89,6 +100,7 @@ set(AMICI_SRC_LIST
89100
${CMAKE_SOURCE_DIR}/src/steadystateproblem.cpp
90101
${CMAKE_SOURCE_DIR}/src/backwardproblem.cpp
91102
${CMAKE_SOURCE_DIR}/src/sundials_matrix_wrapper.cpp
103+
${CMAKE_SOURCE_DIR}/src/sundials_linsol_wrapper.cpp
92104
${CMAKE_SOURCE_DIR}/src/abstract_model.cpp
93105
)
94106

INSTALL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ In case you only want to use the AMICI Python package for generating model code
9696
for use with Matlab or C++ and don't want to bothered with any unnecessary
9797
dependencies, you can run
9898

99-
pip3 install --install-option --no-clibs
99+
pip3 install --install-option --no-clibs amici
100100

101101
Note, however, that you will not be able to compile any model into a Python
102102
extension with this installation.

0 commit comments

Comments
 (0)