Opened 14 years ago

Closed 13 years ago

#23864 closed defect (fixed)

OpenMPI builds against older installed version

Reported by: biobrain@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: openmpi

Description

I am trying to install OpenMPI on snow leopard, I am getting the following error

sudo port install openmpi
Password:
Portfile changed since last build; discarding previous state.
--->  Computing dependencies for openmpi
--->  Fetching openmpi
--->  Attempting to fetch openmpi-1.4.1.tar.bz2 from http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/ports/distfiles/
--->  Attempting to fetch openmpi-1.4.1.tar.bz2 from http://www.mirrorservice.org/sites/ftp.freebsd.org/pub/FreeBSD/ports/local-distfiles/
--->  Attempting to fetch openmpi-1.4.1.tar.bz2 from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/distfiles/
--->  Attempting to fetch openmpi-1.4.1.tar.bz2 from ftp://ftp.uk.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/
--->  Attempting to fetch openmpi-1.4.1.tar.bz2 from http://www.open-mpi.de/software/ompi/v1.4/downloads/
--->  Verifying checksum(s) for openmpi
--->  Extracting openmpi
--->  Configuring openmpi
--->  Building openmpi
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" && /usr/bin/make -j2 all " returned error 2
Command output: /opt/local/include/mpio.h:377: error: conflicting types for 'PMPI_File_read_ordered_end'
../../../../../../../ompi/include/mpi.h:1553: error: previous declaration of 'PMPI_File_read_ordered_end' was here
/opt/local/include/mpio.h:379: error: conflicting types for 'PMPI_File_write_ordered_begin'
../../../../../../../ompi/include/mpi.h:1555: error: previous declaration of 'PMPI_File_write_ordered_begin' was here
/opt/local/include/mpio.h:380: error: conflicting types for 'PMPI_File_write_ordered_end'
../../../../../../../ompi/include/mpi.h:1556: 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:1558: 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:1559: 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:1560: 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:1561: 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:1479: 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:1480: 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:1475: 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:1474: error: previous declaration of 'PMPI_File_c2f' was here
make[5]: *** [ad_close.lo] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: *** [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

Attachments (1)

openmpi (416.7 KB) - added by biobrain@… 14 years ago.

Download all attachments as: .zip

Change History (6)

Changed 14 years ago by biobrain@…

Attachment: openmpi added

comment:1 Changed 14 years ago by biobrain@…

I have tried with the clean install and even that did not worked. Additional details obtained using a -d flag are attached in the file.

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Keywords: openmpi removed
Owner: changed from macports-tickets@… to mww@…

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

Summary: OpenMPI on slow leopardOpenMPI on snow leopard

comment:4 Changed 14 years ago by tobypeterson

Looks like you'll be able to install if you first deactivate or uninstall the existing version.

comment:5 Changed 13 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed
Summary: OpenMPI on snow leopardOpenMPI builds against older installed version

Should be fixed by r77888.

Note: See TracTickets for help on using tickets.