Skip to content

Commit

Permalink
Install manager
Browse files Browse the repository at this point in the history
  • Loading branch information
gmatteo committed Jul 18, 2018
1 parent 302b6e9 commit 8a23aef
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 9 deletions.
14 changes: 8 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,26 @@ install:
- |
if [ "${ABIPY_INSTALLER}" == "conda" ]; then
source dev_scripts/conda_get.sh
# Add channels
conda config --add channels conda-forge
conda config --add channels matsci
conda config --add channels abinit
# Install abinit and abipy from conda channels.
conda install abinit
conda install abipy
conda install -y --file ./requirements.txt
conda install -y --file ./requirements-optional.txt
conda install -y abinit
elif [ "${ABIPY_INSTALLER}" == "conda_environment" ]; then
# Build conda env from environment.yml
# Build conda env from environment.yml produced with:
# conda env export | grep -v "^prefix: " > environment.yml
source dev_scripts/conda_get.sh
conda env update --file=binder/environment.yml
fi
- mkdir -p ${HOME}/.abinit/abipy
- cp managers/scheduler.yml ${HOME}/.abinit/abipy/scheduler.yml
- cp managers/manager.yml ${HOME}/.abinit/abipy/manager.yml

#before_script:
# This to run tests requiring a graphical user e.g. mayavi
# https://docs.travis-ci.com/user/gui-and-headless-browsers/#Using-xvfb-to-Run-Tests-That-Require-a-GUI
Expand Down
2 changes: 1 addition & 1 deletion managers/manager.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ qadapters:
job:
mpi_runner: mpirun
#pre_run:
# - source activate abienv
# - source activate abitutorials
# - export PATH=$HOME/git_repos/abinit_build_impi/src/98_main:$PATH
# - ulimit -s unlimited
#modules:
Expand Down
2 changes: 0 additions & 2 deletions requirements-optional.txt

This file was deleted.

4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ networkx
scikit-image
#graphviz or python-graphviz if conda
#mayavi

# Unit tests
pytest
pytest-cov

0 comments on commit 8a23aef

Please sign in to comment.