Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#16150 closed defect (duplicate)

OpenMPI won't install on MacBook Pro (Leopard 10.5.4)

Reported by: beany_kelly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc:
Port: openmpi

Description (last modified by mf2k (Frank Schima))

Hi. This is basically identical to Ticket #14968, apart from two facts -- my OS version is slightly newer, and I've tried installing with and without the variant +gcc43. Since the only remarks I see on that ticket are that someone got the installation to work by compiling with the +gcc43 variant.

Specifics: My machine is an Intel MacBook Pro with Leopard 10.4, and I just updated XCode to version 3.1.


liffey:~ bkelly$ sudo port install openmpi +gcc43
Password:
--->  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:387: 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:397: 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:398: 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:399: 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:404: 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:405: 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:419: 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:420: 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 (5)

comment:1 Changed 16 years ago by beany_kelly@…

Oops -- Leopard 10.5.4 (obviously).

Bernard

comment:2 Changed 16 years ago by beany_kelly@…

I found the problem -- I'd done an install of MPICH beforehand, and the OPENMPI installer was confused.

port uninstall mpich

port clean mpich

port install openmpi +gcc43

worked for me.

comment:3 Changed 16 years ago by mf2k (Frank Schima)

Milestone: Port Bugs
Resolution: duplicate
Status: newclosed

duplicate of #14968.

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Description: modified (diff)
Port: openmpi added

comment:5 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.