Docker image based on Ubuntu 22.04 for WHIZARD.
The Docker image contains:
- Check the list of available tags on Docker Hub to find the tag you want.
- Use
docker pull
to pull down the image corresponding to the tag. For example:
docker pull yangphy/whizard:Ubuntu22.04-aarch64-1.0.0
- The
-m64
flag is only used to specify that the compiled code should be 64-bit on x86-64 architecture (i.e., Intel or AMD) machines. On ARM-based architectures, such as Apple M1, the flag is not needed and will actually cause an error during compilation. - The
-mcmodel
issmall
,medium
, andlarge
for x86-64 architecture (i.e., Intel or AMD), while it istiny
,small
, andlarge
for aarch64. Since most of the makefiles were designed for x86-64 architecture, we need to manually changemedium
tosmall
to compile the package on aarch64 machines.
In Ubuntu 22.04 and future versions, the /usr/include/rpc
is moved to /usr/include/tirpc
- To compile Fastjet, need to set flags
LIBS=-ltirpc CPPFLAGS=-I/usr/include/tirpc
for configure - For ExRootAnalysis, need to change
CXXFLAGS += $(ROOTCFLAGS) -Wno-write-strings -D_FILE_OFFSET_BITS=64 -DDROP_CGAL -I. -I/usr/include/tirpc
andLIBS = $(ROOTLIBS) -ltirpc
in theMakefile
In Ubuntu 22.04, the .../lib/python3.8/site-packages
is changed to .../lib/python3.10/dist-packages
For the following packages, the PYTHONPATH
of LHAPDF
need to be set different from its official instruction
- Fastjet
- LHAPDF