Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-15 Thread Jeff Squyres (jsquyres)
> On Feb 15, 2017, at 11:34 AM, Siegmar Gross > wrote: > >> Did adding these flags to CPPFLAGS/CXXCPPFLAGS also solve the cuda.h issues? > > Yes, but it would be great if "configure" would add the flags > automatically when "--with-cuda=..." is available.

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-15 Thread Siegmar Gross
Hi Jeff, Did adding these flags to CPPFLAGS/CXXCPPFLAGS also solve the cuda.h issues? Yes, but it would be great if "configure" would add the flags automatically when "--with-cuda=..." is available. Kind regards Siegmar On Feb 15, 2017, at 11:13 AM, Siegmar Gross

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-15 Thread Jeff Squyres (jsquyres)
Did adding these flags to CPPFLAGS/CXXCPPFLAGS also solve the cuda.h issues? > On Feb 15, 2017, at 11:13 AM, Siegmar Gross > wrote: > > Hi Jeff and Gilles, > > thank you very much for your answers. I added -I flags for > "valgrind.h" und "cuda.h" to the

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-15 Thread Siegmar Gross
Hi Jeff and Gilles, thank you very much for your answers. I added -I flags for "valgrind.h" und "cuda.h" to the CPPFLAGS and CXXCPPFLAGS and related -L flags to LDFLAGS. Now the header files are usable und I was able to build Open MPI master without errors with gcc. Tomorrow I can test the

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-15 Thread Jeff Squyres (jsquyres)
Siegmar -- Sorry for the delay in replying. You should actually put -I flags in CPPFLAGS and CXXCPPFLAGS, not CFLAGS and CXXFLAGS. The difference is: 1. CFLAGS is given to the C compiler when compiling 2. CPPFLAFS is given to the C compiler when compiling and to the C preprocessor when

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-08 Thread Gilles Gouaillardet
Siegmar, fwiw, on openSUSE Leap 42.2 (iirc, this is the free (aka CentOS-like) version of SLES 12.2) numaif.h is provided by libnuma-devel and is located in /usr/include everything works fine with both GNU and Oracle compilers. i noted that unlike GNU gcc, Oracle cc does not automatically

Re: [OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-08 Thread Jeff Squyres (jsquyres)
Siegmar -- This might be normal and expected (i.e., that the numaif.h that comes with your gcc may not be suitable for use with the Sun CC compiler). Is there any functionality difference between your two builds (with and without numaif.h support)? The config.log from the cc build should

[OMPI users] numaif.h present but not usable with openmpi-master-201702080209-bc2890e on Linux

2017-02-08 Thread Siegmar Gross
Hi, I have installed openmpi-master-201702080209-bc2890e on my "SUSE Linux Enterprise Server 12.2 (x86_64)" with Sun C 5.14 and gcc-6.3.0. Unfortunately, "numaif.h" isn't usable for "cc" while "gcc" has no problems with that file. The file is available in /usr/local/include. loki