|
From: Ferosh J. <fj...@cr...> - 2012-03-17 03:53:32
|
Hi all I have an OpenMP program written in C and OpenMP, the program runs fine for some sizes of data, For bigger sizes it is throwing a segmentation fault, I tried setting the ulimit -s 10000, unlimited, G/K/O, MP_STACKSIZE, variables but all in vain. While running through valgrind this is not happening, the program ends normally. Below is the Valgrind summary. I believe if I can setup the execution environment as in the Valgrind, my program will execute normally. :) Anyone knows where I can find this information, like the value of variables set before executing a program in Valgrind. Please let me know if you need more information. ==4506== ==4506== HEAP SUMMARY: ==4506== in use at exit: 1,764 bytes in 4 blocks ==4506== total heap usage: 37,477 allocs, 37,473 frees, 7,095,680 bytes allocated ==4506== ==4506== LEAK SUMMARY: ==4506== definitely lost: 0 bytes in 0 blocks ==4506== indirectly lost: 0 bytes in 0 blocks ==4506== possibly lost: 152 bytes in 1 blocks ==4506== still reachable: 1,612 bytes in 3 blocks ==4506== suppressed: 0 bytes in 0 blocks ==4506== Rerun with --leak-check=full to see details of leaked memory ==4506== ==4506== For counts of detected and suppressed errors, rerun with: -v ==4506== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 19 from 6) Thanks Ferosh |