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
a30f1ccb
Commit
a30f1ccb
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
renamed deploy-->install to avoid confusion
parent
0d65f8b6
No related branches found
No related tags found
1 merge request
!18
Re-factor repository workflow
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+9
-9
9 additions, 9 deletions
README.md
install.py
+0
-0
0 additions, 0 deletions
install.py
with
9 additions
and
9 deletions
README.md
+
9
−
9
View file @
a30f1ccb
...
...
@@ -10,14 +10,14 @@ git clone https://eicweb.phy.anl.gov/containers/eic_container.git
cd
eic_container
```
2.
Run the
deploy
script
`
deploy
.py`
to install to your
`<PREFIX>`
of choice
2.
Run the
install
script
`
install
.py`
to install to your
`<PREFIX>`
of choice
(e.g. $HOME/local/opt/eic_container_1.0.4). By default the
modeuefile will be installed to
`$PREFIX/../../etc/modulefiles`
.
You can use the
`-v`
flag to select the version you want to
deploy
, 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
release version is
`v2.5.0`
.
```
bash
./
deploy
.py
-v
2.5.0 <PREFIX>
./
install
.py
-v
2.5.0 <PREFIX>
```
Available flags:
...
...
@@ -29,7 +29,7 @@ cd eic_container
-m
MODULE_PATH,
--module-path
MODULE_PATH
(
opt.
)
Root module path where you want to
install
a
modulefile. D: <prefix>/../../etc/modulefiles
-l
,
--local
Local
deploy
, will not
install
the modulefiles
(
you will have
-l
,
--local
Local
install
, will not
install
the modulefiles
(
you will have
to run the launcher scripts from their relative paths
)
.
-f
,
--force
Force-overwrite already downloaded container with the same name.
```
...
...
@@ -41,16 +41,16 @@ cd eic_container
module load eic_container
```
4.
To use the container in local mode, you can
deploy
the container with the
`-l`
flag,
4.
To use the container in local mode, you can
install
the container with the
`-l`
flag,
and then use the runscripts (under
`$PREFIX/bin`
) manually.
```
bash
./
deploy
.py
$PREFIX
-l
./
install
.py
$PREFIX
-l
...
$PREFIX
/bin/eic-shell
```
4.
(Advanced) If you need to add additional bind directives for the internal singularity container,
you can add them with the
`-b`
flag. Run
`./
deploy
.py -h`
to see a list of all
you can add them with the
`-b`
flag. Run
`./
install
.py -h`
to see a list of all
supported options.
Usage
...
...
@@ -75,9 +75,9 @@ eic-shell
### B. Running the singularity development locally (without modulefiles)
1.
This is assuming you
deploy
ed with the
`-l`
flag to a prefix
`$PREFIX`
:
1.
This is assuming you
install
ed with the
`-l`
flag to a prefix
`$PREFIX`
:
```
bash
./
deploy
.py
$PREFIX
./
install
.py
$PREFIX
```
2.
To start a shell in the container environment, do
...
...
This diff is collapsed.
Click to expand it.
deploy
.py
→
install
.py
+
0
−
0
View file @
a30f1ccb
File moved
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