Instale o OpenMPI no Mac OS 10.13.3 com gfortran

0

Eu instalei o gfortran com o arquivo dmg disponível aqui , baixei e descompactei o arquivo tar disponível aqui , e então correu ./configure --prefix = / usr / local /.

Eu recebo a seguinte saída quando ele tenta detectar meu compilador Fortran

*** Fortran compiler checking for gfortran... gfortran checking whether we are using the GNU Fortran compiler... no checking whether gfortran accepts -g... no checking whether ln -s works... yes checking if Fortran compiler works... no
**********************************************************************
* It appears that your Fortran compiler is unable to produce working
* executables.  A simple test application failed to properly
* execute.  Note that this is likely not a problem with Open MPI,
* but a problem with the local compiler installation.  More
* information (including exactly what command was given to the
* compiler and what error resulted when the command was executed) is
* available in the config.log file in the Open MPI build directory.
**********************************************************************
configure: error: Could not run a simple Fortran program.  Aborting.

Parece encontrar o gfortran, mas depois ele diz que 'não estamos usando um compilador GNU Fortran', e então falha nos testes de compilação. Por que isso está acontecendo?

    
por user2582713 10.05.2018 / 11:18

0 respostas