Page 1 of 1

Matlab 64bit mex compiling Issues

PostPosted: Thu Sep 22, 2011 10:19 pm
by stj8kk74ho
When using Matlab (R2009b 64bit on a Windows 7 64bit machine) with CULA R12 and matlab_cula.bat all runs smooth except if trying to compile mex-files.

The installed C++ Compiler is Visual Studio Express 9 w Windows 7 SDK and .NET FW 3.5.

When Matlab is started w/o CULA mex-File compilation works wo Problems, when starting Matlab w CULA and doing a mex-File compilation i'm getting this error:

??? Error using ==> mex at 221
Unable to complete successfully.

Any advise how to fix that is appreciated.

Re: Matlab 64bit mex compiling Issues

PostPosted: Mon Sep 26, 2011 12:23 pm
by kyle
Is your custom MEX file using CUDA or linking the CUDA libraries?

Re: Matlab 64bit mex compiling Issues

PostPosted: Wed Sep 28, 2011 6:39 am
by stj8kk74ho
I'm not 100% sure but as the mex-file has been compiled on a different (and i assume a Non-Cula one) Machine i think that it is not directly calling CULA.