<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""></div><div class=""><br class=""></div><div class="">Thanks and Regards</div><div class=""><br class=""></div><div class="">Guy</div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 21 Dec. 2016, at 4:47 am, Ian Hinder &lt;<a href="mailto:ian.hinder@aei.mpg.de" class="">ian.hinder@aei.mpg.de</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class="">On 20 Dec 2016, at 03:12, Guy &lt;<a href="mailto:guy.pitman@bigpond.com" class="">guy.pitman@bigpond.com</a>&gt; wrote:<br class=""><br class=""><blockquote type="cite" class="">Hi Eloisa <br class=""><br class="">I installed gcc6 and changed the option list to point to that <br class=""><br class="">(CPP = cpp-6<br class="">FPP = cpp-6<br class="">CC &nbsp;= gcc-6<br class="">CXX = g++-6<br class="">F90 = gfortran-6<br class=""><br class="">CPPFLAGS =<br class="">FPPFLAGS = -traditional<br class="">CFLAGS &nbsp;&nbsp;= -g -std=c11<br class="">CXXFLAGS = -g -std=c++14<br class="">F90FLAGS = -g -m128bit-long-double -fcray-pointer -ffixed-line-length-none<br class=""><br class="">LDFLAGS = -lgfortran)<br class=""><br class=""><br class="">But when I run build, I get the error message<br class=""><br class="">Configuration script for thorn FORTRAN returned exit code 1<br class=""> &nbsp;&nbsp;&nbsp;&nbsp;Error message: 'Fortran thorn requires that a Fortran compiler is defined, but F77 = 'none' and F90 = 'none'. &nbsp;Aborting.’<br class=""><br class="">I have searched for these expressions and found something in <br class=""><br class="">./lib/make/configure, but am not sure how/whether to change it.<br class=""><br class=""><br class="">Do you have any ideas?<br class=""></blockquote><br class="">Hi,<br class=""><br class="">The first thing to try when you get some sort of unexplained error and have been trying different build options, is to remove the configuration and do a fresh build.<br class=""><br class="">rm -rf configs/sim<br class=""><br class="">This will give you a clean slate, and it shouldn't matter what you have done before with the build. &nbsp;The sim setup command has also written some files outside the configs directory; it writes simfactory/etc/defs.local.ini and simfactory/mdb/machines/&lt;machinename&gt;.ini. &nbsp;<br class=""><br class="">I suspect that what happened above is that you edited the optionlist but simfactory didn't know to use the new version. &nbsp;If you edit the optionlist in simfactory/mdb/optionlists/osx-homebrew.cfg, you need to add<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>--optionlist osx-homebrew.cfg<br class=""><br class="">to the "sim build" command that you use to build. &nbsp;A fresh build will always use the new optionlist, of course.<br class=""><br class="">Please can you wipe the sim configuration as above, and try to rerun the build command. &nbsp;If it doesn't work, please can you post the following:<br class=""><br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- The full output from the terminal after wiping the configuration, up to and including the build output and error message<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- The optionlist you are using (simfactory/mdb/optionlists/osx-homebrew.cfg?)<br class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- Your defs.local.ini (this is written by "sim setup", to)</div></div></blockquote><blockquote type="cite" class=""><div class=""><div class=""><span class="Apple-tab-span" style="white-space:pre">        </span>- The machine definition file (this is in simfactory/mdb/machines/XXX.ini) where XXX is your machine name, which you can find from "simfactory/bin/sim whoami"<br class=""><br class="">Roland, when you uploaded the osx-sierra results, did you use homebrew or macports?<br class=""><br class="">-- <br class="">Ian Hinder<br class=""><a href="http://members.aei.mpg.de/ianhin" class="">http://members.aei.mpg.de/ianhin</a><br class=""><br class=""></div></div></blockquote></div><br class=""></div></body></html>