Community
cancel
Showing results for 
Search instead for 
Did you mean: 
dnesteruk
Beginner
171 Views

error MSB6006: "icl.exe" exited with code 2.

Out of the blue I'm getting the following error

"1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 15.0\Toolset.targets(357,5): error MSB6006: "icl.exe" exited with code 2."

I've attached full project and appreciate any help you can give.

0 Kudos
2 Replies
Amanda_S_Intel
Employee
171 Views

The error I see is that you did not select the Intel MPI project to build for Debug 64x:

2>------ Build started: Project: HelloMPI, Configuration: Debug x64 ------
2>  stdafx.cpp
1>  stdafx.cpp
2>C:\Users\aksharp\Desktop\HpcSamples\HelloMPI\stdafx.h(3): error : cannot open source file "mpi.h"
2>    #include <mpi.h>
2>                    ^
2>  
2>  compilation aborted for stdafx.cpp (code 4)
1>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Platforms\x64\PlatformToolsets\Intel C++ Compiler XE 15.0\Toolset.targets(355,5): error MSB6006: "icl.exe" exited with code 2.
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========

Go to Build -> Configuration Manager and check the box.

dnesteruk
Beginner
171 Views

Umm, no, this has nothing to do with anything. Projects are not interdependent so I'm only compiling the SIMD project.

Reply