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

Extremely slow compilation

$
0
0

I am having very slow compilations using the 2016 compiler, that are still happening after upgrading to the latest update (2016 U2). I'm getting no replies from any of my "premier" support requests (6000143197, 6000151208), so I thought I'd try here instead, as it looks likeI'm notthe only one. There's only one license in the directory pointed to by INTEL_LICENSE_FILE, and no difference if I point that variable to the .lic file directly. I do not have a license server, but rather a stand-alone license (the machine is isolated).

$ time icpc -V
Intel(R) C++ Intel(R) 64 Compiler for applications running on Intel(R) 64, Version 16.0.2.181 Build 20160204
Copyright (C) 1985-2016 Intel Corporation.  All rights reserved.

real	0m0.393s
user	0m0.003s
sys	0m0.046s
#include <iostream>
int main() { std::cout << "Hello, world!"<< std::endl; return 0; }
$ time icpc helloworld.cpp

real	0m8.880s
user	0m0.259s
sys	0m0.819s

I won't post the output of enabling INTEL_LMD_DEBUG, but I can say most of the compilation time are these two lines printing over and over:

    INTEL_LMD: flex_post_fork: called
    INTEL_LMD: flex_pre_fork: called

Viewing all articles
Browse latest Browse all 1665

Trending Articles



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