<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi Jayesh,<BR> <BR>thanks for your reply.<BR> <BR>> >> 1/ I wanted to configure a MFC project ...<br>> It would be difficult to guess the source of your problem. One thing I can recommend is performing a diff on the VS proj files.<BR>I think the problem is MPI uses the debugging option "MPI Cluster Debugger", while MFC, probably, uses another.<br> <BR><div><div id="SkyDrivePlaceholder">> >> 2/ Since MPI_Publish_Name doesn't work across applications...<br>> You can manually write the port name to a file (and read it from other MPI processes).<br>> Are you referring to MPICH_PORT_RANGE? MPICH_PORT_RANGE specifies the range of ports to be used by the MPICH library (Try specifying a bigger range, say with 10 port numbers).<br>I am developping a multi client/ multi server application, so saving the port name of each server and client into a file is gonna need a lot of synchronization, that's why i thought that maybe it's gonna be easier if the port was predetermined.</div><div><br>> >> 3/ I have to launch my application in a remote node...<br>> Do you have the same username (with the same password) on all the machines/nodes? MPICH uses the same registered username/password to launch processes on all the nodes.</div><div>Yes, I have the same username/password on all nodes, and i tried also to run the application as an administrator.</div><div> </div><div>Regards,</div><div>Toufik.</div><div> </div>> Date: Thu, 26 Jul 2012 09:57:54 -0500<br>> From: jayesh@mcs.anl.gov<br>> To: mpich-discuss@mcs.anl.gov<br>> CC: h_toufik7@hotmail.fr<br>> Subject: Re: [mpich-discuss] some questions about MPI<br>> <br>> Hi,<br>> <br>> >> 1/ I wanted to configure a MFC project ...<br>> It would be difficult to guess the source of your problem. One thing I can recommend is performing a diff on the VS proj files.<br>> <br>> >> 2/ Since MPI_Publish_Name doesn't work across applications...<br>> You can manually write the port name to a file (and read it from other MPI processes).<br>> Are you referring to MPICH_PORT_RANGE? MPICH_PORT_RANGE specifies the range of ports to be used by the MPICH library (Try specifying a bigger range, say with 10 port numbers).<br>> <br>> >> 3/ I have to launch my application in a remote node...<br>> Do you have the same username (with the same password) on all the machines/nodes? MPICH uses the same registered username/password to launch processes on all the nodes.<br>> <br>> Regards,<br>> Jayesh<br>> <br>> ----- Original Message -----<br>> From: "toufik hadjazi" <h_toufik7@hotmail.fr><br>> To: mpich-discuss@mcs.anl.gov<br>> Sent: Wednesday, July 25, 2012 11:22:41 AM<br>> Subject: [mpich-discuss] some questions about MPI<br>> <br>> <br>> <br>> Hi, <br>> <br>> I am working on windows 7 using mpich2-1.4.1-p1. during that, I encountered some problems, which are: <br>> <br>> 1/ I wanted to configure a MFC project with MPI using the usual configuration but during the compilation some errors appeared like:"'CDialogEx' : base class undefined <br>> c:\users\toufik\documents\visual studio 2010\projects\mfcapp\mfcapp\mfcappdlg.h" which didn't appear before the configuration. I don't know if there is some extra <br>> options to adjust or it follows another method of configuration. <br>> <br>> 2/ Since MPI_Publish_Name doesn't work across applications, I want that MPI_Open_port opens a predetermined port (not some random port), when I digged a little, I found <br>> that there is an environment variable MPI_PORT_RANGE whom could do it, when i tried it (mpiexec -env MPI_PORT_RANGE 1000..1000), nothing happened. <br>> <br>> 3/ I have to launch my application in a remote node but that didn't work giving me the error message: "unable to connect to otherNode". what could be the problem, <br>> knowing that, all firewalls are off and all nodes have the same version of windows 7 and of mpich2. <br>> <br>> so, could anyone give some tips to help me with these questions? and thanks. <br>> Toufik. <br>> <br>> _______________________________________________<br>> mpich-discuss mailing list mpich-discuss@mcs.anl.gov<br>> To manage subscription options or unsubscribe:<br>> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss<br></div> </div></body>
</html>