Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
image_recipes
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
image_recipes
Merge requests
!1
Adding bmad simulation
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Adding bmad simulation
bmad
into
master
Overview
0
Commits
18
Pipelines
2
Changes
8
Open
Whitney Armstrong
requested to merge
bmad
into
master
4 years ago
Overview
0
Commits
18
Pipelines
2
Changes
8
Expand
Following build found here
https://wiki.classe.cornell.edu/ACC/ACL/DockerDoc
0
0
Merge request reports
Compare
master
version 17
79db4183
2 years ago
version 16
a714304c
4 years ago
version 15
781367d3
4 years ago
version 14
55b8a8e8
4 years ago
version 13
e2f9400a
4 years ago
version 12
3f179d03
4 years ago
version 11
cd10eb6a
4 years ago
version 10
14db438a
4 years ago
version 9
1468921c
4 years ago
version 8
042115c0
4 years ago
version 7
4d9c38b0
4 years ago
version 6
7456e7fd
4 years ago
version 5
63911a92
4 years ago
version 4
12e8e892
4 years ago
version 3
944eb819
4 years ago
version 2
651e8f38
4 years ago
version 1
cbb7596d
4 years ago
master (HEAD)
and
latest version
latest version
6c89671a
18 commits,
2 years ago
version 17
79db4183
17 commits,
2 years ago
version 16
a714304c
17 commits,
4 years ago
version 15
781367d3
16 commits,
4 years ago
version 14
55b8a8e8
15 commits,
4 years ago
version 13
e2f9400a
14 commits,
4 years ago
version 12
3f179d03
13 commits,
4 years ago
version 11
cd10eb6a
12 commits,
4 years ago
version 10
14db438a
11 commits,
4 years ago
version 9
1468921c
10 commits,
4 years ago
version 8
042115c0
9 commits,
4 years ago
version 7
4d9c38b0
8 commits,
4 years ago
version 6
7456e7fd
7 commits,
4 years ago
version 5
63911a92
5 commits,
4 years ago
version 4
12e8e892
4 commits,
4 years ago
version 3
944eb819
3 commits,
4 years ago
version 2
651e8f38
2 commits,
4 years ago
version 1
cbb7596d
1 commit,
4 years ago
8 files
+
224
−
0
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
8
Search (e.g. *.vue) (Ctrl+P)
bmad/Dockerfile
0 → 100644
+
39
−
0
Options
FROM
eicweb.phy.anl.gov:4567/containers/image_recipes/root_spack
as
builder
#ARG USER_ID
#ARG GROUP_ID
#curl https://www.classe.cornell.edu/~cesrulib/downloads/latest_distribution_file_prefix
ENV
BMADDIST bmad_dist_2021_0517
# Install developer tools
#ENV buildDeps gcc-gfortran cmake libtool libXt-devel readline-devel bc pango-devel cairo-devel
RUN
adduser bmad
#RUN dnf -y update
#RUN dnf -y group install "Development Tools" \
# && dnf config-manager --enable PowerTools \
# && dnf install -y xorg-x11-apps \
# && dnf install -y $buildDeps
# Get Bmad distribution
RUN
echo
"Distribution name is:
$BMADDIST
"
\
&&
curl
-O
https://www.classe.cornell.edu/~cesrulib/downloads/tarballs/old/
$BMADDIST
.tgz
\
&&
tar
-xzf
/
$BMADDIST
.tgz
\
&&
mv
$BMADDIST
bmad_dist
\
&&
rm
-rf
/
$BMADDIST
.tgz
\
&&
chown
-R
bmad:bmad bmad_dist
RUN
apt-get
install
-y
bc libcairo2-dev libpango1.0-dev libpangocairo-1.0-0 readline-common libreadline-dev
USER
bmad
WORKDIR
/bmad_dist
# Make RUN commands use bash
SHELL
["/bin/bash", "-c"]
# Bmad dependencies
# Build Bmad
RUN
echo
"export ACC_PLOT_PACKAGE=plplot"
>>
util/dist_prefs
\
&&
echo
"export ACC_ENABLE_SHARED=Y"
>>
util/dist_prefs
\
&&
echo
"export ACC_ENABLE_FPIC=Y"
>>
util/dist_prefs
\
&&
.
util/dist_source_me
\
&&
util/dist_build_production
#&& cd plplot;mk # For testing
ENV
DIST_BASE_DIR /bmad_dist
ENV
PATH $PATH:$DIST_BASE_DIR/production/bin:$DIST_BASE_DIR/util
ENV
LD_LIBRARY_PATH $LD_LIBRARY_PATH:$DIST_BASE_DIR/production/lib
ENV
TAO_DIR $DIST_BASE_DIR/tao
ENV
lat $DIST_BASE_DIR/tao/examples/cesr/bmad_L9A18A000-_MOVEREC.lat
CMD
["bash"]
Loading