<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div dir="ltr"><span style="font-size:12.8000001907349px">Hi,</span><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I have two seperate issues but I believe they may be linked:</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">1. fpi.exe is hanging when run</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">This is the example fortran available with the MPICH2 download. I compile the program through code::blocks with the GNU Fortran compiler with link library ~MPICH2\lib\fmpich2g and compiler search directory \MPICH2\include</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">The program appears to compile fine with no errors/flags etc. When I run the program from the code::bloacks IDE it runs fine. But when in the command prompt (logged in as asministrator) the command</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">mpiexec -n 4 fpi</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">hangs. Note the same command for the c file (mpiexec -n 4 cpi) runs fine.</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">2. My Fortran program gives an error when run through mpiexec. Again, the program is compiled with the same settings as above. However, when using the command</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">mpiexec -n 4 <myexefile></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">I receive the following error message</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px"><div>job aborted:</div><div>rank: node: exit code [: error message]</div><div>0: James-PC: 123</div><div>1: James-PC: -1073741819: process 1 exited with calling finalize</div><div>2: James-PC: -1073741819: process 2 exited with calling finalize</div><div>3: James-PC: 123</div></div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">System Details:</div><div style="font-size:12.8000001907349px">Windows 7</div><div style="font-size:12.8000001907349px">64 bit system but code::blocks and MPICH are 32 bit</div><div style="font-size:12.8000001907349px">MPICH version is mpich2 1.4.1p1</div><div style="font-size:12.8000001907349px"><br></div><div style="font-size:12.8000001907349px">Thanks in advance,</div><div style="font-size:12.8000001907349px">James</div></div>