Forum

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.





Pages: [1]
Author Topic: Problem with NiftyRec/NoCuda on MacOS X v10.9.4
kieranmahe-
r
Newbie
Posts: 4
Permalink
Post Problem with NiftyRec/NoCuda on MacOS X v10.9.4
on: August 24, 2014, 07:08
Quote

Hi
I followed all instructions for installation after downloading NiftyRec-1.6.8-MacOSX-i386_nocuda.dmg on a '1.3 GHz Intel Core i5' macBookAir.
I tried running the demo, as documentation suggested and got in reply:

>> et_demo_mlem
Creating synthetic sinogram..
Invalid MEX-file '/usr/niftyrec/matlab/et_project_mex.mexmaci64':
dlopen(/usr/niftyrec/matlab/et_project_mex.mexmaci64, 6): Library not loaded:
@rpath/libcudart.dylib
Referenced from: /usr/niftyrec/matlab/et_project_mex.mexmaci64
Reason: image not found

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

Error in et_demo_mlem (line 36)
ideal_sinogram = et_project(phantom, cameras, attenuation, psf, GPU);

Seems similar to what Christoph got with NiftyRec/CUDA on a mac back in June, 2013. Is there something that I'm doing wrong?

Kieran (Noob)

kieranmahe-
r
Newbie
Posts: 4
Permalink
Post Re: Problem with NiftyRec/NoCuda on MacOS X v10.9.4
on: August 28, 2014, 04:26
Quote

Dear Stefano,

I'm still intrigued by this problem and have tried multiple 'variations on the theme' in attempts to get NiftyRec software running.

I've downloaded NiftyRec-1.6.9 and been playing around with some debugging - on the basis of various error messages generated when trying to run NiftyRec 1.6.8 - and have noticed an issue which could greatly impact on my efforts:

Its to do with et_demo_fbp.m where the code is as follows:

<code>
% ET_DEMO_FBP
% NiftyRec Demo: FBP SPECT reconstruction
%
%See also
% ET_DEMO_MLEM, ET_DEMO_OSEM, ET_DEMO_MAPEM_MRF
%
%
%Stefano Pedemonte
%Copyright 2009-2013 CMIC-UCL
%Gower Street, London, UK

%% Parameters
N = 128;
N_projections = 120;
cameras = linspace(0, 2*pi, N_cameras);
psf = ones(5,5,N);
N_counts = 50e6;

iter_mlem = 30;
GPU = 1;

phantom_type = 0; % 0 for 'brain FDG PET'; 1 for sphere in uniform background; 2 for spiral

%% Initialise plot
figure(1); subplot(2,3,1);
</code>

I note that N_cameras insn't defined for:

cameras = linspace(0, 2*pi, N_cameras);

The code reads like N_cameras is meant to be N_projections (from the line above).

Does this indicate that the software is buggy and not yet suitable for deployment in the public domain?

Should I continue to try to get this software running?

Yours sincerely,

Kieran

Kieran Maher, Msc, PhD
Senior Physicist
Medical Imaging Dept
St Vincent's Hospital Melbourne
Australia
-=-

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