[MacPorts] #16150: OpenMPI won't install on MacBook Pro (Leopard 10.5.4)

MacPorts noreply at macports.org
Mon Oct 6 08:19:16 PDT 2008


#16150: OpenMPI won't install on MacBook Pro (Leopard 10.5.4)
------------------------------------+---------------------------------------
  Reporter:  beany_kelly at yahoo.com  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  defect                 |      Status:  closed                               
  Priority:  Normal                 |   Milestone:  Port Bugs                            
 Component:  ports                  |     Version:  1.6.0                                
Resolution:  duplicate              |    Keywords:                                       
      Port:  openmpi                |  
------------------------------------+---------------------------------------
Changes (by macsforever2000 at macports.org):

  * port:  => openmpi


Old description:

> 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.
>
> ------------------------- screen output follows
> -----------------------------------
>
> 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.

New description:

 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.

 ------------------------- screen output follows
 -----------------------------------
 {{{
 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.
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/16150#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list