<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="">The information at <a href="https://wiki.octave.org/Octave_for_macOS" class="">https://wiki.octave.org/Octave_for_macOS</a> is that the default octave uses the accelerator variant. <div class=""><br class=""></div><div class="">But this has the problem that is uses arpack, whose default variant is accelerate; this uses Apples Vector Libraries which have some known bugs that can cause Octave to crash if certain functions in arpack are called!<div class=""><br class=""></div><div class="">So they recomend using the atlas port of octace (hence of arpack and SparseSuite, too, I presume).<br class=""><div><br 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></body></html>