[MacPorts] #42244: openmpi-default not compiling using clang on Mac OSX 10.6.8

MacPorts noreply at macports.org
Mon Jan 27 16:38:32 PST 2014


#42244: openmpi-default not compiling using clang on Mac OSX 10.6.8
------------------------------+----------------------
  Reporter:  andrewhw@…       |      Owner:  sean@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:                   |   Keywords:
      Port:  openmpi-default  |
------------------------------+----------------------

Comment (by andrewhw@…):

 Some improvement!  I ran the following, and all was well:
 {{{
 % sudo port clean openmpi-default
 % sudo port configure openmpi-default
 }}}

 After that I tried this:
 {{{
 % sudo port configure openmpi-default
 }}}
 and was told that it wanted a specific version, so I tried this:
 {{{
 % sudo port activate "octave @3.6.4_10+atlas+gcc47"
 --->  Activating octave @3.6.4_10+atlas+gcc47
 }}}
 which looked good, so I continued with
 {{{
 % sudo port activate arpack
 --->  Computing dependencies for arpack
 --->  Dependencies to be installed: openmpi
 --->  Fetching distfiles for openmpi
 --->  Verifying checksums for openmpi
 --->  Extracting openmpi
 --->  Configuring openmpi
 Error: openmpi has been made obsolete by the port openmpi-default. Please
 install openmpi-default instead.
 Error: org.macports.configure for port openmpi returned: obsolete port
 Error: Failed to install openmpi
 Please see the log file for port openmpi for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_openmpi/openmpi/main.log
 Error: The following dependencies were not installed: openmpi
 Warning: Failed to execute portfile from registry for arpack
 @3.1.3_0+accelerate+openmpi
 --->  Activating arpack @3.1.3_0+accelerate+openmpi
 %
 }}}
 at this point, it seemed sensible to install "openmpi-default", so I did
 that:
 {{{
 % sudo port install "openmpi-default"
 --->  Computing dependencies for openmpi-default
 --->  Building openmpi-default
 --->  Staging openmpi-default into destroot
 --->  Installing openmpi-default @1.7.3_2+gcc48
 --->  Activating openmpi-default @1.7.3_2+gcc48


 +--- OpenMPI Usage note ----
 | The mpi[cc|cxx|f77|f90] weappers are installed as
 | mpi[cc|cxx|f77|f90]-mp. To make openmpi-default the default (i.e. the
 | version you get when you run 'mpicc/mpicxx'), please run:
 |
 | sudo port select --set mpi openmpi-mp-fortran
 +-------------------------


 --->  Cleaning openmpi-default
 --->  Updating database of binaries: 100.0%
 --->  Scanning binaries for linking errors: 100.0%
 --->  Found 6 broken file(s), matching files to ports
 --->  Found 1 broken port(s), determining rebuild order
 --->  Rebuilding in order
      arpack @3.1.3 +accelerate+openmpi
 --->  Computing dependencies for arpack
 --->  Fetching archive for arpack
 --->  Attempting to fetch
 arpack-3.1.4_1+accelerate+gfortran+openmpi.darwin_10.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/arpack
 --->  Attempting to fetch
 arpack-3.1.4_1+accelerate+gfortran+openmpi.darwin_10.x86_64.tbz2 from
 http://packages.macports.org/arpack
 --->  Attempting to fetch
 arpack-3.1.4_1+accelerate+gfortran+openmpi.darwin_10.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/sites/packages.macports.org/arpack
 --->  Fetching distfiles for arpack
 --->  Attempting to fetch arpack-ng_3.1.4.tar.gz from
 http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/arpack
 --->  Verifying checksums for arpack
 --->  Extracting arpack
 --->  Applying patches to arpack
 --->  Configuring arpack
 --->  Building arpack
 Error: org.macports.build for port arpack returned: command execution
 failed
 Please see the log file for port arpack for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_arpack/arpack/main.log
 Error: Unable to upgrade port: 1
 Error rebuilding arpack
     while executing
 "error "Error rebuilding $portname""
     (procedure "revupgrade_scanandrebuild" line 382)
     invoked from within
 "revupgrade_scanandrebuild broken_port_counts $opts"
     (procedure "macports::revupgrade" line 5)
     invoked from within
 "macports::revupgrade $opts"
     (procedure "action_revupgrade" line 2)
     invoked from within
 "action_revupgrade $action $portlist $opts"
     (procedure "action_target" line 96)
     invoked from within
 "$action_proc $action $portlist [array get global_options]"
     (procedure "process_cmd" line 93)
     invoked from within
 "process_cmd $remaining_args"
     invoked from within
 "if { [llength $remaining_args] > 0 } {

     # If there are remaining arguments, process those as a command
     set exit_status [process_cmd $remaining..."
     (file "/opt/local/bin/port" line 4857)
 %
 }}}

 ... so have I lost the path in there?  Should I be running the "port
 select" line?  Or is openmpi now no longer the problem and I have
 triggered something new in arpack?

 I will note that I earlier received a warning about switching arpack from
 +accelerate to +atlas to avoid triggering a floating point bug on Apple,
 but have not yet done that as I feel that concurrent changes will only
 confuse thing further.

 I am attaching the arpack log file, as well as the results of "port list
 inactive"...

-- 
Ticket URL: <https://trac.macports.org/ticket/42244#comment:20>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list