Philippe, Thanks a lot for helping with this. I ran the code as you suggested. aprun is a job submission system for our cluster machines.
Attached is a file with all the output in order: code, native, strace native, valgrind, strace -f valgrind If you look at the strace -f valgrind output, at the bottom you'll see a mmap fail with EINVAL return code. hugepage_test.txt <http://valgrind.10908.n7.nabble.com/file/n49175/hugepage_test.txt> -- View this message in context: http://valgrind.10908.n7.nabble.com/mpich-unable-to-munmap-hugepages-tp49150p49175.html Sent from the Valgrind - Users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users