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
5de0beda
Commit
5de0beda
authored
2 years ago
by
Ujwal Kundur
Committed by
Wouter Deconinck
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Copy changes from jug/xl.Dockerfile to oneapi/onexl.Dockerfile
parent
7fb19b6b
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
containers/oneapi/onexl.Dockerfile
+20
-33
20 additions, 33 deletions
containers/oneapi/onexl.Dockerfile
with
20 additions
and
33 deletions
containers/oneapi/onexl.Dockerfile
+
20
−
33
View file @
5de0beda
...
...
@@ -13,9 +13,6 @@ ARG EICWEB="https://eicweb.phy.anl.gov/api/v4/projects"
ARG
JUGGLER_VERSION="master"
ARG
NPDET_VERSION="master"
ARG
EICD_VERSION="master"
## afterburner
## TODO move to spack build
ARG
AFTERBURNER_VERSION=main
## version will automatically bust cache for nightly, as it includes
## the date
...
...
@@ -23,7 +20,6 @@ ARG JUG_VERSION=1
ADD
${EICWEB}/18/repository/tree?ref=${NPDET_VERSION} /tmp/18.json
ADD
${EICWEB}/373/repository/tree?ref=${EICD_VERSION} /tmp/373.json
ADD
${EICWEB}/492/repository/tree?ref=${AFTERBURNER_VERSION} /tmp/492.json
RUN
cd
/tmp
\
&&
echo
" - jug_xl:
${
JUG_VERSION
}
"
>>
/etc/jug_info
\
&&
echo
"INSTALLING NPDET"
\
...
...
@@ -44,19 +40,7 @@ RUN cd /tmp
&&
pushd
eicd
\
&&
echo
" - EICD:
${
EICD_VERSION
}
-
$(
git rev-parse HEAD
)
"
>>
/etc/jug_info
\
&&
popd
\
&&
rm
-rf
build eicd
\
&&
cd
/tmp
\
&&
echo
"INSTALLING AFTERBURNER"
\
&&
git clone
-b
${
AFTERBURNER_VERSION
}
--depth
1
\
https://eicweb.phy.anl.gov/monte_carlo/afterburner.git
\
&&
cmake
-B
build
-S
afterburner/cpp
-DCMAKE_INSTALL_PREFIX
=
/usr/local
\
-DCMAKE_CXX_STANDARD
=
17
\
&&
cmake
--build
build
-j12
--target
all
--
install
\
&&
pushd
afterburner
\
&&
echo
" - afterburner:
${
AFTERBURNER_VERSION
}
-
$(
git rev-parse HEAD
)
"
\
>>
jug_info
\
&&
popd
\
&&
rm
-rf
build afterburner
&&
rm
-rf
build eicd
ADD
${EICWEB}/369/repository/tree?ref=${JUGGLER_VERSION} /tmp/369.json
RUN
cd
/tmp
\
...
...
@@ -72,25 +56,12 @@ RUN cd /tmp
&&
popd
\
&&
rm
-rf
build juggler
## also install detector/ip geometries into opt
ARG
NIGHTLY=''
ADD
${EICWEB}/473/repository/tree?ref=master /tmp/473.json
ADD
${EICWEB}/452/repository/tree?ref=master /tmp/452.json
COPY
setup_detectors.py /tmp
COPY
detectors.yaml /tmp
RUN
cd
/tmp
\
&&
[
"z
$NIGHTLY
"
=
"z1"
]
&&
NIGHTLY_FLAG
=
"--nightly"
||
NIGHTLY_FLAG
=
""
\
&&
/tmp/setup_detectors.py
--prefix
/opt/detector
--config
/tmp/detectors.yaml
\
$NIGHTLY_FLAG
\
&&
rm
/tmp/setup_detectors.py
## Install benchmarks into the container
ARG
BENCHMARK_COM_VERSION="master"
ARG
BENCHMARK_DET_VERSION="master"
ARG
BENCHMARK_REC_VERSION="master"
ARG
BENCHMARK_PHY_VERSION="master"
## cache bust when updated repositories
ADD
${EICWEB}/458/repository/tree?ref=${BENCHMARK_COM_VERSION} /tmp/485.json
ADD
${EICWEB}/399/repository/tree?ref=${BENCHMARK_DET_VERSION} /tmp/399.json
ADD
${EICWEB}/408/repository/tree?ref=${BENCHMARK_REC_VERSION} /tmp/408.json
...
...
@@ -116,12 +87,11 @@ RUN mkdir -p /opt/benchmarks
&&
ln
-sf
../common_bench physics_benchmarks/.local
## Install campaigns into the container
ARG
CAMPAIGNS_SINGLE_VERSION="main"
ARG
CAMPAIGNS_HEPMC3_VERSION="main"
ARG
CAMPAIGNS_CONDOR_VERSION="main"
ARG
CAMPAIGNS_SLURM_VERSION="main"
## cache bust when updated repositories
ADD
${EICWEB}/482/repository/tree?ref=${CAMPAIGNS_SINGLE_VERSION} /tmp/482.json
ADD
${EICWEB}/483/repository/tree?ref=${CAMPAIGNS_HEPMC3_VERSION} /tmp/483.json
ADD
${EICWEB}/484/repository/tree?ref=${CAMPAIGNS_CONDOR_VERSION} /tmp/484.json
...
...
@@ -142,3 +112,20 @@ RUN mkdir -p /opt/campaigns
&&
cd
/opt/campaigns
\
&&
git clone
-b
${
CAMPAIGNS_SLURM_VERSION
}
--depth
1
\
https://eicweb.phy.anl.gov/EIC/campaigns/slurm.git
## also install detector/ip geometries into opt
ARG
NIGHTLY=''
## cache bust when updated repositories
# - just master on eicweb (FIXME too narrow)
ADD
${EICWEB}/473/repository/tree?ref=master /tmp/473.json
ADD
${EICWEB}/452/repository/tree?ref=master /tmp/452.json
# - all branches for ip6 and epic on github
ADD
https://api.github.com/repos/eic/ip6 /tmp/ip6.json
ADD
https://api.github.com/repos/eic/epic /tmp/epic.json
COPY
setup_detectors.py /tmp
COPY
detectors.yaml /tmp
RUN
cd
/tmp
\
&&
[
"z
$NIGHTLY
"
=
"z1"
]
&&
NIGHTLY_FLAG
=
"--nightly"
||
NIGHTLY_FLAG
=
""
\
&&
/tmp/setup_detectors.py
--prefix
/opt/detector
--config
/tmp/detectors.yaml
\
$NIGHTLY_FLAG
\
&&
rm
/tmp/setup_detectors.py
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