#50499: /opt/local/bin/mpifort: Permission denied -----------------------+-------------------------------- Reporter: carsten@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: openmpi-gcc5 -----------------------+-------------------------------- 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/50499> MacPorts <https://www.macports.org/> Ports system for OS X