[MacPorts] #20240: Openmpi problem with universal_arch = i386 x86_64
#20240: Openmpi problem with universal_arch = i386 x86_64 ----------------------------------+----------------------------------------- Reporter: lvcargnini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.7.1 Keywords: openmpi | Port: openmpi ----------------------------------+----------------------------------------- trying to install openmpi, with universal_arch = i386 x86_64, I get the following error: --> Configuring openmpi Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/configure --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi --includedir=/opt/local/include/openmpi --bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man --enable-f77 --enable-f90 --disable-dependency-tracking " returned error 1 Command output: checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for long long... no checking for long double... no checking for int8_t... no checking for uint8_t... no checking for int16_t... no checking for uint16_t... no checking for int32_t... no checking for uint32_t... no checking for int64_t... no checking for uint64_t... no checking for intptr_t... no checking for uintptr_t... no checking for mode_t... no checking for ssize_t... no checking for ptrdiff_t... no checking size of char... 0 checking size of short... 0 checking size of int... 0 checking size of long... 0 checking size of float... 0 checking size of double... 0 checking size of void *... 0 checking size of size_t... 0 checking alignment of char... configure: WARNING: *** Problem running configure test! configure: WARNING: *** See config.log for details. configure: error: *** Cannot continue. Error: Status 1 encountered during processing. -- Ticket URL: <http://trac.macports.org/ticket/20240> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20240: Openmpi problem with universal_arch = i386 x86_64 ----------------------------------+----------------------------------------- Reporter: lvcargnini@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 1.7.1 Keywords: openmpi | Port: openmpi ----------------------------------+----------------------------------------- Comment(by lvcargnini@…): Fixing the message above:[[BR]] --> Configuring openmpi Error: Target org.macports.configure returned: configure failure: shell command " [[BR]] cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && [[BR]] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/configure [[BR]] --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi --includedir=/opt/local/include/openmpi --bindir=/opt/local/lib/openmpi/bin [[BR]] --mandir=/opt/local/share/man --enable-f77 --enable-f90 --disable- dependency-tracking " [[BR]] returned error 1 [[BR]] Command output: [[BR]] checking for strings.h... no [[BR]] checking for inttypes.h... no [[BR]] checking for stdint.h... no [[BR]] checking for unistd.h... no [[BR]] checking for long long... no [[BR]] checking for long double... no [[BR]] checking for int8_t... no [[BR]] checking for uint8_t... no [[BR]] checking for int16_t... no [[BR]] checking for uint16_t... no [[BR]] checking for int32_t... no [[BR]] checking for uint32_t... no [[BR]] checking for int64_t... no [[BR]] checking for uint64_t... no [[BR]] checking for intptr_t... no [[BR]] checking for uintptr_t... no [[BR]] checking for mode_t... no [[BR]] checking for ssize_t... no [[BR]] checking for ptrdiff_t... no [[BR]] checking size of char... 0 [[BR]] checking size of short... 0 [[BR]] checking size of int... 0 [[BR]] checking size of long... 0 [[BR]] checking size of float... 0 [[BR]] checking size of double... 0 [[BR]] checking size of void *... 0 [[BR]] checking size of size_t... 0 [[BR]] checking alignment of char... [[BR]] configure: WARNING: *** Problem running configure test![[BR]] configure: WARNING: *** See config.log for details.[[BR]] configure: error: *** Cannot continue.[[BR]] Replying to [ticket:20240 lvcargnini@…]: -- Ticket URL: <http://trac.macports.org/ticket/20240#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20240: Openmpi problem with universal_arch = i386 x86_64 ----------------------------------+----------------------------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: openmpi ----------------------------------+----------------------------------------- Changes (by macsforever2000@…): * keywords: openmpi => * owner: macports-tickets@… => mww@… * priority: High => Normal Old description:
trying to install openmpi, with universal_arch = i386 x86_64, I get the following error:
--> Configuring openmpi Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/configure --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi --includedir=/opt/local/include/openmpi --bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man --enable-f77 --enable-f90 --disable-dependency-tracking " returned error 1 Command output: checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for long long... no checking for long double... no checking for int8_t... no checking for uint8_t... no checking for int16_t... no checking for uint16_t... no checking for int32_t... no checking for uint32_t... no checking for int64_t... no checking for uint64_t... no checking for intptr_t... no checking for uintptr_t... no checking for mode_t... no checking for ssize_t... no checking for ptrdiff_t... no checking size of char... 0 checking size of short... 0 checking size of int... 0 checking size of long... 0 checking size of float... 0 checking size of double... 0 checking size of void *... 0 checking size of size_t... 0 checking alignment of char... configure: WARNING: *** Problem running configure test! configure: WARNING: *** See config.log for details. configure: error: *** Cannot continue.
Error: Status 1 encountered during processing.
New description: trying to install openmpi, with universal_arch = i386 x86_64, I get the following error: {{{ --> Configuring openmpi Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/build" && /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_openmpi/work/openmpi-1.3.2/configure --prefix=/opt/local --with-xgrid --sysconfdir=/opt/local/etc/openmpi --includedir=/opt/local/include/openmpi --bindir=/opt/local/lib/openmpi/bin --mandir=/opt/local/share/man --enable-f77 --enable-f90 --disable-dependency-tracking " returned error 1 Command output: checking for strings.h... no checking for inttypes.h... no checking for stdint.h... no checking for unistd.h... no checking for long long... no checking for long double... no checking for int8_t... no checking for uint8_t... no checking for int16_t... no checking for uint16_t... no checking for int32_t... no checking for uint32_t... no checking for int64_t... no checking for uint64_t... no checking for intptr_t... no checking for uintptr_t... no checking for mode_t... no checking for ssize_t... no checking for ptrdiff_t... no checking size of char... 0 checking size of short... 0 checking size of int... 0 checking size of long... 0 checking size of float... 0 checking size of double... 0 checking size of void *... 0 checking size of size_t... 0 checking alignment of char... configure: WARNING: *** Problem running configure test! configure: WARNING: *** See config.log for details. configure: error: *** Cannot continue. Error: Status 1 encountered during processing. }}} -- Comment: In the future, please use WikiFormatting, -- Ticket URL: <http://trac.macports.org/ticket/20240#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20240: Openmpi problem with universal_arch = i386 x86_64 ----------------------------------+----------------------------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: openmpi ----------------------------------+----------------------------------------- Comment(by toby@…): disabled universal build in r54192 -- Ticket URL: <http://trac.macports.org/ticket/20240#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20240: Openmpi problem with universal_arch = i386 x86_64 ----------------------------------+----------------------------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Keywords: | Port: openmpi ----------------------------------+----------------------------------------- Comment(by manphiz@…): It seems that by using "PortGroup muniversal" rules openmpi can be built universal. Patch attached. Tested on Mac OS X 10.6.4 with xcode 3.2.3. -- Ticket URL: <http://trac.macports.org/ticket/20240#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20240: Openmpi problem with universal_arch = i386 x86_64 ---------------------------+------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: openmpi | ---------------------------+------------------- Comment (by sean@…): It seems that this is still an issue with OpenMPI (and MPICH). I don't know if it's something worth fixing since neither upstream project wants to support it. There is a comment in the OpenMPI portfile that says: {{{ # TODO: Improve universal. The only issue is with ${prefix}/include/openmpi/mpif-config.h # It requires preprocessing, so it will work with #include directives # but not if clients use INCLUDE }}} mww, mmoll: what do you guys think? -- Ticket URL: <https://trac.macports.org/ticket/20240#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#20240: Openmpi problem with universal_arch = i386 x86_64 ---------------------------+------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: | Keywords: Port: openmpi | ---------------------------+------------------- Comment (by mmoll@…): My opinion is that universal is dead. If it's easy to support universal, then it's okay to keep it around. But if new patches will have to be written to support universal/i386/ppc*, then I'd say that it's time to drop support for those architectures. -- Ticket URL: <https://trac.macports.org/ticket/20240#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#20240: Openmpi problem with universal_arch = i386 x86_64 ---------------------------+-------------------- Reporter: lvcargnini@… | Owner: mww@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.7.1 Resolution: wontfix | Keywords: Port: openmpi | ---------------------------+-------------------- Changes (by sean@…): * status: new => closed * resolution: => wontfix Comment: Replying to [comment:8 mmoll@…]:
My opinion is that universal is dead. If it's easy to support universal, then it's okay to keep it around. But if new patches will have to be written to support universal/i386/ppc*, then I'd say that it's time to drop support for those architectures.
I agree (and it's what is currently done with the mpi ports). I'll close this ticket but we can reopen and discuss it more if need be. -- Ticket URL: <https://trac.macports.org/ticket/20240#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts