[mpich-discuss] problem running smpd on a windows machine

Jayesh Krishna jayesh at mcs.anl.gov
Wed Feb 15 10:29:28 CST 2012


Hi,
 Looks like the path to MPICH2 or the path to MCNPX executable/input/output files is incorrect. Make sure that you have the right paths to each of the files.
 Where do you have MPICH2 installed in your system ? Try the following to find the correct path to MPICH2 ?

# dir "C:\Progra~1\MPICH2\bin\mpiexec.exe"
# dir "C:\Progra~2\MPICH2\bin\mpiexec.exe"

 You should use the path where you installed MPICH2 for your jobs.
 List the directory (as above) to make sure that you have the right path to MCNPX executable/input/output files too.
 Let us know if it works.

Regards,
Jayesh

----- Original Message -----
From: Dksteinman at aol.com
To: jayesh at mcs.anl.gov
Sent: Tuesday, February 14, 2012 4:34:31 PM
Subject: Re: [mpich-discuss] problem running smpd on a windows machine


now it says "system cannot find the path specified" 

D. K. Steinman 
Phone: 281.835.6364 
FAX: 281.835.3806 
Cell: 281.414.3074 


In a message dated 2/14/2012 4:30:06 P.M. Central Standard Time, jayesh at mcs.anl.gov writes: 

Hi, 
Can you try changing the mpiexec line from 

c:\"Program Files (x86)"\MPICH2\bin\mpiexec.exe -n 12 -localonly "c:\MCPNX_2.7.0\bin\mcnpx.exe inp = Lito519 outp = Lito519o" 

to 

c:\Progra~1\MPICH2\bin\mpiexec.exe -n 12 -localonly "c:\MCPNX_2.7.0\bin\mcnpx.exe inp=C:\MCNP\mcnp_data\Lito519 outp=C:\MCNP\mcnp_data\Lito519o" 


Regards, 
Jayesh 

----- Original Message ----- 
From: Dksteinman at aol.com 
To: jayesh at mcs.anl.gov 
Sent: Tuesday, February 14, 2012 4:07:59 PM 
Subject: Re: [mpich-discuss] problem running smpd on a windows machine 


Jayesh, 

here is a file with the same contents as the batch file I use to run MCNPX. The executable line is on line 8. As you can see, the path to all executables is on that line. In addition, the path to MCNPX is set as an environmental variable. The machine has 12 cores, and the batch file is in the directory that has the input file. There is a different message when MCNPX cannot find an input file, this error says: 

Launch process failed. The system cannot find the file specified 

I thank you for your assistance with this, it is truly exasperating! 

regards, 

Don 

D. K. Steinman 
Phone: 281.835.6364 
FAX: 281.835.3806 
Cell: 281.414.3074 



In a message dated 2/14/2012 3:57:25 P.M. Central Standard Time, jayesh at mcs.anl.gov writes: 

Hi, 
It looks like mpiexec is not able to find the MCNPX executable. 
Can you run a small job on the local node ? 

Please let us know the mpiexec command (copy-paste the command and its output) that you use to launch your job ? Where is the MCNPX executable located (Is it available on all nodes. Is it on a shared directory)? 

Regards, 
Jayesh 

----- Original Message ----- 
From: Dksteinman at aol.com 
To: jayesh at mcs.anl.gov 
Sent: Tuesday, February 14, 2012 3:36:05 PM 
Subject: Re: [mpich-discuss] problem running smpd on a windows machine 


OK, I tried that, Jayesh. Now when I use the MCNPX batch file, it says "failed to launch process, system cannot find the file error 2" However, the command line specifies the directory with the executable in it. 

any other hints? Would you like to see the MCNPX batch file? 

D. K. Steinman 
Phone: 281.835.6364 
FAX: 281.835.3806 
Cell: 281.414.3074 


In a message dated 2/14/2012 3:12:43 P.M. Central Standard Time, jayesh at mcs.anl.gov writes: 

Hi, 
Can you try re-installing (uninstall MPICH2, and then install it again following instructions in Sec 9.4) following instructions in Section 9.4 (NOT 9.1) of the installer's guide (http://www.mcs.anl.gov/research/projects/mpich2/documentation/index.php?s=docs)? 

Regards, 
Jayesh 

----- Original Message ----- 
From: Dksteinman at aol.com 
To: jayesh at mcs.anl.gov 
Sent: Tuesday, February 14, 2012 1:48:23 PM 
Subject: Re: [mpich-discuss] problem running smpd on a windows machine 


Hi, Jayesh, 

thanks for the quick response. I'm trying everything I can in order to run MCNPX in the MPI version. Whenever I try to launch MPI I constantly get denied access. I have a 12 core processor, and it fails to launch 12 times, each with an error message about not having access. 

Would you be amenable to looking at my batch file? 

Don 

D. K. Steinman 
Phone: 281.835.6364 
FAX: 281.835.3806 
Cell: 281.414.3074 


In a message dated 2/14/2012 1:45:52 P.M. Central Standard Time, jayesh at mcs.anl.gov writes: 

Hi, 
Why are you manually installing SMPD (smpd -install)? SMPD should have been installed as part of the MPICH2 installation. 

Regards, 
Jayesh 

----- Original Message ----- 
From: Dksteinman at aol.com 
To: mpich-discuss at mcs.anl.gov 
Sent: Tuesday, February 14, 2012 1:41:14 PM 
Subject: [mpich-discuss] problem running smpd on a windows machine 



I'm trying to get MPICH2 to run on my windows machines. I have downloaded and installed both the 32 bit and 64 bit versions. However, when I try to run smpd -install, I get the message that 

OpenSCManager failed: 

Access is denied. (error 5) 
Unable to remove the previous installation, install failed. 

I've never had a previous installation. 

What am I doing wrong? 


thanks, 

Don Steinman 
Applied Physics and Measurements, Inc. 
Missouri City, TX 

D. K. Steinman 
Phone: 281.835.6364 
FAX: 281.835.3806 
Cell: 281.414.3074 
_______________________________________________ 
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 


More information about the mpich-discuss mailing list