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

Seo, Sangmin sseo at anl.gov
Tue Mar 17 08:31:06 CDT 2015


'--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<mailto: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<https://lists.mpich.org/mailman/listinfo/discuss> 01_MPI_Giris_Ornekler]$ which gfortran
/usr/bin/gfortran[ddal at admin<https://lists.mpich.org/mailman/listinfo/discuss> 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<https://lists.mpich.org/mailman/listinfo/discuss>>
To: Deniz DAL <dendal25 at yahoo.com<https://lists.mpich.org/mailman/listinfo/discuss>>; "discuss at mpich.org<https://lists.mpich.org/mailman/listinfo/discuss>" <discuss at mpich.org<https://lists.mpich.org/mailman/listinfo/discuss>>
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<https://lists.mpich.org/mailman/listinfo/discuss>"
Date: Monday, March 16, 2015 at 9:35 AM
To: "discuss at mpich.org<https://lists.mpich.org/mailman/listinfo/discuss>"
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<https://lists.mpich.org/mailman/listinfo/discuss> 01_MPI_Giris_Ornekler]$ mpicxx 01_Hello_World.cpp
[ddal at admin<https://lists.mpich.org/mailman/listinfo/discuss> 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<https://lists.mpich.org/mailman/listinfo/discuss>] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:3 at cn04<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:3 at cn04<https://lists.mpich.org/mailman/listinfo/discuss>] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:4 at cn05<https://lists.mpich.org/mailman/listinfo/discuss>] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:4 at cn05<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:4 at cn05<https://lists.mpich.org/mailman/listinfo/discuss>] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:1 at cn02<https://lists.mpich.org/mailman/listinfo/discuss>] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:1 at cn02<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:1 at cn02<https://lists.mpich.org/mailman/listinfo/discuss>] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[proxy:0:0 at cn01<https://lists.mpich.org/mailman/listinfo/discuss>] HYD_pmcd_pmip_control_cmd_cb (pm/pmiserv/pmip_cb.c:885): assert (!closed) failed
[proxy:0:0 at cn01<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_dmxu_poll_wait_for_event (tools/demux/demux_poll.c:76): callback returned error status
[proxy:0:0 at cn01<https://lists.mpich.org/mailman/listinfo/discuss>] main (pm/pmiserv/pmip.c:206): demux engine error waiting for event
[mpiexec at admin<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_bscu_wait_for_completion (tools/bootstrap/utils/bscu_wait.c:76): one of the processes terminated badly; aborting
[mpiexec at admin<https://lists.mpich.org/mailman/listinfo/discuss>] HYDT_bsci_wait_for_completion (tools/bootstrap/src/bsci_wait.c:23): launcher returned error waiting for completion
[mpiexec at admin<https://lists.mpich.org/mailman/listinfo/discuss>] HYD_pmci_wait_for_completion (pm/pmiserv/pmiserv_pmci.c:218): launcher returned error waiting for completion
[mpiexec at admin<https://lists.mpich.org/mailman/listinfo/discuss>] main (ui/mpich/mpiexec.c:344): process manager error waiting for completion
_______________________________________________
discuss mailing list     discuss at mpich.org<mailto: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/65347676/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