CUDALink with Mathematica 8, Visual C++ 2008 Express and Windows 7 x64
- To: mathgroup at smc.vnet.net
- Subject: [mg117007] CUDALink with Mathematica 8, Visual C++ 2008 Express and Windows 7 x64
- From: jpcooper <paston.cooper at gmail.com>
- Date: Mon, 7 Mar 2011 05:49:02 -0500 (EST)
Recently I was having problems with loading the doubleFun example with CUDAFunctionLoad in the CUDALink tutorial. I have Mathematica 8, Visual C++ 2008 Express and "Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1" running on Windows 7 x64 I was getting the following error: C:\Users\Justin\AppData\Roaming\Mathematica\ApplicationData\CUDALink\B \ uildFolder\justin-rig-4468\Working-justin-rig-4468-956-3>call \ "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" \ amd64 The specified configuration type is missing. The tools for the configuration might not be installed. nvcc H=83=EC(=80=y\[Degree]\.19: Visual Studio configuration file '(null)' \ could not be found for installation at 'C:/Program Files \ (x86)/Microsoft Visual Studio 9.0/VC/bin/../..' I had a look at vcvarsall.bat, and for x64 systems I saw that it looks at C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin \amd64\vcvarsamd64.bat . This file did not exist. I copied C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars64.bat to C: \Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin \amd64\vcvarsamd64.bat and now all seems to work. Hopefully if you're receiving the same errors on the same system, then this will solve it for you. I hope that in future releases of CUDALink, this problem will be solved.