Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Matlab r2009a

2 views
Skip to first unread message

j...@think.gnix.co.uk

unread,
Jul 10, 2011, 9:52:02 AM7/10/11
to
Hello

I am wondering if anyone has any advice on how to install Matlab r2009a on NetBSD, particularly NetBSD 5.1 amd64 which is the version and port I am using.

I have found a guide online but it uses older versions of the software and NetBSD, and a different NetBSD port (although i'm not sure that's especially relevent).

Best wishes

jamie.

--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-...@muc.de

Hauke Fath

unread,
Jul 11, 2011, 6:31:28 AM7/11/11
to
At 14:52 Uhr +0100 10.07.2011, j...@think.gnix.co.uk wrote:
>I am wondering if anyone has any advice on how to install Matlab r2009a on
>NetBSD, particularly NetBSD 5.1 amd64 which is the version and port I am
>using.
>
>I have found a guide online but it uses older versions of the software and
>NetBSD, and a different NetBSD port (although i'm not sure that's
>especially relevent).

Neither is - I suspect the shell script framework that the *nix installer
uses is still the same, so most of the patches should apply with offset. No
usable unionfs on netbsd-5, unfortunately.

A quick and dirty way to "install" Matlab is to install on a Linux OS, then
tar up the installation directory and unpack on the NetBSD machine. You may
have to adapt a few shell scripts' OS detection along the lines of
<http://www.spg.tu-darmstadt.de/~hf/notes/matlab-on-netbsd.html>.

The bigger obstacle, though, is that more and more of Matlab's
functionality beyond the raw numerics is being moved to Java code. NetBSD's
linux emulation was never really up to the task of running such a complex
Java application - expect lots of threads locking up or busy-looping at
100% cpu. Moreover, ISTR netbsd-5 does not support the linux 2.6.x kernel
api, including the kernel threads model.

We ended up migrating the research associates' and lab machines to debian a
few years ago.

But -- by all means have a try at it, and report back!

hauke


--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

Thor Lancelot Simon

unread,
Jul 11, 2011, 8:12:29 AM7/11/11
to
On Mon, Jul 11, 2011 at 12:31:28PM +0200, Hauke Fath wrote:
> The bigger obstacle, though, is that more and more of Matlab's
> functionality beyond the raw numerics is being moved to Java code. NetBSD's
> linux emulation was never really up to the task of running such a complex
> Java application - expect lots of threads locking up or busy-looping at
> 100% cpu. Moreover, ISTR netbsd-5 does not support the linux 2.6.x kernel
> api, including the kernel threads model.

I think I did manage to replace Matlab's built-in JRE with a standard
Linux one years ago. Now we have a native NetBSD JDK/JRE -- so this is
probably worth a try.

Thor

Hauke Fath

unread,
Jul 11, 2011, 8:39:37 AM7/11/11
to
At 8:12 Uhr -0400 11.07.2011, Thor Lancelot Simon wrote:
>I think I did manage to replace Matlab's built-in JRE with a standard
>Linux one years ago. Now we have a native NetBSD JDK/JRE -- so this is
>probably worth a try.

ISTR Matlab's Java code uses RNI to invoke the native (linux code) numerics
libraries. That probably wouldn't fly with NetBSD's JRE...

hauke

--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281

--

0 new messages