Changes

Jump to navigation Jump to search
<nowiki>sudo port install octave-local @3.6.4+atlas+fltk+gcc47</nowiki>
The use of the <code>+atlas</code> variant is encouraged as bugs exist for Apple's accelerate framework in both MacOS 10.6 and 10.7. Octave's developers have included a fix for MacOS 10.6, but the fix does not work for MacOS 10.7. There is some commentary on this in various developers discussion forums. For example, see [https://github.com/mxcl/homebrew/issues/6649 this Homebrew thread (Octave 3.4 fails on lion)], [https://stat.ethz.ch/pipermail/r-sig-mac/2011-September/008564.html this R-Sig-Mac thread (R 2.13.1-patched, vecLib problem on Lion)], and [http://list.coin-or.org/pipermail/ipopt/2011-October/002610.html the COIN-OR thread (Ipopt - problems on OS X 10.7 Lion)]. Use of Apple's {{Codeline|accelerate}} framework should also be avoided for <code>arpack<\code> and <code>qrupdate<\code>. To install the recommended variants, use the <code>port</code> commands below.
<nowiki>port install arpack +atlas+gcc47
port install qrupdate +atlas+gcc47</nowiki>
As a precaution against unexpected problems and a bloated App bundle, using consistent variants for Octave and its dependents is suggested. For example, when using {{Codeline|<code>+atlas}} </code> make sure none of the dependents are using {{Codeline|<code>+accelarate}}</code>. Also, make sure no dependents are using the {{Codeline|<code>+universal}} </code> variant. Using the {{Codeline|<code>+gcc47}} </codeL variant is also recommended as all of Octave's dependents have a {{Codeline|<code>+gcc47}} <code> variant. At the very least, following these suggestions will reduce the size of the bundle. The name of Octave's dependent ports may be determined by the command below.
<nowiki>port rdeps octave-local</nowiki>
<nowiki>port installed <portname></nowiki>
Once an Octave port is installed the command below may be used to determine / verify the version and variants of {{Codeline|<nowikicode>octave-local</nowikicode>}} which are installed.
<nowiki>port installed octave-local</nowiki>
364

edits

Navigation menu