Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
physics_benchmarks
Manage
Activity
Members
Labels
Plan
Issues
16
Issue boards
Milestones
Wiki
Code
Merge requests
7
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
EIC
benchmarks
physics_benchmarks
Commits
7c2c013e
Commit
7c2c013e
authored
4 years ago
by
Sylvester Joosten
Browse files
Options
Downloads
Patches
Plain Diff
Added launcher script
parent
89e25aa5
No related branches found
Branches containing commit
No related tags found
1 merge request
!2
DVMP work
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+2
-0
2 additions, 0 deletions
.gitignore
util/start_dev_shell.sh
+21
-0
21 additions, 0 deletions
util/start_dev_shell.sh
with
23 additions
and
0 deletions
.gitignore
+
2
−
0
View file @
7c2c013e
...
@@ -43,3 +43,5 @@ calorimeters/test/
...
@@ -43,3 +43,5 @@ calorimeters/test/
# output files
# output files
results/*
results/*
*.sif
This diff is collapsed.
Click to expand it.
util/start_dev_shell.sh
0 → 100755
+
21
−
0
View file @
7c2c013e
#!/bin/bash
OS
=
`
uname
-s
`
if
[
"
${
OS
}
"
=
"Linux"
]
;
then
echo
"Detected OS: Linux"
if
[
!
-f
juggler_latest.sif
]
;
then
echo
"Need to create singularity image"
singularity pull docker://docker.io/sly2j/juggler:latest
fi
echo
"Launching dev shell (through singularity)..."
singularity
exec
juggler_latest.sif eic-shell
elif
[
"
${
OS
}
"
=
"Darwin"
]
;
then
echo
"Detector OS: MacOS"
echo
"Syncing docker container"
docker pull sly2j/juggler:latest
echo
"Launching dev shell (through docker)..."
docker run
-i
-t
--rm
sly2j/juggler:latest eic-shell
else
echo
"ERROR: dev shell not available for this OS (
${
OS
}
)"
fi
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