- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Umm, no, this has nothing to do with anything. Projects are not interdependent so I'm only compiling the SIMD project.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page