Jump to content
14 posts in this topic

Recommended Posts

Anyone running MATLAB on osx86? I've got the installer, but when trying to install, it screws up at the license file part. When trying to run lm_matlab to get a license, it says it can't find the ethernet device. When I try to run lm_matlab myself in terminal I get "Bus error"... Anyone got MATLAB working?

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/
Share on other sites

Update: got it installed, but it won't give me the nice GUI because it whines about Java not being available... working on that now.

 

Error when starting Matlab in xterm:

 

Java for ppc cannot run in this configuration.

Please consult documentation.

Warning: Failed to start the Java Virtual machine - JNI error: -1.

Warning: Disabling Java support.

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-17512
Share on other sites

Looks like we're boned when it comes to the java interface:

 

JNI Libraries. JNI libraries built for PowerPC-based Macintosh computers are not loaded under Rosetta because the Java Virtual Machine has already launched without Rosetta. Java applications fail on Intel-based Macs when trying to load PowerPC-only binaries.

 

taken from http://developer.apple.com/qa/qa2005/qa1295.html

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-17525
Share on other sites

  • 2 weeks later...

Hi chebyshev

 

I installed MATLAB 7.0.4 for Macintosh,

 

and it was installed nicely, but would not run.

 

I read the crash dump message, and it said that it has the "Bus error"

 

and Java Virtual Machine is not enabled.

 

And the program is just terminated...leaving only the X11 window.

 

How did you get it work, although you don't have the nice GUI?

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-19750
Share on other sites

you can run MATLAB without Java by giving it the "-nojvm flag". Start up X11.app and then in xterm type:

 

$ /Applications/MATLAB704/bin/matlab -nojvm

 

replace /Applications/MATLAB704 with whatever the name of the install location is for you.

 

no nice GUI, but it is bloated and laggy anyhow

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-21012
Share on other sites

  • 2 weeks later...

I tried to install matlab last night and had some odd problem: lmhostid does not work for me, i.e., it returns error -29 (cannot find ethernet device). I even tried upgrading to a newer version of lmutil from macrovision.com and still have the same problem. I have a license file that was issued with my nic's mac (which is what hostid should be) so this should not be an issue.

 

Has anyone else experienced this? (And knows how to solve the problem?)

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-22398
Share on other sites

  • 3 weeks later...

I am still trying to install matlab 7.1 and have this problem: lmgrd reports that Vendor daemon died with status 0. I am using the same license file that works fine on my mac mini, but not on the x86 machine.

 

This is very frustrating! Has anyone been able to successfully install 7.1 on an x86?

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-25884
Share on other sites

  • 2 months later...
I tried to install matlab last night and had some odd problem: lmhostid does not work for me, i.e., it returns error -29 (cannot find ethernet device). I even tried upgrading to a newer version of lmutil from macrovision.com and still have the same problem. I have a license file that was issued with my nic's mac (which is what hostid should be) so this should not be an issue.

 

Has anyone else experienced this? (And knows how to solve the problem?)

 

I got the same prob here: ifconfig returns the macaddress but lmhostid cant find it. trying to install maya 7 on OSx86 10.4.3 JAS patched.

 

Anyone?

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-48754
Share on other sites

I use Matlab extensively, normally on Windows. Recently, since I'm on a University campus, I switched to using a remote Matlab session through ssh while still using the Matlab editor. So under OS X I can use the remote Matlab too (much faster than my machine!)... but without the editor, I've moved to Xcode. I wrote a .pbfilespec, .pblangspec, and a comment/uncomment script for Xcode to support Matlab syntax, so it's got most of the features of the old Matlab editor now. And I use X11 forwarding when necessary to plot results, which works fine.

 

I know that's not helpful to anyone trying to use the full Matlab GUI in OS X. But my point is that I'm someone who was heavily dependent on the GUI before, and I do fine without it now.

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-48816
Share on other sites

  • 3 weeks later...
  • 2 years later...
(someone requested)

 

I attached my Xcode specification files for MATLAB, as well as a revised version of the comment/uncomment script that handles MATLAB comments.

 

I can install and run Matlab R2008B on iDeneb 1.3 10.5.5 fine, but it crashes with a bus error as soon as I try to do a simple matrix multiplication.

 

I have tried this both with Java and without. I have the latest X11 Xquartz installed (on top of the X11 that came installed with iDeneb), not that it matters for the matrix multiplication.

 

How do I use the xcode spec above ? Since your post is more than 2 years old, I was wondering if any progress has been made on this. Matlab is the last piece of the puzzle for me.

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-1013478
Share on other sites

  • 3 months later...

Hello,

I had similar problems running Matlab - I was getting 'Bus error' each time i tried to run it. As for now, the only solution that works for me is running Matlab without with '-nodisplay' option. So basically you can run Matlab typing in your terminal:

/Applications/MATLAB_R2008a/bin/matlab -nodisplay

Of course you get no GUI, but better something than nothing. You can also try to disable java adding -nojvm flag to your command, but from my experience it is not a matter of Java but just X11.

You can also try to open 'Start MATLAB Settings', select 'Terminal' and put '-nodisplay' in the Run command box.

 

I hope it helps, at least partially.

 

Adam

Link to comment
https://www.insanelymac.com/forum/topic/2748-matlab/#findComment-1120853
Share on other sites

×
×
  • Create New...