Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] Problem with MPI_Comm_spawn_multiple & MPI_Info_free
From: Tee Wen Kai (teewenkai_at_[hidden])
Date: 2009-03-09 04:18:23

I have a program that allow user to enter their choice of operation. For example, when the user enter '4', the program will enter a function which will spawn some other programs stored in the same directory. When the user enter '5', the program will enter another function to request all spawned processes to exit. Therefore, initially only one process which act as the controller is spawned.
My MPI_Info_create and MPI_Comm_spawn_multiple are called in a function. Everything is working fine except when I tried to free the MPI_Info in the function by calling MPI_Info_free, I have segmentation fault error. The second problem is when i do the spawning once and exit the controller program with MPI_Finalize, the program exited normally. But when spawning is done more than once and exit the controller program with MPI_Finalize, there is segmentation fault. I also realize that when the spawed processes exit, the 'orted' process is still running. Thus, when multiple MPI_Comm_spawn_multiple are called, there will be multiple 'orted' processes.
Thank you and hope someone has a solution to my problem.
Wenkai New Email names for you! Get the Email name you've always wanted on the new @ymail and @rocketmail. Hurry before someone else does!