Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] 1.4.3rc1 out
From: Paul H. Hargrove (PHHargrove_at_[hidden])
Date: 2010-08-24 20:27:51


Testing on Sun C 5.10 on OpenSolaris yield many warnings (below), but
does build to completion.
I have run a successful "make check", making me doubt that any of the
atomic.h warnings indicate real problems.

$ uname -a
SunOS osol-x64 5.11 snv_111b i86pc i386 i86pc

$ cc -V
cc: Sun C 5.10 SunOS_i386 2009/06/03
usage: cc [ options] files. Use 'cc -flags' for details

$ [path_to]/openmpi-1.4.3rc1/configure CC=cc CXX=CC F77=f77 FC=f90
[...]

$ make
[...]

Many instances of the following:

"../../../../openmpi-1.4.3rc1/opal/include/opal/sys/ia32/atomic.h", line
170: warning: impossible constraint for "%1" asm operand
"../../../../openmpi-1.4.3rc1/opal/include/opal/sys/ia32/atomic.h", line
170: warning: parameter in inline asm statement unused: %2
"../../../../openmpi-1.4.3rc1/opal/include/opal/sys/ia32/atomic.h", line
187: warning: impossible constraint for "%1" asm operand
"../../../../openmpi-1.4.3rc1/opal/include/opal/sys/ia32/atomic.h", line
187: warning: parameter in inline asm statement unused: %2

Single instances of:

"../../../../openmpi-1.4.3rc1/orte/mca/plm/base/plm_base_orted_cmds.c",
line 301: warning: statement not reach
ed
"../../../openmpi-1.4.3rc1/ompi/datatype/dt_module.c", line 709:
#warning: "No proper C type found for COMPLEX32"
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 146: Warning
(Anachronism): Formal argument read_conversion_fn of type extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 147: Warning
(Anachronism): Formal argument write_conversion_fn of type extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 148: Warning
(Anachronism): Formal argument dtype_file_extent_fn of type extern "C"
int(*)(ompi_datatype_t*,int*,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(ompi_datatype_t*,int*,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 173: Warning
(Anachronism): Formal argument write_conversion_fn of type extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 174: Warning
(Anachronism): Formal argument dtype_file_extent_fn of type extern "C"
int(*)(ompi_datatype_t*,int*,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(ompi_datatype_t*,int*,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 198: Warning
(Anachronism): Formal argument read_conversion_fn of type extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 200: Warning
(Anachronism): Formal argument dtype_file_extent_fn of type extern "C"
int(*)(ompi_datatype_t*,int*,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(ompi_datatype_t*,int*,void*).
"../../../../openmpi-1.4.3rc1/ompi/mpi/cxx/file.cc", line 225: Warning
(Anachronism): Formal argument dtype_file_extent_fn of type extern "C"
int(*)(ompi_datatype_t*,int*,void*) in call to
MPI_Register_datarep(char*, extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(void*,ompi_datatype_t*,int,void*,long long,void*), extern "C"
int(*)(ompi_datatype_t*,int*,void*), void*) is being passed
int(*)(ompi_datatype_t*,int*,void*).
"../../../../../openmpi-1.4.3rc1/ompi/mca/common/sm/common_sm_mmap.c",
line 111: warning: improper pointer/integer combination: arg #3
"../../../../../openmpi-1.4.3rc1/ompi/mca/common/sm/common_sm_mmap.c",
line 136: warning: improper pointer/integer combination: arg #3
"../../../../../openmpi-1.4.3rc1/ompi/mca/common/sm/common_sm_mmap.c",
line 202: warning: assignment type mismatch:
"../../../../../openmpi-1.4.3rc1/ompi/mca/common/sm/common_sm_mmap.c",
line 208: warning: assignment type mismatch:
"../../../../../openmpi-1.4.3rc1/ompi/mca/common/sm/common_sm_mmap.c",
line 276: warning: argument #1 is incompatible with prototype:
"../../../../../../../../../openmpi-1.4.3rc1/ompi/contrib/vt/vt/extlib/otf/tools/otfinfo/hash.c",
line 22: warning: statement not reached
"../../../../../../../../../openmpi-1.4.3rc1/ompi/contrib/vt/vt/extlib/otf/tools/otfinfo/hash.c",
line 81: warning: statement not reached

I can additionally report that the atomic.h warnings show up when
compiling tests. Thus they are likely to constitute a significant
annoyance to an end user.

-Paul

Ralph Castain wrote:
> Okay, release candidate 1 for 1.4.3 is now available on the web site. Please give it a whirl.
>
> http://www.open-mpi.org/software/ompi/v1.4/
>
> Ralph
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

-- 
Paul H. Hargrove                          PHHargrove_at_[hidden]
Future Technologies Group
HPC Research Department                   Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900