<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><span style="font-family: arial, helvetica, sans-serif; text-indent: 10px; background-color: rgb(255, 255, 255); font-size: 15px;" class="">I have solved the problem by uninstalling other MacPorts that used the atlas libraries, including octave, qrupdate, and arpack; then installing those dependencies with the +accelerate variant; and finally installing openmodelica-devel+gfortran5+libraries+omnotebook+qt+sundials. </span><br style="font-family: arial, helvetica, sans-serif; text-indent: 10px; font-size: 15px;" class=""><br style="font-family: arial, helvetica, sans-serif; text-indent: 10px; font-size: 15px;" class=""><span style="font-family: arial, helvetica, sans-serif; text-indent: 10px; background-color: rgb(255, 255, 255); font-size: 15px;" class="">I hope that, contrary to what is still posted on the Gnu Octave, the Apple libraries are now sufficiently error-free that the atlas libraries are not actually needed (We'll see!) </span><br style="font-family: arial, helvetica, sans-serif; text-indent: 10px; font-size: 15px;" class=""><br style="font-family: arial, helvetica, sans-serif; text-indent: 10px; font-size: 15px;" class=""><span style="font-family: arial, helvetica, sans-serif; text-indent: 10px; background-color: rgb(255, 255, 255); font-size: 15px;" class="">Thanks to all who replied about this issue.</span><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 16 Apr2018, at 4:50 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">After uninstalling the +atlas variant of octave and its direct or indirect deps or dependent’s sundials, SuiteSparse. qrupdate, and arpack, I began reinstalling with the +accelerate variant.<div class=""><br class=""></div><div class="">I used (with sudo):</div><div class=""><br class=""></div><div class="">  <span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">port install octave +app+accelerate+docs+fltk+gfortran+graphicsmagick+qt5+sound</span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class=""> </span></div><div class=""><font face="Menlo" class=""><span style="font-size: 12px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class="">but when the octave installation was running it tried to install qrupdate and hit error:</div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">  </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">Error: Failed to fetch qrupdate: must set at least one Fortran variant (e.g. +gfortran, +gccX, +g95)</span></div><div class=""><font face="Menlo" class=""><span style="font-size: 12px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class="">So I quit that, cleaned everything, and directly tried...</div><div class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="background-color: rgb(255, 255, 255);" class="">  </span><span style="font-family: Menlo; font-size: 12px; background-color: rgb(255, 255, 255);" class="">port install qrupdate +accelerate +gfortran</span></div><div class=""><font face="Menlo" class=""><span style="font-size: 12px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class="">… and got same error message that I must set a Fortran variant.</div><div class=""><br class=""></div><div class="">Now I’m puzzled: the qrupdate port says +gfortran is such a variant, then fails to accept it.  And in fact:</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">port info qrupdate</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">qrupdate @1.1.2_5 (math)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Variants:             [+]accelerate, atlas, g95, gcc44, gcc45, gcc46, gcc47,</span></div><div style="margin: 0px; font-stretch: normal; font-size: 12px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                      gcc48, gcc49, gcc5, gcc6, [+]gcc7, openblas, universal</span></div></div><div class=""><br class=""></div><div class="">(I see what Ken Cunningham said in separate message about blowing up MacPorts and starting over, but I have quite a number of config files, e.g., for apache, mysql, php, phpmyadmin, that I’d hate to set up again; that could take days. Unless I misunderstand what Ken said.)</div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 16 Apr2018, at 3:55 PM, Adam Dershowitz <<a href="mailto:dersh@alum.mit.edu" class="">dersh@alum.mit.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">As an datapoint, but not completely answering your question.  I have the following installed and all working:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">sundials @3.1.0_1+accelerate+fortran_klu+gfortran+mpich (active)</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt4+sound (active)</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">SuiteSparse @4.2.1_4+accelerate (active)</span></div></span></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo; background-color: rgb(255, 255, 255);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">openmodelica-devel @1.13.0~dev-882-g45503fc_0+gfortran5+omnotebook+qt+sundials (active)</span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><br class="webkit-block-placeholder"></div><div class="">
<div class="">I don’t recall the installation order, or if any of those are not the default variant.  </div><div class=""><br class=""></div><div class="">--Adam</div><div class=""><br class="khtml-block-placeholder"></div><div class=""><br class="khtml-block-placeholder"></div>

</div>
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Apr 16, 2018, at 3:39 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">From a post on the OpenModelica forum, I learned that the trouble was that I did not have the lapack port installed, and so the openmodelica-devel configure was attempting to use libatlas from atlas instead.<br class=""><br class="">Subsequently, after cleaning everything, I did install lapack @3.8.0_0+gfortran. However, the configure still fails. Undoubtedly this is due to the fact that the following both involve atlas:<br class=""><br class="">    octave @4.2.2_1+app+atlas+docs+fltk+gfortran+graphicsmagick+qt5+sound <br class="">    SuiteSparse @4.2.1_4+atlas  [NB: octave depends on SuiteSparse]<br class=""><br class="">I wonder if the following ploy might work (this is the MacPorts part of the question):<br class=""><br class="">    (1) uninstalling the +atlas variants of SuiteSparse and octave;<br class=""><br class="">    (2) install openmodelica-devel (assuming that the presence of atlas and libatlas was the sole issue); then finally<br class=""><br class="">    (3) reinstalling the +atlas variants of octave and SuiteSparse.<br class=""><br class="">Note that openmodelica _seems_ to use SuiteSparse as well as lapack. And sundials has a library dependency on SuiteSparse.<br class=""><br class="">Further information:<br class=""><br class="">[me:~]$ sp dependent atlas<br class="">SuiteSparse depends on atlas<br class="">arpack depends on atlas<br class="">octave depends on atlas<br class="">qrupdate depends on atlas<br class=""><br class="">[me:~]$ sp deps octave<br class="">Full Name: octave @4.2.2_1+accelerate+app+docs+fltk+gfortran+graphicsmagick+qt5+sound<br class="">Build Dependencies:   gawk, icoutils, librsvg, grep, findutils, gsed, flex, bison, gperf, perl5, pkgconfig, gcc7, pkgconfig, librsvg, texinfo, texlive-basic, texlive-latex, texlive-fonts-recommended<br class="">Library Dependencies: python27, ghostscript, gnuplot, less, ncurses, readline, pcre, SuiteSparse, qhull, zlib, hdf5, fftw-3, fftw-3-single, glpk, curl, qrupdate, arpack, fontconfig, freetype, gl2ps,<br class="">                      vecLibFort, libgcc, qscintilla-qt5, fltk, libsndfile, portaudio, GraphicsMagick, qt5-qtbase, qt5-qttools<br class="">Runtime Dependencies: epstool, ghostscript, fig2dev, pstoedit<br class=""><br class="">[me:~]$ sp deps openmodelica-devel <br class="">Full Name: openmodelica-devel @1.13.0~dev-895-g0365526_0+gfortran5+omnotebook+qt+sundials<br class="">Build Dependencies:   gtime, gsed, cmake, pkgconfig, autoconf, automake, libtool<br class="">Library Dependencies: lp_solve, gettext, omniorb, readline, qjson, libgcc, gcc5, sundials, qt4-mac, qwt52<br class="">Runtime Dependencies: omlib-modelica-3.2.1<br class=""><br class=""><blockquote type="cite" class="">On 7 Apr2018, at 4:34 PM, Ken Cunningham <<a href="mailto:ken.cunningham.webuse@gmail.com" class="">ken.cunningham.webuse@gmail.com</a>> wrote:<br class=""><br class=""><br class=""><br class=""><blockquote type="cite" class="">On Apr 7, 2018, at 1:13 PM, Murray Eisenberg <<a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a>> wrote:<br class=""></blockquote><br class="">With a small change in the openmodelica-devel Portfile that I did prior to starting the build (so it would use gcc7 for fortran), all of openmodelica-devel built through to completion for me on a current Xcode and 10.13 system, using no compiler variants, and only +libraries.<br class=""><br class="">set gfortran_versions {4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7}<br class="">set default_fortran_variant +gfortran7<br class=""><br class=""><br class="">Ken<br class=""></blockquote><br class="">---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space:pre">   </span><span class="Apple-tab-span" style="white-space:pre">    </span><span class="Apple-tab-span" style="white-space:pre">    </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space:pre">       </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space:pre">    </span>Mobile (413)-427-5334<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></div></div></div></blockquote></div><br class=""><div class="">
---<br class="">Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">                       </span><a href="mailto:murrayeisenberg@gmail.com" class="">murrayeisenberg@gmail.com</a><br class="">503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">     </span>Home (240)-246-7240<br class="">Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">  </span>Mobile (413)-427-5334<br class=""><br class="">

</div>
<br class=""></body></html>