From 73ef67eed9c62ab85b7de4e534833bfd86af91c2 Mon Sep 17 00:00:00 2001 From: Sylvester Joosten <sjoosten@anl.gov> Date: Thu, 20 May 2021 04:08:15 +0000 Subject: [PATCH] update readme --- README.md | 38 ++++++++++++++++++++++++++++++-------- install.py | 2 +- 2 files changed, 31 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c6cda9eaf..ab842946a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,30 @@ EIC software container ============================================ +Simple Installation +------------ +1. Create a local directory that you want to work in, e.g `$HOME/eic`, and go into this + directory. +```bash +mkdir $HOME/eic +cd $HOME/eic +``` + +2. Execute the following line in your terminal to setup your environment in this directory + to install the latest stable container +```bash +curl https://eicweb.phy.anl.gov/containers/eic_container/-/raw/master/install.sh | bash +``` + +3. You can now load your development environment by executing the `eic-shell` script that + is in your top-level working directory. +```bash +eic-shell +``` + +4. Within your development environment (`eic-shell`), you can install software to the + internal `$ATHENA_PREFIX` + Installation ------------ @@ -15,17 +39,17 @@ cd eic_container modeuefile will be installed to `$PREFIX/../../etc/modulefiles`. You can use the `-v` flag to select the version you want to install, or omit the flag if you want to install the master build. The recommended stable - release version is `v2.9.2`. + release version is `v3.0.0`. ```bash -./install.py -v 2.9.2 <PREFIX> +./install.py -v 3.0.0 <PREFIX> ``` Available flags: ```bash -c CONTAINER, --container CONTAINER - (opt.) Container to install. D: eic (will migrate to jug_xl for v3.0). + (opt.) Container to install. D: jug_xl (also available: jug_dev, and legacy eic container). -v VERSION, --version VERSION - (opt.) project version. D: 2.9.2. For MRs, use mr-XXX. + (opt.) project version. D: 3.0.0. For MRs, use mr-XXX. -f, --force Force-overwrite already downloaded container -b BIND_PATHS, --bind-path BIND_PATHS (opt.) extra bind paths for singularity. @@ -40,7 +64,7 @@ cd eic_container module load eic_container ``` -4. To use the container in local mode, you can install the container with the `-l` flag, +4. To use the container in local mode, you can install the container without the `-m` flag, and then use the runscripts (under `$PREFIX/bin`) manually. ```bash ./install.py $PREFIX -l @@ -124,6 +148,4 @@ Included software: - opencascade - madx@5.06.1 - The singularity build exports the following applications: - - eic_shell: a development shell in the image - - container_dev: same as EIC shell - - ipython + - eic-shell: a development shell in the image diff --git a/install.py b/install.py index 89ba149da..4fff17b69 100755 --- a/install.py +++ b/install.py @@ -177,7 +177,7 @@ if __name__ == "__main__": dest='container', default=DEFAULT_IMG, help='(opt.) Container to install. ' - 'D: {} (will migrate to jug_xl for v3.0).'.format(DEFAULT_IMG)) + 'D: {} (also available: jug_dev, and legacy "eic" container).') parser.add_argument( '-v', '--version', dest='version', -- GitLab