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