The few Redhat boxes around here allhave different collections of libpthread.a (with links to various version-numbered file names), and have them in places like /lib, /lib64, /usr/lib, /usr/lib64, /usr/lib/, and more. Thereis also a file libpthread_nonshared.a (and a libpthread_real.so, maybe to go with it). There are, in fact, many more variations on names and locations for variations on libpthread.so.
Can someone offer guidance on what is known to work (or known not to work) using the Intel C++ compiler to generate 64-bit code? Just using -lpthread on the couple of boxes that I tried makes code that sort of works, but thatdoes a segmentation faultwhen I call pthread_mutex_trylock().