Re: ifort bug
From: Dr Chaos (mbkennelSPAMBEGONE_at_NOSPAMyahoo.com)
Date: 03/18/04
- Next message: Gordon Sande: "Re: Add Noise"
- Previous message: Rich Townsend: "Re: Add Noise"
- In reply to: Rich Townsend: "Re: ifort bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 18 Mar 2004 21:00:12 +0000 (UTC)
Rich Townsend <rhdt@barVOIDtol.udel.edu> wrote:
> If it is an LD_LIBRARY_PATH problem -- where the executable is being dynamically
> linked to different libraries when you are using different accounts -- then the
> way to track it down is ldd. This useful proggy, which is a standard UN*X tool,
> shows which libraries will be linked against at runtime. For example:
>
> rhdt@cmell boojum_lite $ ldd boojum_lite
> linux-gate.so.1 => (0xffffe000)
> libg2c.so.0 => /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libg2c.so.0 (0x4001f000)
> libm.so.6 => /lib/libm.so.6 (0x4003c000)
> libcxa.so.5 => /opt/intel/intel_fc_80/lib/libcxa.so.5 (0x4005d000)
> libunwind.so.5 => /opt/intel/intel_fc_80/lib/libunwind.so.5 (0x40083000)
> libpthread.so.0 => /lib/libpthread.so.0 (0x40089000)
> libc.so.6 => /lib/libc.so.6 (0x400d9000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
Oooh, I hated that libcxa stuff.
There's an obscure option, finally documented long after it was there,
-static-libcxa
I generally want my programs to link only to standard distribution
libraries, and not Fortran specific libs, as much as possible.
Easier to move the binary.
- Next message: Gordon Sande: "Re: Add Noise"
- Previous message: Rich Townsend: "Re: Add Noise"
- In reply to: Rich Townsend: "Re: ifort bug"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|