Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
containers
eic_container
Commits
89c9b1e2
Commit
89c9b1e2
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Plain Diff
Merge branch '55-add-simple-curl-deploy' into 'master'
update readme Closes
#55
See merge request
!49
parents
5d689912
73ef67ee
No related branches found
No related tags found
1 merge request
!49
update readme
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+30
-8
30 additions, 8 deletions
README.md
install.py
+1
-1
1 addition, 1 deletion
install.py
with
31 additions
and
9 deletions
README.md
+
30
−
8
View file @
89c9b1e2
EIC software container
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
Installation
------------
------------
...
@@ -15,17 +39,17 @@ cd eic_container
...
@@ -15,17 +39,17 @@ cd eic_container
modeuefile will be installed to
`$PREFIX/../../etc/modulefiles`
.
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
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
flag if you want to install the master build. The recommended stable
release version is
`v
2.9.2
`
.
release version is
`v
3.0.0
`
.
```
bash
```
bash
./install.py
-v
2.9.2
<PREFIX>
./install.py
-v
3.0.0
<PREFIX>
```
```
Available flags:
Available flags:
```
bash
```
bash
-c
CONTAINER,
--container
CONTAINER
-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
-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
-f
,
--force
Force-overwrite already downloaded container
-b
BIND_PATHS,
--bind-path
BIND_PATHS
-b
BIND_PATHS,
--bind-path
BIND_PATHS
(
opt.
)
extra
bind
paths
for
singularity.
(
opt.
)
extra
bind
paths
for
singularity.
...
@@ -40,7 +64,7 @@ cd eic_container
...
@@ -40,7 +64,7 @@ cd eic_container
module load 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 with
out
the
`-
m`
flag,
and then use the runscripts (under
`$PREFIX/bin`
) manually.
and then use the runscripts (under
`$PREFIX/bin`
) manually.
```
bash
```
bash
./install.py
$PREFIX
-l
./install.py
$PREFIX
-l
...
@@ -124,6 +148,4 @@ Included software:
...
@@ -124,6 +148,4 @@ Included software:
-
opencascade
-
opencascade
-
madx@5.06.1
-
madx@5.06.1
-
The singularity build exports the following applications:
-
The singularity build exports the following applications:
-
eic_shell: a development shell in the image
-
eic-shell: a development shell in the image
-
container_dev: same as EIC shell
-
ipython
This diff is collapsed.
Click to expand it.
install.py
+
1
−
1
View file @
89c9b1e2
...
@@ -177,7 +177,7 @@ if __name__ == "__main__":
...
@@ -177,7 +177,7 @@ if __name__ == "__main__":
dest
=
'
container
'
,
dest
=
'
container
'
,
default
=
DEFAULT_IMG
,
default
=
DEFAULT_IMG
,
help
=
'
(opt.) Container to install.
'
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
(
parser
.
add_argument
(
'
-v
'
,
'
--version
'
,
'
-v
'
,
'
--version
'
,
dest
=
'
version
'
,
dest
=
'
version
'
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment