Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43196 closed defect (fixed)

openmpi-default @1.7.4 notes and install issues

Reported by: dstrubbe (David Strubbe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: seanfarley (Sean Farley)
Port: openmpi-default

Description

I see two problems in the notes for this port.

  +--- 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
  +-------------------------

The word "wrappers" is misspelled. Also, the installed names are wrong, compared to

Port openmpi-default contains:
  /opt/local/bin/mpicc-openmpi-mp
  /opt/local/bin/mpicxx-openmpi-mp
  /opt/local/bin/mpiexec-openmpi-mp
  /opt/local/bin/mpif77-openmpi-mp
  /opt/local/bin/mpif90-openmpi-mp
  ...

Another issue is that mpirun should be installed to the bin directory too, like mpiexec, and as is done for mpich-default.

Change History (11)

comment:1 Changed 10 years ago by seanfarley (Sean Farley)

Yeah, this is just like #43197. Need to fix the typos in the note.

comment:2 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

Fixed in r118766. Thanks for the report!

comment:3 in reply to:  description ; Changed 10 years ago by dstrubbe (David Strubbe)

Resolution: fixed
Status: closedreopened

Great, can we do this part too?

Another issue is that mpirun should be installed to the bin directory too, like mpiexec, and as is done for mpich-default.

comment:4 in reply to:  3 Changed 10 years ago by seanfarley (Sean Farley)

Replying to dstrubbe@…:

Great, can we do this part too?

Another issue is that mpirun should be installed to the bin directory too, like mpiexec, and as is done for mpich-default.

Nope. mpiexec is the standard. I already hate OpenMPI for their lack of good software practices and am not interested in catering to this.

comment:5 Changed 10 years ago by dstrubbe (David Strubbe)

I don't understand. All you have to do is insert one more word into the post-destroot. And mpich-default is installing this file already.

Port mpich-default contains:
  /opt/local/bin/hydra_nameserver-mpich-mp
  /opt/local/bin/hydra_persist-mpich-mp
  /opt/local/bin/hydra_pmi_proxy-mpich-mp
  /opt/local/bin/mpic++-mpich-mp
  /opt/local/bin/mpicc-mpich-mp
  /opt/local/bin/mpichversion-mpich-mp
  /opt/local/bin/mpicxx-mpich-mp
  /opt/local/bin/mpiexec-mpich-mp
  /opt/local/bin/mpiexec.hydra-mpich-mp
  /opt/local/bin/mpif77-mpich-mp
  /opt/local/bin/mpif90-mpich-mp
  /opt/local/bin/mpirun-mpich-mp
  ...

comment:6 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: reopenedclosed

Please don't reopen this ticket anymore.

comment:7 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: closedreopened

I've had a change of heart. I'll add mpirun to openmpi either tonight or tomorrow.

comment:8 Changed 10 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: reopenedclosed

Fixed in r118939. Thanks for your patience.

comment:9 Changed 10 years ago by dstrubbe (David Strubbe)

Question about r118941: was it deliberate to remove mpiexec from files/openmpi-devel-llvm?

comment:10 in reply to:  9 Changed 10 years ago by seanfarley (Sean Farley)

Replying to dstrubbe@…:

Question about r118941: was it deliberate to remove mpiexec from files/openmpi-devel-llvm?

>_< No. It was not. I'll push a fix soon.

Last edited 10 years ago by seanfarley (Sean Farley) (previous) (diff)

comment:11 Changed 10 years ago by seanfarley (Sean Farley)

Ok, should be fixed by r118984. Thanks again for the report!

Note: See TracTickets for help on using tickets.