Opened 11 years ago

Closed 11 years ago

#39340 closed defect (invalid)

octave should not require a specific implementation of mpi

Reported by: jeff.science@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.1.3
Keywords: Cc:
Port: octave octave-devel

Description (last modified by ci42)

There is absolutely no reason for Octave to require OpenMPI instead of any implementation of MPI. MPI is a portable standard for a reason. Octave should work just fine with the mpich-devel package and that should satisfy the dependency.

$ sudo port install octave
Password:
--->  Computing dependencies for octave
--->  Dependencies to be installed: GraphicsMagick SuiteSparse arpack openmpi atlas clang-3.3 llvm-3.3 fftw-3-single ftgl hdf5-18 metis qhull qrupdate
--->  Fetching archive for GraphicsMagick
--->  Attempting to fetch GraphicsMagick-1.3.18_0+q8.darwin_11.x86_64.tbz2 from http://packages.macports.org/GraphicsMagick
--->  Attempting to fetch GraphicsMagick-1.3.18_0+q8.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/GraphicsMagick
--->  Installing GraphicsMagick @1.3.18_0+q8
--->  Activating GraphicsMagick @1.3.18_0+q8
--->  Cleaning GraphicsMagick
--->  Fetching archive for SuiteSparse
--->  Attempting to fetch SuiteSparse-4.1.0_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/SuiteSparse
--->  Attempting to fetch SuiteSparse-4.1.0_0.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/SuiteSparse
--->  Installing SuiteSparse @4.1.0_0
--->  Activating SuiteSparse @4.1.0_0
--->  Cleaning SuiteSparse
--->  Fetching archive for openmpi
--->  Attempting to fetch openmpi-1.7.1_0+gcc47.darwin_11.x86_64.tbz2 from http://packages.macports.org/openmpi
--->  Attempting to fetch openmpi-1.7.1_0+gcc47.darwin_11.x86_64.tbz2.rmd160 from http://packages.macports.org/openmpi
--->  Installing openmpi @1.7.1_0+gcc47
--->  Activating openmpi @1.7.1_0+gcc47
Error: org.macports.activate for port openmpi returned: Image error: /opt/local/share/man/man1/mpicc.1.gz is being used by the active mpich-devel port.  Please deactivate this port first, or use 'port -f activate openmpi' to force the activation.
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: arpack openmpi atlas clang-3.3 llvm-3.3 fftw-3-single ftgl hdf5-18 metis qhull qrupdate
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port octave failed

Change History (4)

comment:1 Changed 11 years ago by ci42

Description: modified (diff)

In the future please remember to use WikiFormatting.

comment:2 Changed 11 years ago by larryv (Lawrence Velázquez)

Owner: changed from macports-tickets@… to michaelld@…
Port: octave octave-devel added

It looks like the openmpi dependency is from arpack, which uses the +openmpi variant by default. If you wish to use mpich-devel, you’ll need to explicitly install arpack +mpich -openmpi before installing octave.

comment:3 Changed 11 years ago by jeff.science@…

Thanks. I had to install Fortran support in mpich-devel with "port install mpich-devel +gcc47" for the ARPACK build to succeed. I don't know that OpenMPI installs Fortran support by default either, but it seems that was user error on my part. I'm currently waiting for ATLAS to build but I guess the problem is resolved. I appreciate your help and quick feedback.

comment:4 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed

No problem. Feel free to open another ticket or post to macports-users if you encounter any further trouble.

Note: See TracTickets for help on using tickets.