[MPICH] RE: MPICH2 - can you send us your mpi pgm ?
Jayesh Krishna
jayesh at mcs.anl.gov
Tue Nov 6 14:47:43 CST 2007
Hi,
You should not have to make any changes to your existing system (The
various options supported by mpiexec might change/standardized but any
functionality supported by SMPD should be available with the new process
manager).
Regards,
Jayesh
_____
From: Sudan, Hari Hara [mailto:Hari.H.Sudan at conocophillips.com]
Sent: Tuesday, November 06, 2007 12:41 PM
To: Jayesh Krishna
Subject: RE: MPICH2 - can you send us your mpi pgm ?
Hi Jayesh,
Thanks for the information.
If the new process manager outdates the smpd, does it have any impact on the
communication across PC to Linux.
What changes should we expect from any of our implementation if we use the
new process manager.
Regards,
Hari
_____
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: Tuesday, November 06, 2007 12:09 PM
To: Sudan, Hari Hara
Cc: mpich-discuss at mcs.anl.gov
Subject: RE: MPICH2 - can you send us your mpi pgm ?
Hi,
The latest version of MPICH2 does not include the changes for
singleton-init. The changes are slated for a future release.
(Note: Meanwhile we are also in the process of implementing a new process
manager which would outdate smpd. It should be out sometime next year.)
Regards,
Jayesh
_____
From: Sudan, Hari Hara [mailto:Hari.H.Sudan at conocophillips.com]
Sent: Tuesday, November 06, 2007 11:17 AM
To: Jayesh Krishna
Subject: RE: MPICH2 - can you send us your mpi pgm ?
Jayesh,
I was trying to find out if the singleton init (non-MPI process calling
MPI_Init() and transforming into an MPI process) has been implemented in the
new versions.
Thanks
_____
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: Thursday, June 14, 2007 3:46 PM
To: Sudan, Hari Hara
Cc: mpich2-maint at mcs.anl.gov
Subject: RE: MPICH2 - can you send us your mpi pgm ?
Hi,
Currently the support for singleton init (a non-MPI process calling
MPI_Init() and transforming into an MPI process) is limited in windows. We
are in the process of implementing the extended PMI wire protocol which
would enable users to use functions like MPI_Comm_spawn() from a singleton
MPI process.
Regards,
Jayesh
_____
From: Sudan, Hari Hara [mailto:Hari.H.Sudan at conocophillips.com]
Sent: Thursday, June 14, 2007 12:54 PM
To: Jayesh Krishna
Subject: RE: MPICH2 - can you send us your mpi pgm ?
The Application actually creates a dll that dynamically links to a 3rd party
application.
The MPI calls ( MPI SPAWN) work perfectly fine when we launch using mpiexec
instead of calling MPI_INIT inside the code.
After calling MPI_Init the only other MPI calls made are
MPI_INIT(NULL,NULL)
....
....
MPI_Status stat;
MPI_Info spawn_info;
MPI_Comm_rank( MPI_COMM_WORLD, &my_rank );
MPI_Comm_size( MPI_COMM_WORLD, &num_proc );
CString csCommandLine, csFile;
csCommandLine.Format ( "\"%s\\submodel.bat\" \"%s\" \"%s\" \"-v %s
-network_init -mpi_init -noprompt\" \"%s\"",
GetApp()->GetLoadAppPath(),
.......
.......
MPI_Info_create( &spawn_info );
if ( !obCaseDetails.sMachine.IsEmpty() )
{
MPI_Info_set( spawn_info, "host", strHost );
}
MPI_Info_set( spawn_info, "path", strPath );
MPI_Info_set( spawn_info, "wdir", strWdir );
MPI_Info_set( spawn_info, "file", strFile );
ierr = MPI_Comm_spawn( slave, MPI_ARGV_NULL, 1, spawn_info, my_rank,
MPI_COMM_WORLD, &comm_child, MPI_ERRCODES_IGNORE );
MPI_Info_free( &spawn_info );
Thanks
_____
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: Wednesday, June 13, 2007 12:10 PM
To: Sudan, Hari Hara
Cc: mpich2-maint at mcs.anl.gov
Subject: RE: MPICH2 - can you send us your mpi pgm ?
Hi,
Can you send us your sample MPI program ?
Regards,
Jayesh
_____
From: Sudan, Hari Hara [mailto:Hari.H.Sudan at conocophillips.com]
Sent: Wednesday, June 13, 2007 11:27 AM
To: Jayesh Krishna
Subject: MPICH2
Jayesh,
Is there a way to start MPI process in the application using MPI_INIT()
rather than start it automatically by launch using "mpiexec" command.
I read in the "Using MPI-2" book that MPI_init could be called, but when I
tried it instead of using mpiexec, it did not work.
It got hung when I was trying to spawn another process (MPI_COMM_SPAWN).
Any suggestions would be appreciated.
Thanks
Regards,
Hari Sudan
Associate Reservoir Engineer
ConocoPhillips Petroleum Co.
600 N. Dairy Ashford, NS 2068
Ph: 281-293-4873
Hari.H.Sudan at conocophillips.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20071106/c871ff0b/attachment.htm>
More information about the mpich-discuss
mailing list