[mpich-discuss] Compiled applications working standalone, but not using mpiexec
Hugh Cassidy
hcassid2 at uwo.ca
Mon Feb 27 12:50:58 CST 2012
Hello,
-localonly option has no effect - no output is produced.
I am able to compile and run successfully the icpi.c example, however,
which leads me to believe the problem is related to compiling fortran
code specifically.
I'm running MinGW, using GNU Fortran version 4.6.1. To compile fpi.f, I
execute the following command:
gfortran -o fpi fpi.f -lfmpich2g
Which successfully compiles the program. I've read that there is an
issue using the windows installer and fortran, since the libraries are
compiled with the intel fortran compiler - is this correct?
On 2/27/2012 11:33 AM, Jayesh Krishna wrote:
> Hi,
> Try running your job with the "-localonly" option and see if it prints an error message.
>
> Regards,
> Jayesh
>
> ----- Original Message -----
> From: "Hugh Cassidy"<hcassid2 at uwo.ca>
> To: mpich-discuss at mcs.anl.gov
> Sent: Sunday, February 26, 2012 4:41:48 PM
> Subject: [mpich-discuss] Compiled applications working standalone, but not using mpiexec
>
> Hello,
> I have MPICH2 32 installed on Windows 7. The cpi.exe example works fine
> when I run, for example, the command:
> mpiexec -n 4 cpi.exe
>
> I have been able to compile, using gfortran, the fpi.f example.
> Furthermore, I can run the generate application in a standalone fashion:
> fpi.exe
>
> However, when I attempt to use mpiexec, it doesn't work:
> mpiexec -n 4 fpi.exe
> Doesn't seem to do anything - I'm just returned immediately to the
> command prompt with no output displayed. Does anyone know why this may
> be happening? I'm experiencing the same problem trying to run another
> application that makes use of mpi - it runs standalone, but not using
> the mpiexec command. I'm guessing this means there is some problem with
> the compilation step?
>
> Thanks!
> _______________________________________________
> 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