Docker vs mu2egpvm
Jump to navigation
Jump to search
The Mu2e Interactive Machines
- Fermilab supplies 7 computers at Fermilab that have
- All of the software needed for Mu2e (many version of it!)
- Lots of disk space
- Lots of tape to store files that do not fit on disk
- Nightly backup of home disks
- We call these the mu2e interactive machines: mu2egpvm01, ... mu2egpvm06, mu2ebuild01
- We can ask for more machines when we demonstrate a need.
- Most of us work by logging into these machines from our laptops/desktops and doing our work there.
- You will also normally use these machines.
Why Docker?
- If we were running these tutorials at Fermilab you would do the tutorials by logging into the Mu2e interactive machines and working there.
- The network bandwidth is very likely not good enough for us to work this way when we are not on the Fermilab site.
- Our solution is to provide all of the necessary software in a Docker container that you install on your laptop.
- You will do the tutorial exercises from within the Docker container.
Comparison of Environments
On the Mu2e interactive machines the disk that contains the Mu2e software, plus all of the underlying tools is:
/cvmfs/mu2e.opensciencegrid.org .
There are is one important file and three important directories:
- setupmu2e-art.sh - master script that initializes the environment
- artexternals - the non-Mu2e tools on which our software depends
- Offline - copies of many version of the Mu2e Offline code
- DataFiles - auxiliary files files used by Mu2e Offline
In the Docker container, these four files/directories are found in the root directory. Take a look:
ls /
You should see all four. An important difference is that the Docker container only contains one version of everything, just the versions needed to run the tutorials. On the other hand the /cvmfs area has many version of everything.
On the Mu2e interactive machines, many of the files that have been prepared for the tutorials are found in
ls /mu2e/app/Tutorials_2019/ DataExploration SimpleROOT setup.sh testDocker.sh GeometryBrowsing TrkAna setup_container.sh ModuleWriting basic_root_tutorial testDocker.C RunningArt data testDocker.C~
In the Docker container these files are found in the root directory:
/Tutorials_2019/