Re: NAMD related

From: Axel Kohlmeyer (
Date: Tue Jun 11 2013 - 02:27:51 CDT

two comments:

you *really* should ask for help with a local person that has some
knowledge about compiling software on a machine like this. 99% of the
problems that you have been discussing here are system/compilation
problems and not at all NAMD specific problems. even more so, it is
extremely cumbersome to debug this over e-mail. if had found a local
person knowledgeable in compiling applications, your issues would have
been resolved a long time ago.

remember, most people on this mailing list are NAMD *users* and not
developers and particularly not people with experience on exotic

that being said, you guess (not unexpectedly) is wrong.
the error message is clearly originating from the linker and it is
indicating that the /usr/lib64/ file is not compatible
with your compilation settings. that can have two reasons:
a) you are compiling for 32-bit mode, but are trying to link with
64-bit libraries (as the directory name hints at).
   this can be easily validated by doing: xlc -c test.c ; file test.o
   the output should indicate the bitness and for more details on how
to select compiler bitness you should read the compiler documentation.
b) the library is not what it should be. i.e. either it is not 64-bit
or it is not for ppc7
   this can be found out using: file /usr/lib64/

again, these kinds of issues are part of the daily work and skill set
of a system administrator / system manager and are trivial to verify
and resolve unless your local system "person" is incompetent. so
please, save yourself a lot of grief and get some capable local help.


On Tue, Jun 11, 2013 at 9:14 AM, Anilkumar Naik
<> wrote:
> Hi,
> I did testing with a small program:
> test.c:
> nt main(int argc, char **argv)
> {
> Tcl_Main(argc, argv, 0);
> return 0;
> }
> 1)
> xlc test.c -L/usr/lib64 -ltcl8.5 -ldl
> /usr/bin/ld: skipping incompatible /usr/lib64/ when searching
> for -ltcl8.5
> /usr/bin/ld: skipping incompatible /usr/lib64/ when searching
> for -ltcl8.5
> /usr/bin/ld: cannot find -ltcl8.5
> 2)
> $cc test.c -L/usr/lib64 -ltcl8.5 -ldl
> $ls
> a.out
> 3)
> gcc test.c -L/usr/lib64 -ltcl8.5 -ldl
> $ls
> a.out

> May be xlc is skipping incompatible
> Regards,
> Anilkumar

Dr. Axel Kohlmeyer
International Centre for Theoretical Physics, Trieste. Italy.

This archive was generated by hypermail 2.1.6 : Wed Dec 31 2014 - 23:21:17 CST