Opened 9 years ago

Closed 7 years ago

#50499 closed defect (fixed)

openmpi-gcc5: /opt/local/bin/mpifort: Permission denied

Reported by: platipodium (Carsten Lemmen) Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: openmpi-gcc5

Description

The mpmifort executable is falsely linked to a pkgconfig file ...

> port install openmpi-gcc5
> port select --set mpi openmpi-gcc-fortran
> mpifort
-bash: /opt/local/bin/mpifort: Permission denied

> ls -l /opt/local/bin/mpifort
lrwxr-xr-x  1 root  admin     45  1 Feb 10:21 /opt/local/bin/mpifort -> /opt/local/lib/openmpi-gcc5/pkgconfig/orte.pc

> ls -l /opt/local/bin/mpifort
lrwxr-xr-x  1 root  admin     34  1 Feb 10:21 /opt/local/bin/mpif90 -> /opt/local/bin/mpif90-openmpi-gcc5

Obviously, mpif90 is linked correlty and mpifort is not. This problem is easily solved by

ln -sf /opt/local/bin/mpifort-openmpi-gcc5 /opt/local/bin/mpifort

Change History (3)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to sean@…
Priority: HighNormal
Summary: /opt/local/bin/mpifort: Permission deniedopenmpi-gcc5: /opt/local/bin/mpifort: Permission denied

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

Thanks for the bug report. Looking into it.

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

Resolution: fixed
Status: newclosed

This has long since been fixed.

Note: See TracTickets for help on using tickets.