Установите OpenMPI на Mac OS 10.13.3 с помощью gfortran

321
user2582713

Я установил gfortran с файлом dmg, доступным здесь, скачал и распаковал файл tar, доступный здесь, и запустил ./configure --prefix = / usr / local /.

Я получаю следующий вывод, когда он пытается обнаружить мой компилятор Фортран

*** 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. 

Кажется, он находит gfortran, но затем он говорит, что «мы не используем компилятор GNU Fortran», а затем не проходит тесты компиляции. Почему это происходит?

0

0 ответов на вопрос

Похожие вопросы