ATMOSPEC - ab initio workflow for UV/VIS spectroscopy of organic molecules.
See the following screencast -- https://youtu.be/1ePj1hhOFdw
MIT License, for full text see LICENSE.
This project has been funded by European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation programme (Grant agreement No. 803718, project SINDAM), and the EPSRC Grant EP/V026690/1 UPDICE.
NOTE: The details of some of the commands will depend on your OS and its version. The concrete examples are based on Ubuntu 20.04.
NOTE: If you're downloading for Linux, choose the "shared-version", which has much smaller download size.
sudo apt install docker.io
Then add yourself to the docker
unix group and restart the shell session
sudo usermod -a -G docker $USER
- Install pipx
sudo apt install python-venv pipx
- Install
aiidalab-launch
to manage the AiiDAlab containers
pipx install aiidalab-launch
If pipx is giving you trouble, you should be able to install via pip as well.
docker pull ghcr.io/ispg-group/atmospec:latest
This image is built and published in a separate Github repository, which you can visit for more information.
While you can launch the Docker container directly using the docker
command,
it is much more convenient to use the aiidalab-launch application.
Let's first modify the default profile to include to ATMOSPEC app from this repo
aiidalab-launch profile edit default
This should open your default text editor. Copy-paste the following profile configuration (substitute path to ORCA and the Docker image name if needed)
port = 8888
default_apps = [ "aiidalab-ispg@git+https://github.com/ispg-group/aiidalab-ispg.git@main",]
system_user = "jovyan"
image = "ghcr.io/ispg-group/atmospec:latest"
home_mount = "aiidalab_atmospec_home"
extra_mounts = ["/absolute/path/to/orca/:/opt/orca:ro",]
With this configuration, all the data will be stored in a separate Docker volume aiidalab_atmospec_home
.
Alternatively, you can specify the absolute path to a directory in your file system to store the data, for example
home_mount = "/home/username/aiidalab_atmospec_home/"
- Launch the container
aiidalab-launch start
This command will print the URL that you can then access in the browser.
With the configuration above it should be http://localhost:8888
- Stop the container
aiidalab-launch stop
- Print container status
aiidalab-launch status
- Run a command inside a running container
aiidalab-launch exec -- <command>
- Entering the container
docker exec -it -u jovyan aiidalab_atmospec /bin/bash
To display all available commands
aiidalab-launch --help
Re-install packages for development in the container
aiidalab-launch exec -- pip install --user -e /home/aiida/apps/aiidalab-ispg/