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

Jayesh Krishna jayesh at mcs.anl.gov
Thu Oct 29 10:04:23 CDT 2009


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 



More information about the mpich-discuss mailing list