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
635a916a
Commit
635a916a
authored
2 years ago
by
Wouter Deconinck
Browse files
Options
Downloads
Patches
Plain Diff
ATHENA_PREFIX -> EIC_SHELL_PREFIX
parent
fda0da91
No related branches found
No related tags found
1 merge request
!319
ATHENA_PREFIX -> EIC_SHELL_PREFIX
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+1
-1
1 addition, 1 deletion
README.md
containers/jug/profile.d/z11_jug_env.sh
+4
-4
4 additions, 4 deletions
containers/jug/profile.d/z11_jug_env.sh
install.sh
+5
-5
5 additions, 5 deletions
install.sh
tests/tutorial/part1.sh
+1
-1
1 addition, 1 deletion
tests/tutorial/part1.sh
with
11 additions
and
11 deletions
README.md
+
1
−
1
View file @
635a916a
...
...
@@ -29,7 +29,7 @@ eic-shell
```
4.
Within your development environment (
`eic-shell`
), you can install software to the
internal
`$
ATHENA
_PREFIX`
internal
`$
EIC_SHELL
_PREFIX`
Singularity Container setup for Development Usage
-------------
...
...
This diff is collapsed.
Click to expand it.
containers/jug/profile.d/z11_jug_env.sh
+
4
−
4
View file @
635a916a
#!/bin/bash
export
BINARY_TAG
=
x86_64-linux-gcc9-opt
if
[
!
-z
${
ATHENA
_PREFIX
}
]
;
then
if
[
"
$LD_LIBRARY_PATH
"
!=
*
"
${
ATHENA
_PREFIX
}
/lib"
*
]
;
then
export
LD_LIBRARY_PATH
=
$
ATHENA
_PREFIX
/lib:
$LD_LIBRARY_PATH
export
PATH
=
$
ATHENA
_PREFIX
/bin:
$PATH
if
[
!
-z
${
EIC_SHELL
_PREFIX
}
]
;
then
if
[
"
$LD_LIBRARY_PATH
"
!=
*
"
${
EIC_SHELL
_PREFIX
}
/lib"
*
]
;
then
export
LD_LIBRARY_PATH
=
$
EIC_SHELL
_PREFIX
/lib:
$LD_LIBRARY_PATH
export
PATH
=
$
EIC_SHELL
_PREFIX
/bin:
$PATH
fi
fi
...
...
This diff is collapsed.
Click to expand it.
install.sh
+
5
−
5
View file @
635a916a
...
...
@@ -4,7 +4,7 @@
## in your local environment under $PREFIX/local/lib
## and creates a simple top-level launcher script
## that launches the container for this working directory
## with the $
ATHENA
_PREFIX variable pointing
## with the $
EIC_SHELL
_PREFIX variable pointing
## to the $PREFIX/local directory
CONTAINER
=
"jug_xl"
...
...
@@ -195,7 +195,7 @@ function install_singularity() {
done
## create a new top-level eic-shell launcher script
## that sets the
ATHENA
_PREFIX and then starts singularity
## that sets the
EIC_SHELL
_PREFIX and then starts singularity
cat
<<
EOF
> eic-shell
#!/bin/bash
...
...
@@ -278,7 +278,7 @@ if [ ! -z \${UPGRADE} ]; then
exit 0
fi
export
ATHENA
_PREFIX=
$PREFIX
/local
export
EIC_SHELL
_PREFIX=
$PREFIX
/local
export SINGULARITY_BINDPATH=
$BINDPATH
\$
{SINGULARITY:-
$SINGULARITY
} exec
\$
{SINGULARITY_OPTIONS:-}
\$
{SIF:-
$SIF
} eic-shell
\$
@
EOF
...
...
@@ -325,7 +325,7 @@ function install_docker() {
fi
## create a new top-level eic-shell launcher script
## that sets the
magix
PREFIX and then starts singularity
## that sets the
EIC_SHELL_
PREFIX and then starts singularity
cat
<<
EOF
> eic-shell
#!/bin/bash
...
...
@@ -384,7 +384,7 @@ if [ ! -z \${UPGRADE} ]; then
exit 0
fi
docker run
$PLATFORM_FLAG
$MOUNT
-w=
$PWD
-it --rm -e
ATHENA
_PREFIX=
$PREFIX
/local
$IMG
eic-shell
\$
@
docker run
$PLATFORM_FLAG
$MOUNT
-w=
$PWD
-it --rm -e
EIC_SHELL
_PREFIX=
$PREFIX
/local
$IMG
eic-shell
\$
@
EOF
chmod
+x eic-shell
...
...
This diff is collapsed.
Click to expand it.
tests/tutorial/part1.sh
+
1
−
1
View file @
635a916a
...
...
@@ -4,7 +4,7 @@ source /opt/detector/setup.sh
git clone https://eicweb.phy.anl.gov/EIC/tutorials/ip6_tutorial_1.git part1
pushd
part1
cmake
-B
build
-S
.
-DCMAKE_INSTALL_PREFIX
=
$
ATHENA
_PREFIX
-DCMAKE_CXX_STANDARD
=
17
cmake
-B
build
-S
.
-DCMAKE_INSTALL_PREFIX
=
$
EIC_SHELL
_PREFIX
-DCMAKE_CXX_STANDARD
=
17
cmake
--build
build
-j4
--
install
dd_web_display
--export
gem_tracker.xml
checkOverlaps
-t
0.0001
-c
gem_tracker.xml
...
...
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