#39428: mpich should have variant +gcc47 by default --------------------------+------------------------ Reporter: dstrubbe@… | Owner: eborisch@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: haspatch Port: mpich | --------------------------+------------------------ Comment (by sean@…): Replying to [comment:7 dstrubbe@…]:
All right, I see.
Well, perhaps a Fortran MPI sub-port or stub port could be made that would allow the mixed installation you mention, as well as making sure that mpif77 is installed when needed as a dependency.
This thread is exactly the problem I've been trying to solve over the last year or so, sporadically. The issue boils down to the fact that the clang family of compilers doesn't have anything for fortran and that macports doesn't split up gcc into non-fortan subports. So, there are a few routes to take: 1) split up gcc into subports This would be a lot of work because of the many ports that implicitly assume that gcc has a fortran compiler. 2) split up mpi ports into fortan subports This would break the macports structure of compilers already in place. Also, this breaks mpi standards because fortran mpi wrappers need to exist. 3) add gfortran to the clang variant of the mpi ports This would add gcc as a dependency to all the clang variants. I was originally opposed to (3) but now think this is the most complete solution. I don't think we should provide any variant of mpi without fortran wrappers. eborisch, I see that you aren't in favor of adding more dependencies but do you have any other ideas? -- Ticket URL: <https://trac.macports.org/ticket/39428#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X