Skip to content

Mac OS Workaround

Please note that there is an incompatability with recent MacOS Monterey and the gfortran compiler that effects AT.
Write commands are not being flushed at the end of the program.
The following is a workaround while Apple is working on a fix. 12/02/2021

You need to set an environmental variable: GFORTRAN_UNBUFFERED_ALL=1 in your favorite shell run command (ie .bashrc,..) before your run any of the models.

  • In .bashrc_profile (or similar) include the line: export GFORTRAN_UNBUFFERED_ALL=1, then execute with source .bashrc_profile
  • You only need to execute this the first time. It will execute automatically when you login the next time.
  • If you are using Matlab or some similar application, you should include the line: setenv(‘GFORTRAN_UNBUFFERED_ALL’, ‘1’)
  • before running your model routines. You can include this line in your startup or init routines.

Email OALIB if you have questions.