Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Unable to load mex file: /usr/niftyrec/matlab/et_project_mex.mexglx
Monteiro4
Newbie
Posts: 1
Permalink
Post Unable to load mex file: /usr/niftyrec/matlab/et_project_mex.mexglx
on: June 18, 2013, 13:26
Quote

Hi,

I've been trying to install NiftyRec but with no success.
Frist I tried on Windows 8 64bits, but as it is said in a paralel post, it is not possible right now.
Then i tried on a Windows 7 32bits, but it gave an error similar to the subject title.
And now, im trying on Ubuntu 13.04, and i also cant use niftyrec :S I followed the instructions:
- installed the .deb 1.6.8 cuda
- runned this: export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/niftyrec/matlab/:/usr/local/matlab7/bin/matlab

(is this correct?, in the wiki it is like: "$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/yourusername/NiftyRec/lib/:/usr/local/matlab/bin/matlab", but my niftyrec installed in /usr/niftyrec/, and i dont have a /lib folder...
Matlab version here in linux is "Version 7.0.0.19901 (R14)".

Still when i try to run "et_demo_mlem" the error is:

Unable to load mex file: /usr/niftyrec/matlab/et_project_mex.mexglx.
libcudart.so.4: não é possível abrir objecto partilhado: Ficheiro ou directoria inexistente
??? Invalid MEX-file '/usr/niftyrec/matlab/et_project_mex.mexglx': .

Error in ==> et_project at 91
sinogram = et_project_mex(activity, cameras, attenuation, psf, use_gpu, background, background_attenuation, truncate_negative_values);

Error in ==> et_demo_mlem at 54
ideal_sinogram = et_project(phantom, cameras, attenuation, psf, GPU);

What can i do? Do I miss something? Or do i need to install anything extra to deal with the mex files or something?
I'm a bit noob in linux... maybe im doing something wrong... still i didnt manage to run it on windows 7 32 bits either :S
Please help.
Thanks in advance,
Filipe Monteiro

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.34 ; Page loaded in: 0.03 seconds.
{lang: 'en-GB'}