Opened 17 years ago
Closed 15 years ago
#14968 closed defect (worksforme)
openmpi-1.2.6 compilation error on OS 10.5.2
Reported by: | wallchuck@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | conflicting types compilation error | Cc: | |
Port: | openmpi |
Description
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.
Change History (7)
comment:1 Changed 17 years ago by jmroot (Joshua Root)
Owner: | changed from macports-tickets@… to mww@… |
---|
comment:2 Changed 17 years ago by jochen@…
FYI: with variant gcc43 this works for me on 10.5.2/Intel
comment:3 Changed 16 years ago by mf2k (Frank Schima)
See also ticket #16150 which describes a possible workaround of uninstalling MPICH first.
comment:5 Changed 15 years ago by jmroot (Joshua Root)
Keywords: | openmpi removed |
---|---|
Port: | openmpi added |
comment:7 Changed 15 years ago by mf2k (Frank Schima)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
Closing due to lack of response.
Note: See
TracTickets for help on using
tickets.
Assigning to maintainer.