[mpich-discuss] mpich2mpi.dll not found
Phelan Jr., Frederick R. Dr.
frederick.phelan at nist.gov
Wed Mar 16 18:40:35 CDT 2011
Jayesh,
Thanks very much. That indeed was the issue.
Appreciate it!
Fred Phelan
---
Frederick R. Phelan Jr., Ph.D.
Complex Fluids Group
Polymers Division
National Institute of Standards and Technology
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: Wednesday, March 16, 2011 5:41 PM
To: mpich-discuss at mcs.anl.gov
Cc: Phelan Jr., Frederick R. Dr.
Subject: Re: [mpich-discuss] mpich2mpi.dll not found
HI,
This usually happens when you have a 64-bit version of MPICH2 installed and the application was compiled with a 32-bit version of MPICH2 (The dlls installed should be 64-bit for 64-bit apps and 32-bit for 32-bit apps). Let me know if it sounds familiar.
-Jayesh
----- Original Message -----
From: "Phelan Jr., Frederick R. Dr." <frederick.phelan at nist.gov>
To: mpich-discuss at mcs.anl.gov
Sent: Tuesday, March 15, 2011 4:49:51 PM
Subject: [mpich-discuss] mpich2mpi.dll not found
When I run the same thing with -localonly I get the error: mpich2mpi.dll not found ... the files are installed, so not sure what that means.
Fred
-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Phelan Jr., Frederick R. Dr.
Sent: Tuesday, March 15, 2011 5:05 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Error 123
Forgot to add ... at the point that the out file ends, the program is just sitting there. Have to click break.
Fred
-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Phelan Jr., Frederick R. Dr.
Sent: Tuesday, March 15, 2011 4:55 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Error 123
I ran this with the WMPIEXEC program and the -verbose option. The lammps program never executes. Is the output file in anyway meaningful as to why?
Fred
-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of SULLIVAN David (AREVA)
Sent: Tuesday, March 15, 2011 1:37 PM
To: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Error 123
Fred,
I use a program that takes command line arguments. For example a typical call would be:
mpiexec -n 12 -f nodefile mcnp5.mpi -i input -o output wwinp=wwfile
I have never run into the problems you have describe.
Dave
-----Original Message-----
From: mpich-discuss-bounces at mcs.anl.gov [mailto:mpich-discuss-bounces at mcs.anl.gov] On Behalf Of Phelan Jr., Frederick R. Dr.
Sent: Tuesday, March 15, 2011 1:17 PM
To: Nicolas Rosner
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Error 123
There is now question that what is happening here is related the seeming inability of the mpiexec to run a program that requires command line arguments, which in some cases involves use of the < symbol. However, -i can also be used in place of < ... the results is the same.
At this point I have tried every conceivable variation:
a) C:\LAMMPS\example\micelle>"C:\Program Files\MPICH2\bin\mpiexec" -n 2 -dir c:\lammps\example\micelle\ c:\bin\lmp_win_mpi.exe < c:\lammps\example\micelle\in.micelle
Result: Does not recognize data redirection and lammps exits
b) C:\LAMMPS\example\micelle>"C:\Program Files\MPICH2\bin\mpiexec" -n 2 -dir c:\lammps\example\micelle\ "c:\bin\lmp_win_mpi.exe < c:\lammps\example\micelle\in.micelle"
Result: Error 123
c) C:\LAMMPS\example\micelle>"C:\Program Files\MPICH2\bin\mpiexec" -n 2 -dir c:\lammps\example\micelle\ c:\bin\lmp_win_mpi.exe -i c:\lammps\example\micelle\in.micelle
Result: Does not recognize command line arguments and lammps exits
d) C:\LAMMPS\example\micelle>"C:\Program Files\MPICH2\bin\mpiexec" -n 2 -dir c:\lammps\example\micelle\ "c:\bin\lmp_win_mpi.exe -i c:\lammps\example\micelle\in.micelle"
Result: Error 123
Does anyone have a working example of running using mpich that runs a program that makes use of command line arguments?
Thanks,
Fred
-----Original Message-----
From: Nicolas Rosner [mailto:nrosner at gmail.com]
Sent: Tuesday, March 15, 2011 12:43 PM
To: Phelan Jr., Frederick R. Dr.
Subject: Re: [mpich-discuss] Error 123
This part of your command line looks problematic:
> ... "c:\bin\lmp_win_mpi.exe < c:\lammps\example\micelle\in.micelle"
I'm neither a Windows nor a LAMMPS user, but at least on most Linux/Unix shells, quoting a redirection symbol prevents the shell from interpreting it as such, e.g.
"program name" "foo bar" < "input file"
looks quite reasonable, while
"program name" "foo bar < input file"
seems odd, since that would pass the whole 2nd string (incl. `<') as an argument to the program.
Hope this helps,
Nicolás
_______________________________________________
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
_______________________________________________
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