On 2 February 2016 at 11:07, Gilles Gouaillardet <gil...@rist.or.jp> wrote: > Lisandro, > > here is attached a patch (master does things differently, so this has to be > a one-off patch anyway) > could you please give it a try ? >
OK, just tried your patch: the warnings went away, valgrind didn't complain. > btw, how do you get these warnings automatically ? > ./configure --enable-debug --enable-mem-debug ... PS: Running a trivial program with MPI_Init()/Finalize() shows a few memory leaks if run under valgrind. Just FYI, in case you want to take a closer look. -- Lisandro Dalcin ============ Research Scientist Computer, Electrical and Mathematical Sciences & Engineering (CEMSE) Numerical Porous Media Center (NumPor) King Abdullah University of Science and Technology (KAUST) http://numpor.kaust.edu.sa/ 4700 King Abdullah University of Science and Technology al-Khawarizmi Bldg (Bldg 1), Office # 4332 Thuwal 23955-6900, Kingdom of Saudi Arabia http://www.kaust.edu.sa Office Phone: +966 12 808-0459