On 26/06/2017 20:43, Siddiqui, Shahzeb wrote:
It looks like the issue was with centos vs RHEL. I was able to build
binutils 2.26 using Red Hat Enterprise Linux Server release 7.2, while
it didn’t work when running CentOS Linux release 7.3.1611 (Core)
Building binutils 2.26 works fine for us on CentOS 7.3.
From the log you provided:
configure: error: in
`/home/siddis14/.local/easybuild/build/binutils/2.26/dummy-/binutils-2.26/gold':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Can you try again, and look into the config.log file in that locaiton?
Also, it seems like you're using EasyBuild in the default configuration.
That's OK for testing & playing around, but if your home filesystem is a
shared filesystem (GPFS, NFS), then letting EasyBuild put build
directories there is quickly going to result in problems, maybe that's
your issue here too?
regards,
Kenneth
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Siddiqui, Shahzeb
*Sent:* Monday, June 26, 2017 1:49 PM
*To:* [email protected]
*Subject:* [easybuild] FW: fosscuda-2017a issue
Hello,
I am having an issue building binutils 2.26 for some reason this is
holding me back in building fosscuda toolchain. I have used eb 3.2.1
and eb 3.3.0 with centos 7 and the issue is the same. Has anyone else
ran into an issue with binutils 2.26. Can anyone build the
GCC-5.4.0-2.26.eb that is in eb repo.
I am doing my builds in Singularity, if you want to recreate the
environment please see
https://github.com/pescobar/singularity-easybuild
<https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pescobar_singularity-2Deasybuild&d=DwMFAg&c=UE1eNsedaKncO0Yl_u8bfw&r=RMJdCm7m5fiPWhajwKUnEW5yn4eK2YdUWW-MLVShghg&m=fgwDmobzorOxJhf56NZ_kaUST__kiMAAlJ3SNoSn1z4&s=_o-okG-TjlWtlzynXWCCi3kKonc-lXwHKH1Jh8OSQT4&e=>
Thanks
*From:*Siddiqui, Shahzeb
*Sent:* Monday, June 26, 2017 11:08 AM
*To:* 'Vanzo, Davide'
*Subject:* fosscuda-2017a issue
Hi Davide,
Please see the error and log file.
Singularity.centos-7.2-easybuild-3.2.0.img> eb fosscuda-2017a.eb
--robot -D
== temporary log file in case of crash /tmp/eb-ALY_WQ/easybuild-tLDxyC.log
Dry run: printing build status of easyconfigs and dependencies
CFGS=/home/siddis14/easybuild-easyconfigs/easybuild/easyconfigs
* [x] $CFGS/m/M4/M4-1.4.17.eb (module: M4/1.4.17)
* [x] $CFGS/b/Bison/Bison-3.0.4.eb (module: Bison/3.0.4)
* [x] $CFGS/f/flex/flex-2.6.0.eb (module: flex/2.6.0)
* [x] $CFGS/z/zlib/zlib-1.2.8.eb (module: zlib/1.2.8)
* [ ] $CFGS/b/binutils/binutils-2.26.eb (module: binutils/2.26)
* [ ] $CFGS/g/GCCcore/GCCcore-5.4.0.eb (module: GCCcore/5.4.0)
* [ ] $CFGS/m/M4/M4-1.4.17-GCCcore-5.4.0.eb (module:
M4/1.4.17-GCCcore-5.4.0)
* [ ] $CFGS/z/zlib/zlib-1.2.8-GCCcore-5.4.0.eb (module:
zlib/1.2.8-GCCcore-5.4.0)
* [ ] $CFGS/b/Bison/Bison-3.0.4-GCCcore-5.4.0.eb (module:
Bison/3.0.4-GCCcore-5.4.0)
* [ ] $CFGS/f/flex/flex-2.6.0-GCCcore-5.4.0.eb (module:
flex/2.6.0-GCCcore-5.4.0)
* [ ] $CFGS/b/binutils/binutils-2.26-GCCcore-5.4.0.eb (module:
binutils/2.26-GCCcore-5.4.0)
* [ ] $CFGS/g/GCC/GCC-5.4.0-2.26.eb (module: GCC/5.4.0-2.26)
* [ ] $CFGS/c/CUDA/CUDA-8.0.61_375.26-GCC-5.4.0-2.26.eb (module:
CUDA/8.0.61_375.26-GCC-5.4.0-2.26)
* [ ] $CFGS/g/gcccuda/gcccuda-2017a.eb (module: gcccuda/2017a)
* [ ] $CFGS/n/numactl/numactl-2.0.11-gcccuda-2017a.eb (module:
numactl/2.0.11-gcccuda-2017a)
* [ ] $CFGS/o/OpenBLAS/OpenBLAS-0.2.18-GCC-5.4.0-2.26-LAPACK-3.6.1.eb
(module: OpenBLAS/0.2.18-GCC-5.4.0-2.26-LAPACK-3.6.1)
* [ ] $CFGS/h/hwloc/hwloc-1.11.5-gcccuda-2017a.eb (module:
hwloc/1.11.5-gcccuda-2017a)
* [ ] $CFGS/o/OpenMPI/OpenMPI-2.0.2-gcccuda-2017a.eb (module:
OpenMPI/2.0.2-gcccuda-2017a)
* [ ] $CFGS/g/gompic/gompic-2017a.eb (module: gompic/2017a)
* [ ] $CFGS/f/FFTW/FFTW-3.3.4-gompic-2017a.eb (module:
FFTW/3.3.4-gompic-2017a)
* [ ] $CFGS/o/OpenBLAS/OpenBLAS-0.2.18-gompic-2017a-LAPACK-3.6.1.eb
(module: OpenBLAS/0.2.18-gompic-2017a-LAPACK-3.6.1)
* [ ]
$CFGS/s/ScaLAPACK/ScaLAPACK-2.0.2-gompic-2017a-OpenBLAS-0.2.18-LAPACK-3.6.1.eb
(module: ScaLAPACK/2.0.2-gompic-2017a-OpenBLAS-0.2.18-LAPACK-3.6.1)
* [ ] $CFGS/f/fosscuda/fosscuda-2017a.eb (module: fosscuda/2017a)
== Temporary log file(s) /tmp/eb-ALY_WQ/easybuild-tLDxyC.log* have
been removed.
== Temporary directory /tmp/eb-ALY_WQ has been removed.
Singularity.centos-7.2-easybuild-3.2.0.img> eb fosscuda-2017a.eb --robot
== temporary log file in case of crash /tmp/eb-0A02Em/easybuild-3yOsLG.log
== resolving dependencies ...
== processing EasyBuild easyconfig
/home/siddis14/easybuild-easyconfigs/easybuild/easyconfigs/b/binutils/binutils-2.26.eb
== building and installing binutils/2.26...
== fetching files...
== creating build dir, resetting environment...
== unpacking...
== patching...
== preparing...
== configuring...
== building...
== FAILED: Installation ended unsuccessfully (build directory:
/home/siddis14/.local/easybuild/build/binutils/2.26/dummy-): build
failed (first 300 chars): cmd " env LIBS='-Wl,-rpath=/usr/lib
-Wl,-rpath=/usr/lib64' make -j 80 CFLAGS="-g -O2 -fPIC" " exited with
exitcode 2 and output:
make[1]: Entering directory
`/home/siddis14/.local/easybuild/build/binutils/2.26/dummy-/binutils-2.26'
make[1]: Nothing to be done for `all-target'.
Configuring in ./int
== Results of the build can be found in the log file(s)
/tmp/eb-0A02Em/easybuild-binutils-2.26-20170626.150414.yertf.log
ERROR: Build of
/home/siddis14/easybuild-easyconfigs/easybuild/easyconfigs/b/binutils/binutils-2.26.eb
failed (err: 'build failed (first 300 chars): cmd " env
LIBS=\'-Wl,-rpath=/usr/lib -Wl,-rpath=/usr/lib64\' make -j 80
CFLAGS="-g -O2 -fPIC" " exited with exitcode 2 and output:\nmake[1]:
Entering directory
`/home/siddis14/.local/easybuild/build/binutils/2.26/dummy-/binutils-2.26\'\nmake[1]:
Nothing to be done for `all-target\'.\nConfiguring in ./int')
Shahzeb Siddiqui
HPC Linux Engineer
B2220-447.2
Groton, CT