<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head>
<body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div><span></span></div><div id="yui_3_16_0_1_1426516090153_7664" dir="ltr">I had no such problem with mpich version 1.3.2. It happened after I installed the latest version. gfortran is installed.</div><div dir="ltr">[ddal@admin 01_MPI_Giris_Ornekler]$ which gfortran<br>/usr/bin/gfortran</div><div id="yui_3_16_0_1_1426516090153_7682" dir="ltr">[ddal@admin 01_MPI_Giris_Ornekler]$ mpicxx 01_Hello_World.cpp --disable-fortran<br>cc1plus: error: unrecognized command line option "-fdisable-fortran"<br><br>  </div><div id="yui_3_16_0_1_1426516090153_7631" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1426516090153_7630" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;"> <div id="yui_3_16_0_1_1426516090153_7629" dir="ltr"> <hr size="1" id="yui_3_16_0_1_1426516090153_7635">  <font id="yui_3_16_0_1_1426516090153_7632" face="Arial" size="2"> <b><span style="font-weight: bold;">From:</span></b> "Bland, Wesley B." <wbland@anl.gov><br> <b><span style="font-weight: bold;">To:</span></b> Deniz DAL <dendal25@yahoo.com>; "discuss@mpich.org" <discuss@mpich.org> <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, March 16, 2015 4:41 PM<br> <b id="yui_3_16_0_1_1426516090153_7634"><span id="yui_3_16_0_1_1426516090153_7633" style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3<br> </font> </div> <div class="y_msg_container" id="yui_3_16_0_1_1426516090153_7636"><br><div id="yiv8879809000"><div id="yui_3_16_0_1_1426516090153_7639">
<div id="yui_3_16_0_1_1426516090153_7638">
<div id="yui_3_16_0_1_1426516090153_7637">Do you have Fortran installed? Do you want to use Fortran? If not, you can recompile with â€”disable-fortran to remove the dependency.</div>
<div id="yui_3_16_0_1_1426516090153_7640"><br clear="none">
</div>
<div id="yui_3_16_0_1_1426516090153_7641">Thanks,</div>
<div id="yui_3_16_0_1_1426516090153_7642">Wesley</div>
<div>
<div id="yiv8879809000MAC_OUTLOOK_SIGNATURE"></div>
</div>
</div>
<div id="yui_3_16_0_1_1426516090153_7643"><br clear="none">
</div>
<span id="yiv8879809000OLK_SRC_BODY_SECTION">
</span><div class="qtdSeparateBR"><br><br></div><div class="yiv8879809000yqt1623795446" id="yiv8879809000yqt17133"><div id="yui_3_16_0_1_1426516090153_7644" style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentColor currentColor; padding: 3pt 0in 0in; text-align: left; color: black; font-family: Calibri; font-size: 12pt;">
<span style="font-weight: bold;">From: </span>Deniz DAL<br clear="none">
<span style="font-weight: bold;">Reply-To: </span>Deniz DAL, "<a id="yui_3_16_0_1_1426516090153_7645" href="mailto:discuss@mpich.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br clear="none">
<span style="font-weight: bold;">Date: </span>Monday, March 16, 2015 at 9:35 AM<br clear="none">
<span style="font-weight: bold;">To: </span>"<a href="mailto:discuss@mpich.org" target="_blank" rel="nofollow" shape="rect" ymailto="mailto:discuss@mpich.org">discuss@mpich.org</a>"<br clear="none">
<span style="font-weight: bold;">Subject: </span>[mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3<br clear="none">
</div>
<div><br clear="none">
</div>
<div>
<div>
<div style="color: rgb(0, 0, 0); font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
<div><span></span></div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_5623" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
<div id="yiv8879809000yui_3_16_0_1_1426516090153_5622" style="font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px;">
<div id="yiv8879809000yui_3_16_0_1_1426516090153_5621" dir="ltr">Hi,</div>
<div class="yiv8879809000y_msg_container" id="yiv8879809000yui_3_16_0_1_1426516090153_5656">
<div id="yiv8879809000">
<div id="yiv8879809000yui_3_16_0_1_1426516090153_5658">
<div id="yiv8879809000yui_3_16_0_1_1426516090153_5657" style="color: rgb(0, 0, 0); font-family: HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2109" dir="ltr">I installed mpich-v3.1.2 into my cluster but I am having problems. Although I can compile my parallel program, I can not run it. Below is the error message I get. Would you please help me to locate
 the problem. (I also added the following lines to my .bashrc file after installation.)</div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2158" dir="ltr">export PATH=/opt/progs/mpich2/v3.1.4/bin:$PATH<br clear="none">
export LD_LIBRARY_PATH=/opt/progs/mpich2/v3.1.4/lib:$LD_LIBRARY_PATH</div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2143" dir="ltr">Thanks.</div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2124" dir="ltr"><br clear="none">
</div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2135" dir="ltr">[ddal@admin 01_MPI_Giris_Ornekler]$ mpicxx 01_Hello_World.cpp<br clear="none">
[ddal@admin 01_MPI_Giris_Ornekler]$ mpiexec -f ~/cluster_hosts -n 5 ./a.out <br clear="none">
./a.out: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory</div>
<div id="yiv8879809000yui_3_16_0_1_1426516090153_2134" dir="ltr">===================================================================================<br clear="none">
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES<br clear="none">
=   PID 3873 RUNNING AT cn03<br clear="none">
=   EXIT CODE: 127<br clear="none">
=   CLEANING UP REMAINING PROCESSES<br clear="none">
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES<br clear="none">
===================================================================================<br clear="none">
[proxy:0:3@cn04] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed<br clear="none">
[proxy:0:3@cn04] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status<br clear="none">
[proxy:0:3@cn04] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event<br clear="none">
[proxy:0:4@cn05] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed<br clear="none">
[proxy:0:4@cn05] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status<br clear="none">
[proxy:0:4@cn05] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event<br clear="none">
[proxy:0:1@cn02] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed<br clear="none">
[proxy:0:1@cn02] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status<br clear="none">
[proxy:0:1@cn02] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event<br clear="none">
[proxy:0:0@cn01] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed<br clear="none">
[proxy:0:0@cn01] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status<br clear="none">
[proxy:0:0@cn01] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event<br clear="none">
[mpiexec@admin] HYDT_bscu_wait_for_completion (tools/bootstrap/utils/bscu_wait.c:76): one of the processes terminated badly; aborting<br clear="none">
[mpiexec@admin] HYDT_bsci_wait_for_completion (tools/bootstrap/src/bsci_wait.c:23): launcher returned error waiting for completion<br clear="none">
[mpiexec@admin] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:218): launcher returned error waiting for completion<br clear="none">
[mpiexec@admin] main (ui/mpich/mpiexec.c:344): process manager error waiting for completion</div>
<div dir="ltr"><br clear="none">
</div>
</div>
</div>
</div>
<br clear="none">
<br clear="none">
</div>
</div>
</div>
</div>
</div>
</div></div>

</div></div><br><br></div> </div> </div>  </div></body></html>