Opened 10 years ago

Closed 10 years ago

#43197 closed defect (fixed)

mpich-default @3.1 notes issues

Reported by: dstrubbe (David Strubbe) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: eborisch (Eric A. Borisch)
Port: mpich-default

Description

I see two problems in the notes for this port.

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

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

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
  /opt/local/bin/mpivars-mpich-mp
  /opt/local/bin/parkill-mpich-mp
  ...

Change History (5)

comment:1 Changed 10 years ago by eborisch (Eric A. Borisch)

I'll fix the typo.

Why do you say the names are wrong? They need to line up with https://trac.macports.org/browser/trunk/dports/science/mpich/files/mpich-mp-fortran -- which they do, to my eye.

When sudo port select --set mpi mpich-mp-fortran is run, these will be linked to from the corresponding lines in https://trac.macports.org/browser/trunk/dports/sysutils/mpi_select/files/base -- and then mpicc will point to mpicc-mpich-mp.

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

Let me clarify: the note says the wrappers are installed as "mpi[cc|cxx|f77|f90]-mp". But in fact such files do not exist. They are installed as "mpi[cc|cxx|f77|f90]-mpich-mp".

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

Replying to dstrubbe@…:

Let me clarify: the note says the wrappers are installed as "mpi[cc|cxx|f77|f90]-mp". But in fact such files do not exist. They are installed as "mpi[cc|cxx|f77|f90]-mpich-mp".

Ah, I thought you meant the '-fortran' part. I see. This is my fault when I added mpi portgroup stuff. Can someone fix these typos (probably same for OpenMPI)? I'm unable to work on MacPorts stuff for another day or two.

comment:4 Changed 10 years ago by eborisch (Eric A. Borisch)

Got it. I will try to fix these tonight / tomorrow.

comment:5 Changed 10 years ago by eborisch (Eric A. Borisch)

Resolution: fixed
Status: newclosed

Fixed in r118721.

Note: See TracTickets for help on using tickets.