[mpich-discuss] genvlist & map is not working in config file

Jayesh Krishna jayesh at mcs.anl.gov
Thu Oct 29 10:25:06 CDT 2009


Hi,
 Try this config file and see whether the environment variable is set in the output.

# Config file to test genvlist
-genvlist CNTRL_MPI_DIR -n 1 cmd /c set

Regards,
Jayesh


----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: "abhishek pandey" <hipandey at gmail.com>
Cc: mpich-discuss at mcs.anl.gov
Sent: Thursday, October 29, 2009 10:21:03 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] genvlist & map is not working in config file

Hi,
 That is strange. It works fine on my Win XP machine.
 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 ?).

Regards,
Jayesh
----- Original Message -----
From: "abhishek pandey" <hipandey at gmail.com>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Thursday, October 29, 2009 10:08:46 AM GMT -06:00 US/Canada Central
Subject: Re: [mpich-discuss] genvlist & map is not working in config file

Hi, 

genvlist is working on command line. Also command "set C" on shell shows the value of CNTRL_MPI_DIR & CNTRL_MPI_OUT. 

BTW, I have not tried -map command without config file. 

Thanks, 
Abhishek. 



On Thu, Oct 29, 2009 at 8:34 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
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 ? 


Regards, 
Jayesh 
----- Original Message ----- 
From: "abhishek pandey" < hipandey at gmail.com > 



To: "Jayesh Krishna" < jayesh at mcs.anl.gov > 
Cc: mpich-discuss at mcs.anl.gov 
Sent: Thursday, October 29, 2009 9:59:12 AM GMT -06:00 US/Canada Central 
Subject: Re: [mpich-discuss] genvlist & map is not working in config file 

Hi Jayesh, 

This is my config file. 

In this sample MPICH2 does not launch the test.exe. 

-host localhost -genvlist CNTRL_MPI_DIR,CNTRL_MPI_OUT -p 8676 -wdir <Working DIR> -path <pathDIR> test.exe -mpion -controller 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> test.exe -mpion -worker 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> test.exe -mpion -worker 

However this is working : 

-host localhost -env CNTRL_MPI_DIR d:\mpi -p 8676 -wdir <Working DIR> -path <pathDIR> product.exe -mpion -controller 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> product.exe -mpion -worker 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> product.exe -mpion -worker 

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. 

-host localhost -map z:\\abhishekp-xp\mpi\ -p 8676 -wdir <Working DIR> -path <pathDIR> test.exe -mpion -controller 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR1> test.exe -mpion -worker 
-host localhost -p 8676 -wdir <Working DIR> -path <pathDIR2> test.exe -mpion -worker 

Am I missing something in config file. 

Thanks, 
Abhishek 



On Thu, Oct 29, 2009 at 8:11 PM, Jayesh Krishna < jayesh at mcs.anl.gov > wrote: 


Hi, 
Can you send us a sample config file that does not work ? 

Regards, 
Jayesh 



----- Original Message ----- 
From: "abhishek pandey" < hipandey at gmail.com > 
To: mpich-discuss at mcs.anl.gov 
Sent: Thursday, October 29, 2009 5:26:22 AM GMT -06:00 US/Canada Central 
Subject: [mpich-discuss] genvlist & map is not working in config file 


Hi, 

On windows, I tried to use genvlist and map in mpi config file. ( mpiexec.exe -configfile <config file>). 
But it is not working. Am I missing something ? 

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 ? 

Thanks, 
Abhishek 

_______________________________________________ 
mpich-discuss mailing list 
mpich-discuss at mcs.anl.gov 
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss 


_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list