Skip to content
Snippets Groups Projects
Commit 05a6e10e authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: getting-started/eic_container.md

	modified:   getting-started/quickstart.mdx
	modified:   getting-started/singularity.md
parent 337421ea
No related branches found
No related tags found
No related merge requests found
Pipeline #10019 passed
...@@ -11,14 +11,12 @@ git clone ... ...@@ -11,14 +11,12 @@ git clone ...
## Installing the container ## Installing the container
```shell ```shell
mkdir build todo
cmake ../. -DCMAKE_INSTALL_PREFIX=$HOME/stow/eic_container_1.0.0
make -j4 install
``` ```
## Using the container ## Using the container
```bash ```bash
module load eic_container todo
``` ```
...@@ -53,7 +53,6 @@ module load eic_container ...@@ -53,7 +53,6 @@ module load eic_container
[Also see environment](environment) for more info. [Also see environment](environment) for more info.
## Development within singularity container ## Development within singularity container
[See here](singularity) for more info on singularity. [See here](singularity) for more info on singularity.
......
...@@ -2,8 +2,8 @@ ...@@ -2,8 +2,8 @@
title: "Singularity" title: "Singularity"
--- ---
Singularity is installed on `eic0.phy.anl.gov`, `bebop.lcrc.anl.gov`, and most HPC systems. [Singularity](https://sylabs.io/docs/) is likely to be already installed on most large HPC system.
Singularity ships the entire container image in a single file. See the extensive singularity documentation to learn more.
```bash ```bash
git clone git@eicweb.phy.anl.gov/containers/eic_container.git git clone git@eicweb.phy.anl.gov/containers/eic_container.git
cd container cd container
...@@ -13,9 +13,9 @@ cd container ...@@ -13,9 +13,9 @@ cd container
## Using the container ## Using the container
## Tip ## Tips
In your `.bashrc` add In your `.bashrc` add something like this:
```bash ```bash
if [ ! -e /environment ] ; then if [ ! -e /environment ] ; then
running_singularity= running_singularity=
...@@ -25,7 +25,8 @@ fi ...@@ -25,7 +25,8 @@ fi
# ... # ...
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]${running_singularity}\$ ' PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]${running_singularity}\$ '
``` ```
If you are running inside a singularity container your commandline prompt will inform you: If you are running inside a singularity container your commandline prompt will now inform you:
<pre><font color="#8AE234"><b>user@host</b></font>:<font color="#729FCF"><b>~/stow/eic_container_0.9.13/lib</b></font>\#singularity$</pre>
<pre><font color="#8AE234"><b>whit@wpad</b></font>:<font color="#729FCF"><b>~/stow/eic_container_0.9.13/lib</b></font>\#singularity$</pre>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment