Why Mathematica refuses to recognize my Intel C++ compiler? I addressed the compiler location, but when listing the C++ available, Mathematica never list the Intel C++ compiler. I have VS2012 and VS2013 both installed.
In[10]:= Needs["CCompilerDriver`"]
$CCompiler = {"Compiler" ->
CCompilerDriver`IntelCompiler`IntelCompiler,
"CompilerInstallation" ->
"C:\\Program Files (x86)\\Intel\\Composer XE 2013 SP1"}
Out[11]= {"Compiler" -> CCompilerDriver`IntelCompiler`IntelCompiler,
"CompilerInstallation" ->
"C:\\Program Files (x86)\\Intel\\Composer XE 2013 SP1"}
In[12]:= "Compiler" /. $CCompiler
Out[12]= CCompilerDriver`IntelCompiler`IntelCompiler
In[13]:= DownValues[CCompilerDriver`IntelCompiler`IntelCompiler]
Out[13]= {HoldPattern[
CCompilerDriver`IntelCompiler`IntelCompiler["Available"]] :>
With[{CCompilerDriver`IntelCompilerWindows`Private`\
automaticInstallation =
CCompilerDriver`IntelCompilerWindows`Private`$ThisDriver[
"ResolveInstallation"][Automatic]},
TrueQ[CCompilerDriver`IntelCompilerWindows`Private`$ThisDriver[
"ValidInstallationQ"][
CCompilerDriver`IntelCompilerWindows`Private`\
automaticInstallation]]]}
In[14]:= CCompilers[]
Out[14]= {{"Name" -> "Visual Studio",
"Compiler" ->
CCompilerDriver`VisualStudioCompiler`VisualStudioCompiler,
"CompilerInstallation" ->
"C:\\Program Files (x86)\\Microsoft Visual Studio 12.0",
"CompilerName" -> Automatic}, {"Name" -> "Visual Studio",
"Compiler" ->
CCompilerDriver`VisualStudioCompiler`VisualStudioCompiler,
"CompilerInstallation" ->
"C:\\Program Files (x86)\\Microsoft Visual Studio 11.0",
"CompilerName" -> Automatic}, {"Name" -> "Visual Studio",
"Compiler" ->
CCompilerDriver`VisualStudioCompiler`VisualStudioCompiler,
"CompilerInstallation" ->
"C:\\Program Files (x86)\\Microsoft Visual Studio 10.0",
"CompilerName" -> Automatic}}