-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #471 from mala-project/develop
MALA v1.2.0
- Loading branch information
Showing
151 changed files
with
11,568 additions
and
6,760 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
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,13 +4,15 @@ on: [push, delete] | |
|
||
jobs: | ||
mirror-to-CASUS: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- name: mirror-repository | ||
uses: spyoungtech/mirror-action@v0.4.0 | ||
uses: spyoungtech/mirror-action@v0.6.0 | ||
with: | ||
REMOTE: [email protected]:casus/mala.git | ||
REMOTE: 'ssh://[email protected]/casus/mala.git' | ||
GIT_SSH_PRIVATE_KEY: ${{ secrets.GIT_SSH_KEY }} | ||
GIT_SSH_NO_VERIFY_HOST: "true" | ||
DEBUG: "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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -173,3 +173,9 @@ cython_debug/ | |
|
||
# Git files | ||
.gitconfig | ||
|
||
# HDF5 files | ||
*.h5 | ||
|
||
*.zip | ||
*~ |
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 |
---|---|---|
@@ -1,19 +1,28 @@ | ||
FROM continuumio/miniconda3:4.9.2 | ||
MAINTAINER Daniel Kotik <[email protected]> | ||
FROM continuumio/miniconda3:22.11.1 | ||
LABEL maintainer="[email protected]" | ||
|
||
# Update the image to the latest packages | ||
RUN apt-get --allow-releaseinfo-change update && apt-get upgrade -y | ||
|
||
RUN apt-get install --no-install-recommends -y build-essential libz-dev swig git-lfs cmake | ||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* | ||
# Update the image and install essential packages | ||
RUN apt-get --allow-releaseinfo-change update && apt-get upgrade -y && \ | ||
apt-get install --no-install-recommends -y \ | ||
build-essential \ | ||
libz-dev \ | ||
swig \ | ||
git-lfs \ | ||
cmake && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Choose 'cpu' or 'gpu' | ||
ARG DEVICE=cpu | ||
COPY install/mala_${DEVICE}_environment.yml . | ||
RUN conda env create -f mala_${DEVICE}_environment.yml && rm -rf /opt/conda/pkgs/* | ||
|
||
# Install optional MALA dependencies into Conda environment with pip | ||
RUN /opt/conda/envs/mala-${DEVICE}/bin/pip install --no-input --no-cache-dir pytest oapackage==2.6.8 pqkmeans | ||
RUN /opt/conda/envs/mala-${DEVICE}/bin/pip install --no-input --no-cache-dir \ | ||
pytest \ | ||
oapackage==2.6.8 \ | ||
openpmd-api==0.15.1 \ | ||
pqkmeans | ||
|
||
RUN echo "source activate mala-${DEVICE}" > ~/.bashrc | ||
ENV PATH /opt/conda/envs/mala-${DEVICE}/bin:$PATH | ||
|
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 |
---|---|---|
|
@@ -3,3 +3,4 @@ Sphinx==4.5.* | |
sphinx-rtd-theme==1.0.0 | ||
myst-parser==0.17.2 | ||
sphinx-markdown-tables==0.0.17 | ||
sphinx-copybutton==0.5.1 |
Oops, something went wrong.