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

Reply via email to