-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Installation issue: libfabric (required for adios2) #15244
Copy link
Copy link
Closed
Labels
Description
Hi,
I have been trying to install and use adios2.
But the installation seems to crash due to the libfabric package build error described below.
Do you have any suggestions on how to fix it?
I was wondering if this is something to do with how I installed other packages.
Or if you knew what library/package I am missing.
Thank you,
Diana
Steps to reproduce the issue
$ spack install libfabric
...
==> 77664: libfabric: Executing phase: 'install'
==> Error: ProcessError: Command exited with status 2:
'make' '-j8'
15 errors found in build log:
621 CC functional/rdm.o
622 CC functional/rdm_rma_simple.o
623 In file included from functional/av_xfer.c:In file included from 35functional/rdm.c:
624 :In file included from ./include/shared.h:55:
625 ./include/ft_osd.h:3735:
626 In file included from ./include/shared.h:55:
>> 627 :./include/ft_osd.h10: fatal error: 'osx/osd.h' file not found
>> 628 :37:10: fatal error: 'osx/osd.h' file not found
629 #include <osx/osd.h>Full output error message is in libfabric-error.txt.
Platform and user environment
macOS Catalina (clang + [email protected] installed via spack)
$ uname -a
Darwin LDianaAmorim-M30.dhcp.lbl.gov 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64
$sw_vers -productVersion
10.15.2
My spack repo is at commit
676eb56ab2379e4d1b3958aad382d81cb012c560 (HEAD -> develop, origin/develop, origin/HEAD)
Author: Patrick Gartung <[email protected]>
Date: Tue Feb 25 11:01:59 2020 -0600
...Additional information
$ spack spec --install-status libfabric
Input spec
--------------------------------
- libfabric
Concretized
--------------------------------
==> Warning: [email protected] cannot build optimized binaries for "skylake". Using best target possible: "x86_64"
- [email protected]%[email protected] fabrics=sockets,tcp,udp ~kdreg patches=71f06e8bf0adeccd425b194ac524e4d596469e9dab9e7a4f8bb209e6b9a454f4 arch=darwin-catalina-x86_64Rebuilding the package with the following options:
$ spack -d install -j 1 <spec>
...spack-cc-libfabric-7yvcejv.in.log
spack-cc-libfabric-7yvcejv.out.log
compilers.yaml
compilers:
- compiler:
spec: clang@11.0.0-apple
paths:
cc: /usr/bin/clang
cxx: /usr/bin/clang++
f77: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
fc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
flags: {}
operating_system: catalina
target: x86_64
modules: []
environment: {}
extra_rpaths: []
- compiler:
spec: gcc@9.2.0
paths:
cc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gcc
cxx: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/g++
f77: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
fc: /Users/LDianaAmorim/Documents/opt/spack/opt/spack/darwin-catalina-x86_64/clang-11.0.0-apple/gcc-9.2.0-exw25ccpcwqlkcvuwn266kvwqzxbyelp/bin/gfortran
flags: {}
operating_system: catalina
target: x86_64
modules: []
environment: {}
extra_rpaths: []packages.yaml
packages:
all:
providers:
mpi: [mpich, openmpi]Reactions are currently unavailable