[libfabric-users] Failed to compile libfabric with gcc 4.8.5 20150623 (Red Hat 4.8.5-11)

JEN-SHIANG YU jsyu.nctu at gmail.com
Mon Apr 2 08:59:04 PDT 2018


Sorry that I forgot to attach config.log
The tools versions are:
m4 1.4.18
libtool 2.4.6
autoconf 2.69
automake 1.15



2018-04-02 23:43 GMT+08:00 JEN-SHIANG YU <jsyu.nctu at gmail.com>:

> Dear Colleague,
>
> I experienced compilation problem in libfabric using Intel compilers
> (18.0.1.163 Build 20171018) interfaced to the default gcc 4.8.5 20150623
> (Red Hat 4.8.5-11) in the "Red Hat Enterprise Linux Server release 7.3
> (Maipo)" platform. Switching to load gcc 6.3.0 module in the same platform
> could, however, compile successfully. Jeff Hammond suggested me to post the
> problem here, and I attach the compilation error messages for your
> reference.
>
> wget https://github.com/ofiwg/libfabric/archive/master.zip
> unzip master.zip
> mv libfabric-master libfabric
> cd libfabric
> ./autogen.sh
> ../configure CC=icc CXX=icpc --enable-psm2 --disable-udp --disable-sockets
> --disable-rxm --prefix=$NWCHEM_ROOT/deps
>
> make
>
> make  all-am
> make[1]: Entering directory `/work1/home/u1/molpro/src/
> nwchem-6.8.1.opa.x/tests/libfabric/build'
>   CC       src/src_libfabric_la-fabric.lo
> In file included from ../include/ofi.h(50),
>                  from ../include/ofi_util.h(55),
>                  from ../src/fabric.c(44):
> ../include/ofi_atom.h(66): error: identifier "atomic_int_least32_t" is
> undefined
>         typedef atomic_int_least32_t    ofi_atomic_int32_t;
>                 ^
>
> In file included from ../include/ofi.h(50),
>                  from ../include/ofi_util.h(55),
>                  from ../src/fabric.c(44):
> ../include/ofi_atom.h(67): error: identifier "atomic_int_least64_t" is
> undefined
>         typedef atomic_int_least64_t    ofi_atomic_int64_t;
>                 ^
>
> compilation aborted for ../src/fabric.c (code 2)
> make[1]: *** [src/src_libfabric_la-fabric.lo] Error 1
> make[1]: Leaving directory `/work1/home/u1/molpro/src/
> nwchem-6.8.1.opa.x/tests/libfabric/build'
> make: *** [all] Error 2
>
> Thanks a lot for your advise.
>
> Sincerely,
> Kenny
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20180402/c26399f3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 71871 bytes
Desc: not available
URL: <http://lists.openfabrics.org/pipermail/libfabric-users/attachments/20180402/c26399f3/attachment.obj>


More information about the Libfabric-users mailing list