-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Release v0.4.1 (Merge pull request #212 from ICB-DCM/develop)
Release v0.4.1 * Add Zenodo badge (Closes #189) * Update AMICI and disentangle parallel AMICI output during optimization and simulation (#204) * Autodeploy to dockerhub using github action (#205) * Improvements minibatch (#206) (https://www.biorxiv.org/content/10.1101/859884v1) * implemented changes from supermuc with fixes in minibatch rescue interceptor and line search algorithm * Use PEtab parameter prior for starting point sampling (#194) Minor: * Explicitly enable oversubscription since we are using OpenMPI * Disentangle parallel AMICI output during optimization (Closes #202) * Update list of references * Fix model naming * Fix docker MPI issues * due to lack of SYS_PTRACE permissions (disable Vader) (Closes #185) * Disable Infiniband for OpenMPI * enable tcp via loopback * Set RelWithDebInfo as default build type * Update AMICI to v0.10.16 and PEtab v0.0.0a17 (#209) * Disable saving states and observables during optimization, as the current format does not support varying number of timepoints and crashes * Allow creation of virtual environment in the absence of ensurepip * Fix uninitialized usage warnings
- Loading branch information
Showing
114 changed files
with
2,081 additions
and
723 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# https://github.com/marketplace/actions/publish-docker | ||
name: Deploy to dockerhub | ||
on: [push] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- run: git archive -v -o container/charliecloud/parpe_base/parpe.tar.gz --format=tar.gz HEAD | ||
- name: Publish to Registry | ||
uses: elgohr/Publish-Docker-Github-Action@2.8 | ||
with: | ||
name: dweindl/parpe | ||
username: ${{ secrets.DOCKER_USERNAME }} | ||
password: ${{ secrets.DOCKER_PASSWORD }} | ||
workdir: container/charliecloud/parpe_base/ | ||
dockerfile: Dockerfile | ||
tag_names: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ on: | |
branches: | ||
- develop | ||
- master | ||
- test_action | ||
pull_request: | ||
branches: | ||
- master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
name: Performance test | ||
on: | ||
push: | ||
branches: | ||
- develop | ||
- master | ||
- feature_sparse_quadratures | ||
|
||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
with: | ||
fetch-depth: 20 | ||
|
||
# install dependencies | ||
- name: apt | ||
run: | | ||
sudo apt-get install -y swig3.0 libatlas-base-dev \ | ||
&& sudo ln -s /usr/bin/swig3.0 /usr/bin/swig | ||
- name: pip | ||
run: | | ||
pip3 install --upgrade --user wheel \ | ||
&& pip3 install --upgrade --user setuptools | ||
- run: pip3 install petab shyaml | ||
- run: | | ||
echo ::add-path::${HOME}/.local/bin/ | ||
echo ::add-path::${GITHUB_WORKSPACE}/tests/performance/ | ||
# install AMICI | ||
- name: Create AMICI sdist | ||
run: | | ||
cd python/sdist \ | ||
&& check_time.sh create_sdist /usr/bin/python3 setup.py sdist | ||
- name: Install AMICI sdist | ||
run: | | ||
AMICI_PARALLEL_COMPILE=2 check_time.sh \ | ||
install_sdist pip3 install -v --user \ | ||
$(ls -t python/sdist/dist/amici-*.tar.gz | head -1) | ||
# retrieve test model | ||
- run: git clone --depth 1 https://github.com/ICB-DCM/CS_Signalling_ERBB_RAS_AKT | ||
|
||
# import test model | ||
- name: Import test model | ||
run: | | ||
cd CS_Signalling_ERBB_RAS_AKT \ | ||
&& check_time.sh \ | ||
petab_import amici_import_petab.py -v \ | ||
-s 'PEtab/CS_Signalling_ERBB_RAS_AKT_petab.xml' \ | ||
-c 'PEtab/conditions_petab.tsv' \ | ||
-m 'PEtab/measurements_petab.tsv' \ | ||
-p 'PEtab/parameters_petab.tsv' --no-compile | ||
# install model package | ||
- name: Install test model | ||
run: | | ||
check_time.sh install_model \ | ||
python3 CS_Signalling_ERBB_RAS_AKT/CS_Signalling_ERBB_RAS_AKT_petab/setup.py install --user | ||
# run simulations | ||
- name: forward_simulation | ||
run: | | ||
check_time.sh forward_simulation tests/performance/test.py forward_simulation | ||
- name: forward_sensitivities | ||
run: | | ||
check_time.sh forward_sensitivities tests/performance/test.py forward_sensitivities | ||
- name: adjoint_sensitivities | ||
run: | | ||
check_time.sh adjoint_sensitivities tests/performance/test.py adjoint_sensitivities | ||
- name: forward_simulation_non_optimal_parameters | ||
run: | | ||
check_time.sh forward_simulation_non_optimal_parameters tests/performance/test.py forward_simulation_non_optimal_parameters | ||
- name: adjoint_sensitivities_non_optimal_parameters | ||
run: | | ||
check_time.sh adjoint_sensitivities_non_optimal_parameters tests/performance/test.py adjoint_sensitivities_non_optimal_parameters |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.