Open berndmohr opened 10 years ago
I have openSUSE on my 'workstation' (laptop in a dock :p) at work, I can try and reproduce it there and figure things out.
When you run into this problem, you can simply override the sanity_check_paths
performed by EasyBuild in the easyconfig file.
However, EB might be assuming the libexec
path is there (I don't think it does though), so that might not be the 100% correct solution here...
just a reminder:
Sometimes it is hard to reproduce: even with two machines with the same basic SuSe version and config, they sometimes behave diffently (e.g. one using lin the othe rlib64
I was not able to track down the root cause.
here is my current theory:
My solution I would use as an ENGINEER (which is happy when it works 95% of the time):
in sanity_check: allow regexp's e.g. "lib.*/libgcc.so"
I know it gets tricky if some other easyconfig relies on the specific path (which is however bad in some other way)
Bernd
On Sat, Oct 26, 2013 at 01:41:27AM -0700, Kenneth Hoste wrote:
I have openSUSE on my 'workstation' (laptop in a dock :p) at work, I can try and reproduce it there and figure things out.
When you run into this problem, you can simply override the
sanity_check_paths
performed by EasyBuild in the easyconfig file. However, EB might be assuming thelibexec
path is there (I don't think it does though), so that might not be the 100% correct solution here...
Reply to this email directly or view it on GitHub: https://github.com/hpcugent/easybuild-easyblocks/issues/283#issuecomment-27142110
Dr.-Ing. Bernd Mohr Juelich Supercomputing Centre Institute for Advanced Simulation
E-Mail: b.mohr@fz-juelich.de WWW: http://www.fz-juelich.de/SharedDocs/Personen/IAS/JSC/EN/staff/mohr_b.html
Forschungszentrum Juelich GmbH 52425 Juelich Sitz der Gesellschaft: Juelich Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498 Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender), Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
This also affects Paraver
, comment by @berndmohr:
Paraver is actually multiple pieces (kernel, gui, etc) which have to be
configred/build in the right order. What happens is that for example the
kernel part builds and installs a library (which on my SuSe magically
happens up in a /lib64 directory, but the subsequent GUI part expects
them in a /lib part, so the -L options are wrong. Works fine on Debian,
Ubuntu, etc as everyting always ends up in /lib, but fails on SuSe.
And Paraver people say this is a Sue bug they do not fix.
It's currently unclear what makes GCC or Paraver pick different llib paths on SuSE (ld
?), needs to be looked into.
My suspect is libtool
@berndmohr: Now https://github.com/hpcugent/easybuild-framework/pull/753 is merged in, we can specify alternative sanity check paths, i.e. make EasyBuild check for lib
and lib64
, and assume the sanity check has passed if only one of both is there, using:
sanity_check_paths = {
'files': [],
'dirs': [('lib', 'lib64')],
}
This could be used for situation like this (e.g. for OTF), but for GCC, it's probably worthwhile to dive in a little deeper...
PR #365 fixes the problem in the GCC easyblock, I'm also working on a more general solution in framework.
Jdjdkdkdmx
Fails in sanitycheck step:
The files are there but they are under another destination, e.g. /opt/local/easybuild/software/GCC/4.8.1/lib/gcc/x86_64-unknown-linux-gnu/4.8.1/lto1
Environment: