From: Deeepak on 15 May 2010 04:50 Hi all I am newbie in Matlab.I am trying to make M file from CUDA programs given in Matlab_CUDA plug ins.All instruction are given in read file is Working fine,when i try to run nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart It gives following error: This is mex, Copyright 1984-2005 The MathWorks, Inc. -> Options file specified on command line ---------------------------------------------------------------- -> Options file = nvmexopts.bat MATLAB = C:\PROGRA~1\MATLAB\R2007b -> COMPILER = nvcc -> Compiler flags: COMPFLAGS = -c -D_WCHAR_T_DEFINED -Xcompiler "/c /Zp8 /GR /W3 /EHsc- /Zc:wchar_t- /DMATLAB_MEX_FILE /nologo" OPTIMFLAGS = -D_WCHAR_T_DEFINED -Xcompiler "/MD /O2 /Oy- /DNDEBUG" DEBUGFLAGS = -D_WCHAR_T_DEFINED -Xcompiler "/MD /Zi /Fd"Szeta.mexw32.pdb" arguments = -IC:\cuda\include Name switch = -o -> Pre-linking commands = -> LINKER = link -> Link directives: LINKFLAGS = /dll /export:mexFunction /MAP /LIBPATH:"C:\PROGRA~1\MATLAB\R2007b\extern\lib\win32\microsoft" libmx.lib libmex.lib libmat.lib /implib:C:\DOCUME~1\hhhh\LOCALS~1\Temp\mex_DB1ADF77-371A-473B-2B9D-BDE13C4996D8\templib.x /MACHINE:X86 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib LINKDEBUGFLAGS = /DEBUG /PDB:"Szeta.mexw32.pdb" LINKFLAGSPOST = Name directive = /out:"Szeta.mexw32" File link directive = Lib. link directive = Rsp file indicator = @ -> Resource Compiler = rc /fo "mexversion.res" -> Resource Linker = ---------------------------------------------------------------- Could not find the compiler "nvcc" on the DOS path. Use mex -setup to configure your environment properly. C:\PROGRA~1\MATLAB\R2007B\BIN\NVMEX.PL: Error: Unable to locate compiler. ??? Error using ==> nvmex at 206 Unable to complete successfully. Please suggest me the solution of this problem. Is it a problem with nvcc path? Is an change require in nvmexopts.bat or nvmex.pl? Following are Detail of my tools: 1.CUDA Toolkit2.3 2.CUDA Sdk2.3 3.Matlab_CUDA plug ins 1.1 4.Visual Stdio 2005 or 2008(But now I am using 2005 for Matlab) 5.Window Service Pack 3 6. Matlab Version 7.5.0(R2007b)
|
Pages: 1 Prev: Cannot install Matlab 2007a on Windows 7 Next: wavelet bandwidth |