Ya, just now I did it with -map. But it is also not helping. <br><br>Thanks,<br>Abhishek<br><br><div class="gmail_quote">On Tue, Nov 3, 2009 at 12:56 AM, Jayesh Krishna <span dir="ltr"><<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
Did you try adding quotes ("d:\mpi\")?<br>
<div class="im"><br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: "abhishek pandey" <<a href="mailto:hipandey@gmail.com">hipandey@gmail.com</a>><br>
To: "Jayesh Krishna" <<a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a>><br>
Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
</div><div><div></div><div class="h5">Sent: Monday, November 2, 2009 1:16:51 PM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] genvlist & map is not working in config file<br>
<br>
Hi Jayesh,<br>
<br>
I found the reason behind this strange behavior.<br>
<br>
The config file<br>
<br>
-host localhost -genvlist CNTRL_MPI_DIR -p 8676 -wdir <Working DIR> -path <pathDIR> test.exe -mpion<br>
<br>
won't work if CNTRL_MPI_DIR is set with trailing backslash i.e. CNTRL_MPI_DIR=D:\MPI\.<br>
It works perfectly fine if it is set CNTRL_MPI_DIR=D:\MPI.<br>
<br>
Similarly, -map Y:\\machine-1\abhishek\ won't work but -map Y:\\machine-1\abhishek works.<br>
<br>
Now, the question is : Is this known behavior or a bug ?<br>
<br>
Thanks,<br>
Abhishek<br>
<br>
<br>
<br>
<br>
On Thu, Oct 29, 2009 at 8:55 PM, Jayesh Krishna < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> > wrote:<br>
<br>
<br>
Hi,<br>
Try this config file and see whether the environment variable is set in the output.<br>
<br>
# Config file to test genvlist<br>
-genvlist CNTRL_MPI_DIR -n 1 cmd /c set<br>
<br>
Regards,<br>
Jayesh<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "Jayesh Krishna" < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> ><br>
To: "abhishek pandey" < <a href="mailto:hipandey@gmail.com">hipandey@gmail.com</a> ><br>
Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<br>
<br>
<br>
Sent: Thursday, October 29, 2009 10:21:03 AM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] genvlist & map is not working in config file<br>
<br>
Hi,<br>
That is strange. It works fine on my Win XP machine.<br>
Which version of MPICH2 are you using ? What is the version of windows that you are using ? Also I noticed that in the failure case you are launching test.exe and in the successful case you are launching product.exe (Can you try the same executable for all your tests ?).<br>
<br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: "abhishek pandey" < <a href="mailto:hipandey@gmail.com">hipandey@gmail.com</a> ><br>
To: "Jayesh Krishna" < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> ><br>
Sent: Thursday, October 29, 2009 10:08:46 AM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] genvlist & map is not working in config file<br>
<br>
Hi,<br>
<br>
genvlist is working on command line. Also command "set C" on shell shows the value of CNTRL_MPI_DIR & CNTRL_MPI_OUT.<br>
<br>
BTW, I have not tried -map command without config file.<br>
<br>
Thanks,<br>
Abhishek.<br>
<br>
<br>
<br>
On Thu, Oct 29, 2009 at 8:34 PM, Jayesh Krishna < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> > wrote:<br>
<br>
<br>
Hi,<br>
Does it work when you enter the command in the command line (without a config file) ? Have you set the environment variable CNTRL_MPI_DIR (Type "set" at the command prompt to see the list of environment variables set) in the shell environment used to launch the job ?<br>
<br>
<br>
Regards,<br>
Jayesh<br>
----- Original Message -----<br>
From: "abhishek pandey" < <a href="mailto:hipandey@gmail.com">hipandey@gmail.com</a> ><br>
<br>
<br>
<br>
To: "Jayesh Krishna" < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> ><br>
Cc: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Sent: Thursday, October 29, 2009 9:59:12 AM GMT -06:00 US/Canada Central<br>
Subject: Re: [mpich-discuss] genvlist & map is not working in config file<br>
<br>
Hi Jayesh,<br>
<br>
This is my config file.<br>
<br>
In this sample MPICH2 does not launch the test.exe.<br>
<br>
-host localhost -genvlist CNTRL_MPI_DIR,CNTRL_MPI_OUT -p 8676 -wdir <Working DIR> -path <pathDIR> test.exe -mpion -controller<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> test.exe -mpion -worker<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> test.exe -mpion -worker<br>
<br>
However this is working :<br>
<br>
-host localhost -env CNTRL_MPI_DIR d:\mpi -p 8676 -wdir <Working DIR> -path <pathDIR> product.exe -mpion -controller<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> product.exe -mpion -worker<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> product.exe -mpion -worker<br>
<br>
In this sample mapping is not done on all the nodes. The workaround : I have to map network drive first manually and then use -mapall option on controller.<br>
<br>
-host localhost -map z:\\abhishekp-xp\mpi\ -p 8676 -wdir <Working DIR> -path <pathDIR> test.exe -mpion -controller<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> test.exe -mpion -worker<br>
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> test.exe -mpion -worker<br>
<br>
Am I missing something in config file.<br>
<br>
Thanks,<br>
Abhishek<br>
<br>
<br>
<br>
On Thu, Oct 29, 2009 at 8:11 PM, Jayesh Krishna < <a href="mailto:jayesh@mcs.anl.gov">jayesh@mcs.anl.gov</a> > wrote:<br>
<br>
<br>
Hi,<br>
Can you send us a sample config file that does not work ?<br>
<br>
Regards,<br>
Jayesh<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "abhishek pandey" < <a href="mailto:hipandey@gmail.com">hipandey@gmail.com</a> ><br>
To: <a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
Sent: Thursday, October 29, 2009 5:26:22 AM GMT -06:00 US/Canada Central<br>
Subject: [mpich-discuss] genvlist & map is not working in config file<br>
<br>
<br>
Hi,<br>
<br>
On windows, I tried to use genvlist and map in mpi config file. ( mpiexec.exe -configfile <config file>).<br>
But it is not working. Am I missing something ?<br>
<br>
However -env and -mapall options are working in configfile. Also, I always have to set environment variables in configfile. Is there a way to just use the environment variables once it has been set on command line or in my-computer properties ?<br>
<br>
Thanks,<br>
Abhishek<br>
<br>
_______________________________________________<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
<br>
_______________________________________________<br>
<br>
<br>
<br>
mpich-discuss mailing list<br>
<a href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a><br>
<br>
</div></div></blockquote></div><br>