Re: [OMPI users] help regarding SELF checkpointing, c or c++

2011-08-01 Thread Faisal Shahzad
Hi,I found my mistake. I was using same callback functions in C++ as in C but without using extern "C". Now it works.Thanks for your reply.Kind regards,Faisal > Date: Mon, 1 Aug 2011 09:58:13 -0400 > From: jjhur...@open-mpi.org > To: us...@open-mpi.org > Subject: Re: [OMPI

Re: [OMPI users] help regarding SELF checkpointing, c or c++

2011-08-01 Thread Josh Hursey
There should not be any issue is checkpointing a C++ vs C program using the 'self' checkpointer. The self checkpointer just looks for a particular function name to be present in the compiled program binary. Something to try is to run 'nm' on the compiled C++ program and make sure that the 'self' ch

[OMPI users] help regarding SELF checkpointing, c or c++

2011-08-01 Thread Faisal Shahzad
Dear Group, My question is that, does SELF checkpointing work only with 'c' or also with 'c++' program?I have a simple program written in 'c'. It makes self-checkpoint (run callback functions) when i compile it with mpicc and do checkpointing during run.But when i convert same program to .cpp,