Hello !
I have a problem with matlab. Here the "Matlab configuration" part in the log when I launch brainvisa :
Matlab executable: matlab
Matlab executable full path: /usr/local/bin/matlab
opening matlab to guess release version
matlab seems to work. How lucky you are.
Matlab version: 6
pymat module: pymat6
importation failed.
loading default pymat module
Matlab n'est pas disponible
It does the same if I try to force the MatlabRelease and MatlabExecutable...
I do not feel such lucky !!
I am working on Fedora Core 5, does anybody had this problem before ?
Thank you !
Matlab / FC5
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Hi,
We have not really tested the packages on FC5 yet. I know that there are some libraries or dynamic linker issues (see this topic) but I don't know about the matlab module. I guess there are also some library problems...
To get more information about the error, try loading it manually in python, after running the setup script of the binary package:
(sh/bash)
or (csh/tcsh)
then:
and then, in the python interpreter:
I hope this will at least be more verbose about the error that occurs.
Denis
We have not really tested the packages on FC5 yet. I know that there are some libraries or dynamic linker issues (see this topic) but I don't know about the matlab module. I guess there are also some library problems...
To get more information about the error, try loading it manually in python, after running the setup script of the binary package:
(sh/bash)
Code: Select all
. <SHFJ_pack_path>/bin/SHFJEnvironmentVariables.sh
Code: Select all
source <SHFJ_pack_path>/bin/SHFJEnvironmentVariables.csh
Code: Select all
<SHFJ_pack_path>/bin/python
Code: Select all
import pymat6
Denis
Thank you Denis. It seems that it miss a librairy... Here is the message I get :
(for both 13 and 14 Matlab releases)
Do you know what can I do to fix it ?
(for both 13 and 14 Matlab releases)
Code: Select all
>>> import pymat7
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libeng.so: cannot open shared object file: No such file or directory
>>> import pymat6
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: libeng.so: cannot open shared object file: No such file or directory
- riviere
- Site Admin
- Posts: 1361
- Joined: Tue Jan 06, 2004 12:21 pm
- Location: CEA NeuroSpin, Saint Aubin, France
- Contact:
Oh yes I see, I forgot about this "detail"...
Well, now we have 2 matlab modules depending on matlab version, the corresponding matlab libraries cannot be included in the binary package anymore (because both have the same name, matworks hasn't taken care of assigning them distinct version numbers). So you must provide the path to these matlab libraries by yourself.
Matlab7 uses paths like <matlab_base_path>/bin/glnx86
Matlab6 uses paths like <matlab_base_path>/extern/lib/glnx86
You have to add it to your LD_LIBRARY_PATH environment variable before running beainvisa.
I don't know it there is a way to guess these paths from matlab executable (and to make it automatic) or not...
Denis
Well, now we have 2 matlab modules depending on matlab version, the corresponding matlab libraries cannot be included in the binary package anymore (because both have the same name, matworks hasn't taken care of assigning them distinct version numbers). So you must provide the path to these matlab libraries by yourself.
Matlab7 uses paths like <matlab_base_path>/bin/glnx86
Matlab6 uses paths like <matlab_base_path>/extern/lib/glnx86
You have to add it to your LD_LIBRARY_PATH environment variable before running beainvisa.
I don't know it there is a way to guess these paths from matlab executable (and to make it automatic) or not...
Denis