Re: [OMPI users] Double free or corruption problem updated result

2017-06-19 Thread Gilles Gouaillardet
Ashwin, the valgrind logs clearly indicate you are trying to access some memory that was already free'd for example [1,0]:==4683== Invalid read of size 4 [1,0]:==4683==at 0x795DC2: __src_input_MOD_organize_input (src_input.f90:2318) [1,0]:==4683== Address 0xb4001d0 is 0 bytes inside a

Re: [OMPI users] Double free or corruption problem updated result

2017-06-17 Thread ashwin .D
Hello Gilles, First of all I am extremely grateful for this communication from you on a weekend and that too few hours after I posted my email. Well I am not sure I can go on posting log files as you rightly point out that MPI is not the source of the problem. Still I have enclosed

Re: [OMPI users] Double free or corruption problem updated result

2017-06-17 Thread Gilles Gouaillardet
Ashwin, did you try to run your app with a MPICH-based library (mvapich, IntelMPI or even stock mpich) ? or did you try with Open MPI v1.10 ? the stacktrace does not indicate the double free occurs in MPI... it seems you ran valgrind vs a shell and not your binary. assuming your mpirun command is

Re: [OMPI users] Double free or corruption problem updated result

2017-06-17 Thread ashwin .D
There is a sequential version of the same program COSMO (no reference to MPI) that I can run without any problems. Of course it takes a lot longer to complete. Now I also ran valgrind (not sure whether that is useful or not) and I have enclosed the logs. On Sat, Jun 17, 2017 at 7:20 PM, ashwin .D