Thanks for the quick response. Following the instructions on the page you linked, I updated the Makevars to:
CXX14=$(BINPREF)g++ -O2 -march=native -mtune=native
CXX14FLAGS=-O3 -march=native -mtune=native
CXX11FLAGS=-O3 -march=native -mtune=native
This allowed me to run a model that I know worked previously. It completed in around 580 seconds.
Then I tried again after removing -O2
and it completed again in around 580 seconds.