[mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3

Deniz DAL dendal25 at yahoo.com
Tue Mar 17 09:03:03 CDT 2015


Thanks for the clarification Sangmin. It worked now. Best regards,Deniz
       From: "Seo, Sangmin" <sseo at anl.gov>
 To: Deniz DAL <dendal25 at yahoo.com> 
Cc: "<discuss at mpich.org>" <discuss at mpich.org> 
 Sent: Tuesday, March 17, 2015 3:31 PM
 Subject: Re: [mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3
   
'--disable-fortran' is a configure option. Can you try to configure with '--disable-fortran’ and rebuild MPICH?
Thanks,Sangmin




On Mar 17, 2015, at 6:57 AM, Deniz DAL <dendal25 at yahoo.com> wrote:

Hi again,My problem with 3.1.4 still continues. I think problem is related to mpicxx. When I try to compile my code using mpicxx from 1.3.2 and then run using mpicxx from 3.1.4, there isn't any problem. On the other, if I use mpicxx and mpiexec from 3.1.4, mpiexec produces the following error as I said before:./a.out: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory
Any help is greatly appreciated.
Thanks.
Deniz



I had no such problem with mpich version 1.3.2. It happened after I installed the latest version. gfortran is installed.
[ddal at admin 01_MPI_Giris_Ornekler]$ which gfortran
/usr/bin/gfortran[ddal at admin 01_MPI_Giris_Ornekler]$ mpicxx 01_Hello_World.cpp --disable-fortran
cc1plus: error: unrecognized command line option "-fdisable-fortran"

From: "Bland, Wesley B." <wbland at anl.gov>
To: Deniz DAL <dendal25 at yahoo.com>; "discuss at mpich.org" <discuss at mpich.org>
Sent: Monday, March 16, 2015 4:41 PM
Subject: Re: [mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3
   
Do you have Fortran installed? Do you want to use Fortran? If not, you can recompile with —disable-fortran to remove the dependency.
Thanks,Wesley


From: Deniz DAL
Reply-To: Deniz DAL, "discuss at mpich.org"
Date: Monday, March 16, 2015 at 9:35 AM
To: "discuss at mpich.org"
Subject: [mpich-discuss] ./a.out: error while loading shared libraries: libgfortran.so.3

Hi,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.)export PATH=/opt/progs/mpich2/v3.1.4/bin:$PATH
export LD_LIBRARY_PATH=/opt/progs/mpich2/v3.1.4/lib:$LD_LIBRARY_PATHThanks.
[ddal at admin 01_MPI_Giris_Ornekler]$ mpicxx 01_Hello_World.cpp
[ddal at admin 01_MPI_Giris_Ornekler]$ mpiexec -f ~/cluster_hosts -n 5 ./a.out
./a.out: error while loading shared libraries: libgfortran.so.3: cannot open shared object file: No such file or directory===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 3873 RUNNING AT cn03
=   EXIT CODE: 127
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
[proxy:0:3 at cn04] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:3 at cn04] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:3 at cn04] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:4 at cn05] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:4 at cn05] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:4 at cn05] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:1 at cn02] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:1 at cn02] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:1 at cn02] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:0 at cn01] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:0 at cn01] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:0 at cn01] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[mpiexec at admin] HYDT_bscu_wait_for_completion (tools/bootstrap/utils/bscu_wait.c:76): one of the processes terminated badly; aborting
[mpiexec at admin] HYDT_bsci_wait_for_completion (tools/bootstrap/src/bsci_wait.c:23): launcher returned error waiting for completion
[mpiexec at admin] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:218): launcher returned error waiting for completion
[mpiexec at admin] main (ui/mpich/mpiexec.c:344): process manager error waiting for completion
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss



  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20150317/efa4a33c/attachment.html>
-------------- next part --------------
_______________________________________________
discuss mailing list     discuss at mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


More information about the discuss mailing list