I've been trying to compile Charmm for three weeks now and just can't figure
out how to resolve this error. When the final binary is being assemblied I
get tons of messages like this:
/usr/local/lam/intel_80/lib/libmpi.a(malloc.o)(.text+0xa): In function
`malloc_atfork':
: undefined reference to `pthread_getspecific'
/usr/local/lam/intel_80/lib/libmpi.a(malloc.o)(.text+0x15e): In function
`free_atfork':
: undefined reference to `pthread_getspecific'
/usr/local/lam/intel_80/lib/libmpi.a(malloc.o)(.text+0x22d): In function
`ptmalloc_lock_all':
: undefined reference to `pthread_getspecific'
/usr/local/lam/intel_80/lib/libmpi.a(malloc.o)(.text+0x23f): In function
`ptmalloc_lock_all':
: undefined reference to `pthread_setspecific'
/usr/local/lam/intel_80/lib/libmpi.a(malloc.o)(.text+0x261): In function
`ptmalloc_unlock_all':
I'm using lam compiled with the Intel 80 compiler. I've tweeked and twisted
the install process of Charmm so many different ways. It seems like it's
getting confused on which libraries to use. I'm using the mpif77 wrapper, or
at least I think I am (very confusing make process). I've changed my
ldconfig.conf and updated the ldcache, I've tried compiling with the static
flags, etc. Any ideas anyone can give me, I'd be willing to give it a try.
Thanks,
Robert LeBlanc
BioAg Computer Support
Brigham Young Univeristy
|