[MacPorts] #14968: openmpi-1.2.6 compilation error on OS 10.5.2
MacPorts
trac at macosforge.org
Wed Apr 9 09:18:52 PDT 2008
#14968: openmpi-1.2.6 compilation error on OS 10.5.2
---------------------------------------------------------+------------------
Reporter: wallchuck at hotmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Keywords: openmpi conflicting types compilation error |
---------------------------------------------------------+------------------
Hi,
I'm using OS 10.5.2 and I got the following error when I tried
sudo port install openmpi :
{{{
---> Fetching openmpi
---> Attempting to fetch openmpi-1.2.6.tar.bz2 from http://www.open-
mpi.org/software/ompi/v1.2/downloads/
---> Verifying checksum(s) for openmpi
---> Extracting openmpi
---> Configuring openmpi
---> Building openmpi with target all
Error: Target org.macports.build returned: shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build"
&& make all " returned error 2
Command output: ../../../../../../../ompi/include/mpi.h:1466: error:
previous declaration of 'PMPI_File_write_ordered_end' was here
/opt/local/include/mpio.h:384: error: conflicting types for
'PMPI_File_get_type_extent'
../../../../../../../ompi/include/mpi.h:1468: error: previous declaration
of 'PMPI_File_get_type_extent' was here
/opt/local/include/mpio.h:387: error: conflicting types for
'PMPI_File_set_atomicity'
../../../../../../../ompi/include/mpi.h:1469: error: previous declaration
of 'PMPI_File_set_atomicity' was here
/opt/local/include/mpio.h:388: error: conflicting types for
'PMPI_File_get_atomicity'
../../../../../../../ompi/include/mpi.h:1470: error: previous declaration
of 'PMPI_File_get_atomicity' was here
/opt/local/include/mpio.h:389: error: conflicting types for
'PMPI_File_sync'
../../../../../../../ompi/include/mpi.h:1471: error: previous declaration
of 'PMPI_File_sync' was here
/opt/local/include/mpio.h:392: error: conflicting types for
'PMPI_File_set_errhandler'
../../../../../../../ompi/include/mpi.h:1389: error: previous declaration
of 'PMPI_File_set_errhandler' was here
/opt/local/include/mpio.h:393: error: conflicting types for
'PMPI_File_get_errhandler'
../../../../../../../ompi/include/mpi.h:1390: error: previous declaration
of 'PMPI_File_get_errhandler' was here
/opt/local/include/mpio.h:409: error: conflicting types for
'PMPI_File_f2c'
../../../../../../../ompi/include/mpi.h:1385: error: previous declaration
of 'PMPI_File_f2c' was here
/opt/local/include/mpio.h:410: error: conflicting types for
'PMPI_File_c2f'
../../../../../../../ompi/include/mpi.h:1384: error: previous declaration
of 'PMPI_File_c2f' was here
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:
In function 'mca_io_romio_dist_ADIOI_Calc_others_req':
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:412:
warning: passing argument 7 of 'PMPI_Irecv' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:415:
warning: passing argument 7 of 'PMPI_Irecv' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:424:
warning: passing argument 7 of 'PMPI_Isend' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:427:
warning: passing argument 7 of 'PMPI_Isend' from incompatible pointer type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:437:
warning: passing argument 2 of 'PMPI_Waitall' from incompatible pointer
type
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.2.6/ompi/mca/io/romio/romio/adio/common/io_romio_ad_aggregate.c:438:
warning: passing argument 2 of 'PMPI_Waitall' from incompatible pointer
type
make[5]: *** [io_romio_ad_aggregate.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
Error: Status 1 encountered during processing.
}}}
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14968>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list