How to change gfortran version

ぃ、小莉子 提交于 2020-06-17 13:19:09

问题


I am using Bellhop ray tracing algorithm for MacOS. I have downloaded the source code for MacOS without the binaries.

I want to change my gfortran version from 9.2.0 to 8.3.0. I installed it using homebrew. I have version 9.2.0 installed. I have it installed at /usr/bin/

I cannot seem to find any commands online to change the version.

gfortran -dumpversion 

This gave me my version number but I cannot seem to find a command to get a different version.

I am working on macOS (Mojave V 10.14.6). I installed it using homebrew in /usr/local/bin/gfortran. I have version 9.2.0 installed.

type gfortran

Gives me the output:

 /usr/local/bin/gfortran

Update: I believe I have 8.3.0 now downloaded by erasing 9.2.0 and downloading gfortran-8. I needed to completely remove it from my system before downloading a different version.

来源:https://stackoverflow.com/questions/61021444/how-to-change-gfortran-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!