1 Dec
                
                    2015
                
            
            
                1 Dec
                
                '15
                
            
            
            
        
    
                11:23 a.m.
            
        Dear Onno, On 30/11/15 22:14, Onno Bokhove wrote:
I get this:
ls -l $(which gfortran)
lrwxr-xr-x 1 root admin 32 24 Mar 2014 /usr/local/bin/gfortran -> /usr/local/gfortran/bin/gfortran
gfortran works fine; hello.f90 works fine; it is the openmpi bit when I add "use mpi"
use mpi
1
Fatal Error: Can't open module file 'mpi.mod' for reading at (1): No such file or directory
mpif90 hello.f90 -o hello
command does not work.
I /think/ what has happened is that homebrew has got in a mess somehow and mpif90 is pointing at the wrong place. What is the output of: mpicc -show mpif90 -show Cheers, Lawrence