[Beowulf] problem with binary file on NFS

Peter St. John peter.st.john at gmail.com
Thu Jul 24 06:22:35 PDT 2008


Jorg,

I checked the man page for ldd and it says that it may not work if an old
comiler was used to produced the executable. I think it's like symbolic
debugging, you need to compile with a switch to build the symbol table; the
compiler has to know you will want library information later, and builds a
table embedded into the executable that ldd can read (but as always, this is
something I haven't done myself :-(

Do you have other DLLs you made with the same compiler that work OK and
report to ldd OK?

Peter

On 7/22/08, Jörg Saßmannshausen <sassmannshausen at tugraz.at> wrote:
>
> Dear all,
>
> I have a problem with a selfwritten program on my small cluster. The
> cluster
> nodes are PIII 500/800 MHz machines, the /home is distributed via NFS from
> a
> PIII 1 GHz machine. All nodes are running on Debian Etch. The program in
> question (polymc_s) is in the users /home directory and is running on all
> nodes but one. I get the following error messages on that particular node
> (node4):
> ldd polymc_s
>         not a dynamic executable
>
>   file polymc_s
> polymc_s: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
> GNU/Linux 2.4.1, dynamically linked (uses shared libs), for GNU/Linux
> 2.4.1,
> not stripped
>
>   strace ./polymc_s
> execve("./polymc_s", ["./polymc_s"], [/* 18 vars */]) = -1 ENOMEM (Cannot
> allocate memory)
> +++ killed by SIGKILL +++
> Process 2177 detached
>
> I am currently running memtest, no problems thus far. Other programs like
> the
> BOINC stuff (I am using that for stress-testing) are ok. Reuti already
> suggested to do:
> readelf -a polymc_s
> which gave identical outputs on node4 and node3 (both are PIII 500 MHz
> machines). I am somehow stuck here, has anybody got a good idea? Running
> the
> software locally does not make any difference, i.e. same errors as above.
> Changing the file permissions did not mend it either. I am aware these are
> old nodes, but for the purpose they are ok.
>
> All the best from Graz!
>
> Jörg
> --
> *************************************************************
> Jörg Saßmannshausen
> Institut für Chemische Technologie von Materialien
> TU-Graz
> Stremayrgasse 16
> 8010 Graz
> Austria
>
> phone: +43 (0)316 873 8954
> fax: +43 (0)316 873 4959
> homepage: http://sassy.formativ.net/
>
> Please avoid sending me Word or PowerPoint attachments.
> See http://www.gnu.org/philosophy/no-word-attachments.html
> _______________________________________________
> Beowulf mailing list, Beowulf at beowulf.org
> To change your subscription (digest mode or unsubscribe) visit
> http://www.beowulf.org/mailman/listinfo/beowulf
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.scyld.com/pipermail/beowulf/attachments/20080724/ab88e6cf/attachment.html


More information about the Beowulf mailing list