Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

Parallel Studio XE 2016 Composer Xcode OpenMP Integration

$
0
0

Hi there,

So I've installed Parallel Studio 2016 XE Composer and have it integrated with my XCode.  In fact I am able to change my project build settings to use ICC Intel C++ Compiler latest release, or even version 16.0.  However, when I try to use #include <omp.h> at the top of my file, the compiler does not recognize omp.h.  I also tried installing this: https://www.openmprtl.org/download#stable-releases which is supposedly coupled with the latest parallel studio on Mac.  However, it uses clang, and after installing cmake and using cmake to install the OpenMP in that link, it turns out omp.h is still not recognized no matter which of the three compilers I use, whether it be Apple's clang or the other two intel compilers.  I also searched my file system for omp.h and it turns out that it is located in /opt/intel/compilers_and_libraries_2016.1.111/mac/compiler/include/.  I manually added that path to my header search paths in XCode, but my program still cannot find omp.h.  I also tried including <libiomp/omp.h> and <libomp/omp.h> to no avail.  Any ideas on how I can get openmp to function properly?

P.S.

When I run intel software manager, it seems that if I go under the licenses tab, there are buttons to activate five things on a list: Integrated performance primitives, math kernel library, parallel studio XE 2016 composer edition for c++, and other things.  It says support expires on 11/6/16, and if I click the activate button, it will ask for my serial number, and if I enter it and then click the second activate button, it will tell me that the license file cannot be saved and to make sure I have permissions to Intel license folders.  Could this be an issue?

Thanks!


Viewing all articles
Browse latest Browse all 1616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>