[cpp]Connection* IntConnectionFactory ::build(FemMesh::ConstSmPtr mesh, vector >& dofKomp2Row, const map & numDofs) const { // do preparations #pragma omp parallel for //LINE 184
for(int m=0; m
The error is reported in the line containing the openmp pragma. After uncomment this line I get the same error for another pragma, which is also in templete method. I know it might be hard to reproduce this issue, but I dont know how to write a small test case for this issue. What does errror 0_1871 mean? Is there a solution / workaround?
When building without "-tcheck" everthing works just fine. Any ideas?
Cheers,
Tim
Link Copied
Sorry forgot to mention my environment:
$ cat /proc/version
Linux version 2.6.18-128.7.1.el5_sunhpc1
(giraffe-bot@giraffe-stack-centos53.co.cfs) (gcc version 4.1.2 20080704
(Red Hat 4.1.2-44)) #1 SMP Mon Jan 4 16:16:30 MST 2010
$ tcheck_cl --version
Intel Thread Checker 3.1 command line instrumentation driver (26185)
Copyright (c) 2007 Intel Corporation. All rights reserved.
$ icpc --version
icpc (ICC) 11.1 20100414
Copyright (C) 1985-2010 Intel Corporation. All rights reserved.
For the compiler i also tried version: "icc (ICC) 11.1 20100203" and "icc (ICC) 12.0.1 20100706" (Beta) with the same result.
[bash]#include#include int build() { std::valarray items(100); #pragma omp parallel for for(int m=0; m
It seems -tcheck whines with valarrays + openmp combined togetherfor a simple case too, and seems a defect.
Please also let me know whether you get thatwith this simple code ..
[bash]#pragma omp parallel for [/bash]to
[bash]#pragma omp parallel
[/bash]
For more complete information about compiler optimizations, see our Optimization Notice.