Dear Jonathan,
I think we've seen problems like this before, when the build directory
is located on a parallel filesystem like GPFS or Lustre.
Please make sure that you are using a local filesystem (like /tmp) on
ramdisk (/dev/shm) for the build directories.
You can configure this location in EasyBuild via the 'buildpath'
configuration setting, see
https://docs.easybuild.io/en/latest/Configuration.html#buildpath .
regards,
Kenneth
On 26/04/2021 19:26, Jonathan Le Roy Sievers, Prof wrote:
Dear all, I'm new to EasyBuild and am wondering if anyone can help me
out. I'm trying to build the foss tools on an Ivy Bridge cluster, and
it fails due to permission issues when trying to install MPC. The
relevant errors look like:
== 2021-04-26 04:54:50,182 build_log.py:169 ERROR EasyBuild crashed with
an error (at easybuild/base/exceptions.py:124 in __init__): Failed to
copy src /apps/foss2020b/build/GCCcore/10.2.0/system-system/mpc-1.1.0 to
dst /apps/foss2020b/build/GCCcore/10.2.0/system-system/gcc-10.2.0/mpc
The target directory looks like:
[sievers@h50 ~]$ ls -l
/apps/foss2020b/build/GCCcore/10.2.0/system-system/gcc-10.2.0/mpc/
total 748
-rw-r--r-- 1 sievers software46106 Jan 112018 aclocal.m4
-r-xr-xr-x 1 sievers software 5825 Jan 122016 ar-lib
-rw-r--r-- 1 sievers software128 Nov42014 AUTHORS
-rw-r--r-- 1 sievers software0 Nov42014 ChangeLog
-r-xr-xr-x 1 sievers software 7332 Jan 122016 compile
-r-xr-xr-x 1 sievers software42937 Jan 122016 config.guess
-rw-r--r-- 1 sievers software 3309 Jan 122016 config.h.in
-r-xr-xr-x 1 sievers software35986 Jan 122016 config.sub
-rwxr-xr-x 1 sievers software 495387 Jan 112018 configure
-rw-r--r-- 1 sievers software 8541 Jan 112018 configure.ac
-rw-r--r-- 1 sievers software 7651 Nov42014 COPYING.LESSER
-r-xr-xr-x 1 sievers software23565 Jan 122016 depcomp
drwxr-sr-x 2 sievers software11776 Jan 112018 doc
-rw-r--r-- 1 sievers software 3356 Jan 112018 INSTALL
-r-xr-xr-x 1 sievers software14675 Jan 122016 install-sh
-r--r--r-- 1 sievers software 324143 Jan 122016 ltmain.sh
drwxr-sr-x 2 sievers software12800 Jan 112018 m4
-rw-r--r-- 1 sievers software 1192 Dec 122017 Makefile.am
-rw-r--r-- 1 sievers software28389 Jan 112018 Makefile.in
-rw-r--r-- 1 sievers software16018 Jan 112018 Makefile.vc
-r-xr-xr-x 1 sievers software 6871 Jan 122016 missing
-rw-r--r-- 1 sievers software 7240 Dec 122017 NEWS
-rw-r--r-- 1 sievers software482 Nov42014 README
drwxr-sr-x 2 sievers software16896 Jan 112018 src
-r-xr-xr-x 1 sievers software 4639 Jan 122016 test-driver
drwxr-sr-x 2 sievers software29184 Jan 112018 tests
-rw-r--r-- 1 sievers software 3996 Jul 222016 TODO
drwxr-sr-x 3 sievers software11776 Jan 112018 tools
So there seem to be a bunch of files that are not user-writeable that
EasyBuild is trying to copy on top of. I started with a clean
directory, so this is all stuff that EasyBuild has made and is then
trying to copy over. This happens with lots of versions of foss,
(2020a,b, 2019b), always with MPC (but bison, flex, m4 all make
successfully before this failure). I did try chmodding everything
before reinstalling, but that didn't help, and I've been unable to find
any solutions online. The full log is attached. Any suggestions would
be most welcome!
Thanks,
Jon