Re: [OMPI users] 'AINT' undeclared

2016-05-11 Thread Ilias Miroslav

Ad:  https://www.open-mpi.org/community/lists/users/2016/05/29166.php

Yes ! The the PGI stuff in path was the  reason ... the OpenMPI build with GNU 
was taking PGI preprocessor.

I unloaded the PGI module (and Intel module to be sure) and the OpenMPI 1.10.1 
static build with GNU compilers went well.

Miro








Re: [OMPI users] 'AINT' undeclared

2016-05-10 Thread Gilles Gouaillardet
Ilias,

at first glance, you are using the PGI preprocessor (!)

can you re-run configure with CPP=cpp,
or after removing all PGI related environment variables,
and see it it helps ?

Cheers,

Gilles

On Wednesday, May 11, 2016, Ilias Miroslav  wrote:

> https://www.open-mpi.org/community/lists/users/2016/05/29148.php
>
> Dear Gill,
>
> Ooops, I don't have SIZEOF_PTRDIFF_T in config.status/config.log.
>
> I am attaching config.log, config.status files.
>
> This is virtual machine :
> Linux grid.ui.savba.sk 2.6.32-573.26.1.el6.x86_64 #1 SMP Tue May 3
> 14:22:07 CDT 2016 x86_64 x86_64 x86_64 GNU/Linux ; 4 cpu Westmere
> E56xx/L56xx/X56xx (Nehalem-C).
>
> Miro
>
>
>
>


Re: [OMPI users] 'AINT' undeclared

2016-05-10 Thread Ilias Miroslav
https://www.open-mpi.org/community/lists/users/2016/05/29148.php

Dear Gill,

Ooops, I don't have SIZEOF_PTRDIFF_T in config.status/config.log.

I am attaching config.log, config.status files.

This is virtual machine :
Linux grid.ui.savba.sk 2.6.32-573.26.1.el6.x86_64 #1 SMP Tue May 3 14:22:07 CDT 
2016 x86_64 x86_64 x86_64 GNU/Linux ; 4 cpu Westmere E56xx/L56xx/X56xx 
(Nehalem-C).

Miro



This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Open MPI configure 1.10.2, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/home/ilias/bin/openmpi-1.10.1_gnu_static CXX=g++ CC=gcc F77=gfortran FC=gfortran LDFLAGS=--static -ldl -lrt --disable-shared --enable-static --disable-vt

## - ##
## Platform. ##
## - ##

hostname = grid.ui.savba.sk
uname -m = x86_64
uname -r = 2.6.32-573.26.1.el6.x86_64
uname -s = Linux
uname -v = #1 SMP Tue May 3 14:22:07 CDT 2016

/usr/bin/uname -p = unknown
/bin/uname -X = unknown

/bin/arch  = x86_64
/usr/bin/arch -k   = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo  = unknown
/bin/machine   = unknown
/usr/bin/oslevel   = unknown
/bin/universe  = unknown

PATH: /home/ilias/bin/cmake/cmake-3.3.0-Linux-x86_64/bin
PATH: /home/ilias/bin/openmpi-1.10.1_intel_static/bin
PATH: /opt/rh/devtoolset-4/root/usr/sbin
PATH: /opt/rh/devtoolset-4/root/usr/bin
PATH: /opt/rh/devtoolset-4/root/sbin
PATH: /opt/rh/devtoolset-4/root/bin
PATH: /opt/intel/composer_xe_2015.1.133/bin/intel64
PATH: /opt/intel/composer_xe_2015.1.133/bin
PATH: /opt/pgi/linux86-64/13.10/bin
PATH: /usr/lib64/qt-3.3/bin
PATH: /bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: .
PATH: /home/ilias/bin


## --- ##
## Core tests. ##
## --- ##

configure:5521: checking build system type
configure:5535: result: x86_64-pc-linux-gnu
configure:: checking host system type
configure:5568: result: x86_64-pc-linux-gnu
configure:5588: checking target system type
configure:5601: result: x86_64-pc-linux-gnu
configure:5727: checking for gcc
configure:5754: result: gcc
configure:5983: checking for C compiler version
configure:5992: gcc --version >&5
gcc (GCC) 5.2.1 20150902 (Red Hat 5.2.1-2)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:6003: $? = 0
configure:5992: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/rh/devtoolset-4/root/usr/libexec/gcc/x86_64-redhat-linux/5.2.1/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --enable-bootstrap --enable-languages=c,c++,fortran,lto --prefix=/opt/rh/devtoolset-4/root/usr --mandir=/opt/rh/devtoolset-4/root/usr/share/man --infodir=/opt/rh/devtoolset-4/root/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-shared --enable-threads=posix --enable-checking=release --enable-multilib --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --enable-plugin --with-linker-hash-style=gnu --enable-initfini-array --disable-libgcj --with-default-libstdcxx-abi=gcc4-compatible --with-isl=/builddir/build/BUILD/gcc-5.2.1-20150902/obj-x86_64-redhat-linux/isl-install --enable-libmpx --with-mpc=/builddir/build/BUILD/gcc-5.2.1-20150902/obj-x86_64-redhat-linux/mpc-install --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 5.2.1 20150902 (Red Hat 5.2.1-2) (GCC) 
configure:6003: $? = 0
configure:5992: gcc -V >&5
gcc: error: unrecognized command line option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:6003: $? = 1
configure:5992: gcc -qversion >&5
gcc: error: unrecognized command line option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:6003: $? = 1
configure:6023: checking whether the C compiler works
configure:6045: gcc -I/opt/rh/devtoolset-4/root/usr/include -I/opt/rh/devtoolset-4/root/usr/include --static -ldl -lrt conftest.c  >&5
configure:6049: $? = 0
configure:6097: result: yes
configure:6100: checking for C compiler default output file name
configure:6102: result: a.out
configure:6108: checking for suffix of executables
configure:6115: gcc -o conftest -I/opt/rh/devtoolset-4/root/usr/include -I/opt/rh/devtoolset-4/root/usr/include --static -ldl -lrt conftest.c  >&5
configure:6119: $? = 0
configure:6141: result: 
configure:6163: checking whether we are cross compiling
configure:6171: gcc -o conftest -I/opt/rh/devtoolset-4/root/usr/include -I/opt/rh/devtoolset-4/root/usr/include --static -ldl -lrt conftest.c  >&5
configure:6175: $? = 0
configure:6182: ./conftest
configure:6186: $? = 0
configure:6201: result: no
configure:6206: checking for suffix of 

Re: [OMPI users] 'AINT' undeclared

2016-05-09 Thread Gilles Gouaillardet

Hi,


i was able to build openmpi 1.10.2 with the same configure command line 
(after i quoted the LDFLAGS parameters)



can you please run

grep SIZEOF_PTRDIFF_T config.status


it should be 4 or 8, but it seems different in your environment (!)


are you running 32 or 64 bit kernel ? on which processor ?


Cheers,


Gilles


On 5/10/2016 1:41 AM, Ilias Miroslav wrote:


Greetings,


I am trying to install OpenMPI 1.10.1/1.10.2 with gcc (GCC) 5.2.1 
20150902 (Red Hat 5.2.1-2) statically,



$ ./configure --prefix=/home/ilias/bin/openmpi-1.10.1_gnu_static 
CXX=g++ CC=gcc F77=gfortran FC=gfortran LDFLAGS=--static -ldl -lrt 
--disable-shared --enable-static --disable-vt


However, I am getting this error below. Any help, please ? Am I 
missing something in my GNU installation ?




make[2]: Entering directory 
`/home/ilias/bin/openmpi-1.10.1_gnu_static/openmpi-1.10.2/ompi/datatype'

  CC   ompi_datatype_args.lo
  CC   ompi_datatype_create.lo
  CC   ompi_datatype_create_contiguous.lo
  CC   ompi_datatype_create_indexed.lo
  CC   ompi_datatype_create_struct.lo
  CC   ompi_datatype_create_vector.lo
  CC   ompi_datatype_create_darray.lo
  CC   ompi_datatype_create_subarray.lo
  CC   ompi_datatype_external32.lo
  CC   ompi_datatype_match_size.lo
  CC   ompi_datatype_module.lo
  CC   ompi_datatype_sndrcv.lo
ompi_datatype_module.c:280:44: warning: implicit declaration of 
function 'OMPI_DATATYPE_INIT_UNAVAILABLE_BASIC_TYPE' 
[-Wimplicit-function-declaration]
 ompi_predefined_datatype_t ompi_mpi_aint = 
OMPI_DATATYPE_INIT_UNAVAILABLE_BASIC_TYPE(INT64_T, AINT, 
OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT);

^
ompi_datatype_module.c:280:86: error: 'INT64_T' undeclared here (not 
in a function)
 ompi_predefined_datatype_t ompi_mpi_aint = 
OMPI_DATATYPE_INIT_UNAVAILABLE_BASIC_TYPE(INT64_T, AINT, 
OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT);

^
ompi_datatype_module.c:280:95: error: 'AINT' undeclared here (not in a 
function)
 ompi_predefined_datatype_t ompi_mpi_aint = 
OMPI_DATATYPE_INIT_UNAVAILABLE_BASIC_TYPE(INT64_T, AINT, 
OMPI_DATATYPE_FLAG_DATA_C | OMPI_DATATYPE_FLAG_DATA_INT);

 ^
make[2]: *** [ompi_datatype_module.lo] Error 1
make[2]: *** Waiting for unfinished jobs
make[2]: Leaving directory 
`/home/ilias/bin/openmpi-1.10.1_gnu_static/openmpi-1.10.2/ompi/datatype'

make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/ilias/bin/openmpi-1.10.1_gnu_static/openmpi-1.10.2/ompi'

make: *** [all-recursive] Error 1
il...@grid.ui.savba.sk:~/bin/openmpi-1.10.1_gnu_static/openmpi-1.10.2/.


M.




___
users mailing list
us...@open-mpi.org
Subscription: https://www.open-mpi.org/mailman/listinfo.cgi/users
Link to this post: 
http://www.open-mpi.org/community/lists/users/2016/05/29142.php