[mpich-discuss] some questions about MPI
toufik hadjazi
h_toufik7 at hotmail.fr
Thu Jul 26 10:38:05 CDT 2012
Hi Jayesh, thanks for your reply. > >> 1/ I wanted to configure a MFC project ...
> 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.I think the problem is MPI uses the debugging option "MPI Cluster Debugger", while MFC, probably, uses another.
> >> 2/ Since MPI_Publish_Name doesn't work across applications...
> You can manually write the port name to a file (and read it from other MPI processes).
> 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).
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.
> >> 3/ I have to launch my application in a remote node...
> 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.Yes, I have the same username/password on all nodes, and i tried also to run the application as an administrator. Regards,Toufik. > Date: Thu, 26 Jul 2012 09:57:54 -0500
> From: jayesh at mcs.anl.gov
> To: mpich-discuss at mcs.anl.gov
> CC: h_toufik7 at hotmail.fr
> Subject: Re: [mpich-discuss] some questions about MPI
>
> Hi,
>
> >> 1/ I wanted to configure a MFC project ...
> 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.
>
> >> 2/ Since MPI_Publish_Name doesn't work across applications...
> You can manually write the port name to a file (and read it from other MPI processes).
> 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).
>
> >> 3/ I have to launch my application in a remote node...
> 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.
>
> Regards,
> Jayesh
>
> ----- Original Message -----
> From: "toufik hadjazi" <h_toufik7 at hotmail.fr>
> To: mpich-discuss at mcs.anl.gov
> Sent: Wednesday, July 25, 2012 11:22:41 AM
> Subject: [mpich-discuss] some questions about MPI
>
>
>
> Hi,
>
> I am working on windows 7 using mpich2-1.4.1-p1. during that, I encountered some problems, which are:
>
> 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
> 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
> options to adjust or it follows another method of configuration.
>
> 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
> 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.
>
> 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,
> knowing that, all firewalls are off and all nodes have the same version of windows 7 and of mpich2.
>
> so, could anyone give some tips to help me with these questions? and thanks.
> Toufik.
>
> _______________________________________________
> mpich-discuss mailing list mpich-discuss at mcs.anl.gov
> To manage subscription options or unsubscribe:
> https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120726/4e0f92af/attachment.html>
More information about the mpich-discuss
mailing list