Is it possible to get a downgraded version of gfortran?

  • Thread starter Thread starter CAF123
  • Start date Start date
  • Tags Tags
    Gfortran
Click For Summary
Downgrading gfortran on MacOS Big Sur to version 9.1.0 can be challenging. Users have reported difficulties using Homebrew commands like "brew install gfortran@9.1.0" and "brew search gfortran," which yield limited results. Alternative methods include checking the GCC website for binaries specific to MacOS, although some resources may be temporarily unavailable. Compiling gfortran from source is another option, albeit more complex. Additionally, setting up a Linux virtual machine can provide access to various GCC releases. It's also suggested to investigate the specific compilation issues with the code, as there may be existing fixes or workarounds available online, potentially avoiding the need for a downgrade altogether.
CAF123
Gold Member
Messages
2,918
Reaction score
87
Is it still possible to somehow get a downgraded version of gfortran? Currently I have version 10.2.0 but this leads to some incompatibility in the compilation of some fortran code in a package I wish to install. As I am on a new machine, it is probably ok for me to uninstall gfortran without too much problems elsewhere but I couldn't see how I might then get a downgraded version of gfortran. I am looking for gfortran version 9.1.0 and I am on a MacOs Big Sur operating system.

I have tried brew install gfortran@9.1.0 and brew search gfortran but neither give useful results.

Thanks!
 
Computer science news on Phys.org
Have you tried the links at https://gcc.gnu.org/wiki/GFortranBinaries#MacOS? Fink looks the most promising but the site is not responding at the moment, GitHub obviously works but may not have the version you want. Otherwise you may need to compile from source, or could look at installing a Linux virtual machine which will give you access to all the GCC releases.
 
Sometimes, this can become a rabbit hole where you start downgrading one app and then another until you get lost in the mire.

Is there no way to find why the code doesn't install or compile and fix it at that point? It would seem that someone has run into this before and possibly has a fix available online.
 
  • Like
Likes pbuk
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 2 ·
Replies
2
Views
8K
Replies
1
Views
2K
Replies
2
Views
3K
  • · Replies 6 ·
Replies
6
Views
15K
  • · Replies 1 ·
Replies
1
Views
2K