| View previous topic :: View next topic |
| Author |
Message |
kugel n00b

Joined: 06 May 2012 Posts: 9 Location: Stuttgart, Germany
|
Posted: Sun May 06, 2012 4:02 pm Post subject: Unable to start Matlab |
|
|
Hi Everyone,
i am new to gentoo and like it very much so far!
I was able to solve all my problems without asking here but i just can't get Matlab R2012a to start on my machine.
It just gives me:
# ./matlab
Bus error
and thats all
I am running gentoo with kernel 3.2.12 on amd64 and my JVM is icedtea7
Sorry if i did not provide enough information, please ask and i will post it.
Thank You! |
|
| Back to top |
|
 |
gorkypl Guru

Joined: 04 Oct 2010 Posts: 440 Location: Kraków, PL
|
Posted: Mon May 07, 2012 1:21 pm Post subject: |
|
|
First rough idea - can you try oracle-jre-bin-1.7 instead of icedtea? _________________ BTW, TWM FTW! |
|
| Back to top |
|
 |
smartass Tux's lil' helper

Joined: 04 Jul 2011 Posts: 142 Location: right behind you ... (you did turn around, didn't you?)
|
Posted: Mon May 07, 2012 5:16 pm Post subject: |
|
|
My thoughts (meaning they may not be helpful at all):
- If you just need to execute some rather simple code, consider porting it to numpy+scipy+matplotlib.
- If you are using matlab in a University environment with licenses distributed over network, you may have to wait for other people to finish their work.
- Hard to tell which Bus that is supposed to be. Perhaps DBus (but I doubt that). It that's the case, try starting it through openRC (provided it is installed, as it should be with the standard desktop profile and some decent DE/WM) by executing (as root)
| Code: | | rc-service dbus start |
If that helps, place the dbus service into the default runlevel | Code: | | rc-update add dbus default |
try running for more info
Why did you use the hash (#) symbol? if that means you are running it as root, try it as a normal user.
|
|
| Back to top |
|
 |
kugel n00b

Joined: 06 May 2012 Posts: 9 Location: Stuttgart, Germany
|
Posted: Mon May 07, 2012 7:33 pm Post subject: |
|
|
Hey!
Thank you for your replies
But unfortunately it still does not work and matlab does not give me anything else except "Bus error".
DBus is running and switching to oracle-jre-bin-1.7 did not help.
Any suggestions? |
|
| Back to top |
|
 |
John R. Graham Administrator


Joined: 08 Mar 2005 Posts: 6441 Location: Somewhere over Atlanta, Georgia
|
Posted: Mon May 07, 2012 7:50 pm Post subject: |
|
|
Yes. "Bus error" doesn't mean what most people think it means. It means you're out of shared memory (not swap space, nor is it related to dbus), which is directly related to the amount of physical memory you have, at least in the standard Gentoo setup. You have a line in your /etc/fstab something like | Code: | | shm /dev/shm tmpfs nodev,nosuid,noexec 0 0 | By default, only half your physical RAM is allowed to be shared memory, but you can addor some other number to the options (nodev,nosuid,noexec). This may help or else you may just need more RAM.
To experiment without rebooting, as root do | Code: | | mount -o remount,size=100% /dev/shm |
- John _________________ This space intentionally left blank. |
|
| Back to top |
|
 |
kugel n00b

Joined: 06 May 2012 Posts: 9 Location: Stuttgart, Germany
|
Posted: Mon May 07, 2012 8:45 pm Post subject: |
|
|
Hi John,
thank you for your reply, my fstab looks like this but it still does not work. I have 16GB of RAM so i don't think half of it is not enough for tmpfs, or is there another problem with my fstab?
| Code: |
/dev/sda5 / ext4 noatime 0 1
/dev/sda6 none swap sw 0 0
/dev/sdb1 /mnt/winhome ntfs auto,user,umask=0000 0 0
/dev/sdb2 /mnt/music ntfs auto,user,umask=0000 0 0
proc /proc proc defaults 0 0
shm /dev/shm tmpfs nodev,nusuid,noexec 0 0
tmpfs /tmp tmpfs nodev,nosuid 0 0
tmpfs /var/tmp/portage tmpfs nodev,nosuid 0 0
|
sorry i do not know why it is displayed almost unformatted...
when i try mounting shm the following happens
| Code: |
kugels bin # mount -o remount,size=100% /dev/shm
mount: /dev/shm not mounted or bad option
|
|
|
| Back to top |
|
 |
Naib Advocate


Joined: 21 May 2004 Posts: 3930 Location: UK - Birmingham
|
Posted: Fri May 11, 2012 9:42 am Post subject: |
|
|
im getting a bunch of pc's refreshed soon at work and one is fore simulation and I have a dedicated licence of matlab for this machine, ill try then _________________ A free press is the unsleeping guardian of every other right that free men prize; it is the most dangerous foe of tyranny. Where men have the habit of liberty, the Press will continue to be the vigilant guardian of the rights of the ordinary citizen. |
|
| Back to top |
|
 |
kugel n00b

Joined: 06 May 2012 Posts: 9 Location: Stuttgart, Germany
|
Posted: Tue May 15, 2012 5:43 pm Post subject: |
|
|
Hey,
does nobody know what i could do about this problem?
Thank you |
|
| Back to top |
|
 |
|