MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

CUDALink with Mathematica 8, Visual C++ 2008 Express and Windows 7 x64

  • To: mathgroup at
  • Subject: [mg117007] CUDALink with Mathematica 8, Visual C++ 2008 Express and Windows 7 x64
  • From: jpcooper <paston.cooper at>
  • 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:

uildFolder\justin-rig-4468\Working-justin-rig-4468-956-3>call \
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
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.

  • Prev by Date: Re: How to avoid repeated calculation in NDSolve ?
  • Next by Date: Re: random line in a very large file
  • Previous by thread: Re: results from Array and ParallelArray differ
  • Next by thread: Notebook interface and Wolfram-Alpha