-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems building whizard #71
Comments
Actually, it seems that using the cvmfs packages as upstream repository, leads to another issue, described in #72. To really only get the error described here the above set of commands has to be slightly modified. Most importantly
needs to be replaced by simply setting up the compiler and then going through building whizard and building all its dependencies: . /cvmfs/sw.hsf.org/key4hep/setup.sh
spack compiler find
spack install whizard hepmc=2 ^pythia8@8244 Using |
This seems to be caused by a race condition. Running only one build process via It is not entirely clear to me what causes the race condition. It looks like it is related to ocaml, but it could also be that one of the dependencies is not set correctly in the makefile. In any case, it looks like the gains in building |
From a few more brief tests, it seems that the race condition does not occur when using 4 parallel build jobs. Nevertheless, I have created spack/spack#19270 that forces |
I am unable to get whizard to build within spack. I get the following error:
I can consistently reproduce it using the following container running centos7: https://hub.docker.com/repository/docker/tmadlener/ilcsof-cvmfs-install-centos7
One way to reproduce it is to first build a suitable gcc (e.g.
gcc@8.3.0
orgcc@9.3.0
) using spack inside the container and then try to buildwhizard
. However, this will take a few hours until all the necessary dependencies are built. A quicker way is to use the cvmfs installed packages as upstream. To do so, make sure to locally mount/cvmfs/sw.hsf.org
and then start the containerInside the container, setup spack and the correct environment
Add the upstream repository and load the pre-installed
gcc@8.3.0
and add it to the known compilers for spackNow check that all the dependencies are present (specify a pythia8 version that is already installed, to not have to build the new default version
8303
).This should show only
whizard@2.8.5/v7sytfv
as missing package and trying to install it leads to the above described errorFor completeness
spack debug report
yields the following as of writing this issue.The text was updated successfully, but these errors were encountered: