On Tue, 28 Feb 2006, Josh Hursey wrote:
> Davide probably has it. Adding -lpthread should help address this.
I'm sorry for stubbornly continuing this thread, but I would like to
have some clarification. Isn't this flag (-lpthread) supposed to be
automatically dealt with in a properly done installation ?
With my (I know, not very recent) installation using Intel 8.0
compilers:
# /usr/local/lam-7.0.3-intel/bin/mpif77 --showme
ifort -I/usr/local/lam-7.0.3-intel/include -L/usr/local/lam-7.0.3-intel/lib -llamf77mpi -lmpi -llam -lutil
# ldd clf-lam-intel8
libutil.so.1 => /lib/libutil.so.1 (0x00806000)
libm.so.6 => /lib/tls/libm.so.6 (0x003bd000)
libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00c32000)
libc.so.6 => /lib/tls/libc.so.6 (0x00635000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0028e000)
where the clf-lam-intel8 executable was produced without any extra
-lpthread specification in the CHARMM Makefile.
--
Bogdan Costescu
IWR - Interdisziplinaeres Zentrum fuer Wissenschaftliches Rechnen
Universitaet Heidelberg, INF 368, D-69120 Heidelberg, GERMANY
Telephone: +49 6221 54 8869, Telefax: +49 6221 54 8868
E-mail: Bogdan.Costescu_at_[hidden]
|