Quantcast
Channel: Recent posts
Viewing all articles
Browse latest Browse all 19

Very large structs GCC ok, ICC seg fault, simple example.

$
0
0
English

We have a very large structure ~10GB. GCC does not seem to have a problem with it but ICC is seg faulting. I've boiled it down to simple assignment statements. Any ideas?  Files attached. If we don't allocate but declare the structure it works fine. Any problems with Intel allocating large amounts of memory?  We've tried moving things around in the structure definition but it continues to seg fault.

icc -mcmodel=medium -shared-intel -g  test.c -o test
gcc -mcmodel=medium -g test.c -o test


Viewing all articles
Browse latest Browse all 19

Trending Articles