Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
course-container
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor 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
EnJoY
course-container
Commits
dc4034e3
Commit
dc4034e3
authored
1 year ago
by
Jonas Eppelt
Browse files
Options
Downloads
Patches
Plain Diff
testing installing geant with conda
parent
901abbee
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
tp/hstart-notebook.sh
+0
-19
0 additions, 19 deletions
tp/hstart-notebook.sh
tp/vector-0.8.5.dev9+g340b711-py3-none-any.whl
+0
-0
0 additions, 0 deletions
tp/vector-0.8.5.dev9+g340b711-py3-none-any.whl
tp_geant/Dockerfile
+15
-13
15 additions, 13 deletions
tp_geant/Dockerfile
with
15 additions
and
32 deletions
tp/hstart-notebook.sh
deleted
100755 → 0
+
0
−
19
View file @
901abbee
#!/bin/bash
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
set
-e
wrapper
=
""
if
[[
"
${
RESTARTABLE
}
"
==
"yes"
]]
;
then
wrapper
=
"run-one-constantly"
fi
if
[[
!
-z
"
${
JUPYTERHUB_API_TOKEN
}
"
]]
;
then
# launched by JupyterHub, use single-user entrypoint
exec
/usr/local/bin/start-singleuser.sh
"
$@
"
elif
[[
!
-z
"
${
JUPYTER_ENABLE_LAB
}
"
]]
;
then
.
/usr/local/bin/start.sh
$wrapper
jupyter lab
"
$@
"
else
.
/usr/local/bin/start.sh
$wrapper
jupyter notebook
"
$@
"
fi
This diff is collapsed.
Click to expand it.
tp/vector-0.8.5.dev9+g340b711-py3-none-any.whl
deleted
100755 → 0
+
0
−
0
View file @
901abbee
File deleted
This diff is collapsed.
Click to expand it.
tp_geant/Dockerfile
+
15
−
13
View file @
dc4034e3
...
...
@@ -27,19 +27,21 @@ RUN apt-get -y update \
&&
rm
-rf
/var/lib/apt/lists/
*
### Install Geant4
RUN
mkdir
geant4-source
\
&&
SDIR
=
$(
readlink
-f
geant4-source
)
\
&&
wget
-q
-O
- http://cern.ch/geant4-data/releases/geant4.11.1.1.tar.gz |
tar
xzf -
-C
"geant4-source"
\
&&
mkdir
geant4-build
&&
pushd
geant4-build
\
&&
cmake
-DCMAKE_INSTALL_PREFIX
=
/opt/geant4
\
-DGEANT4_INSTALL_EXAMPLES
=
OFF
\
-DGEANT4_USE_OPENGL_X11
=
ON
\
-DGEANT4_USE_PYTHON
=
ON
\
-DGEANT4_INSTALL_DATA
=
OFF
\
${
SDIR
}
/geant4.11.1.1.p02
\
&&
make
-j4
&&
make
install
\
&&
popd
\
&&
rm
-rf
geant4-source geant4-build
RUN
conda
install
-c
conda-forge geant4
#RUN mkdir geant4-source \
# && SDIR=$(readlink -f geant4-source) \
# && wget -q -O - http://cern.ch/geant4-data/releases/geant4.11.1.1.tar.gz | tar xzf - -C "geant4-source" \
# && mkdir geant4-build && pushd geant4-build \
# && cmake -DCMAKE_INSTALL_PREFIX=/opt/geant4 \
# -DGEANT4_INSTALL_EXAMPLES=OFF \
# -DGEANT4_USE_OPENGL_X11=ON \
# -DGEANT4_USE_PYTHON=ON \
# -DGEANT4_INSTALL_DATA=OFF \
# ${SDIR}/geant4.11.1.1.p02 \
# && make -j4 && make install \
# && popd \
# && rm -rf geant4-source geant4-build
ENV
PYTHONPATH=$PYTHONPATH:/opt/geant4/lib/python3.9/site-packages \
PATH=/opt/geant4/bin:$PATH \
...
...
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