Dear GMX users, I am trying to compile templete.c in template directory of gromacs-.4.5.3. However, when I type "make", I got the following errors with termination of compiling:
gcc -L/home/h1y/gggg/lib -L/home/h1y/fftw3s/lib -o template template.o -lmd -lgmx -lfftw3f -lxml2 -lnsl -lm /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_key_delete': pthreads.c:(.text+0x5b6): undefined reference to `pthread_key_delete' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_key_create': pthreads.c:(.text+0x658): undefined reference to `pthread_key_create' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_join': pthreads.c:(.text+0x790): undefined reference to `pthread_join' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_create': pthreads.c:(.text+0x839): undefined reference to `pthread_create' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_cancel': pthreads.c:(.text+0x164): undefined reference to `pthread_cancel' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_setspecific': pthreads.c:(.text+0x1eb): undefined reference to `pthread_setspecific' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_getspecific': pthreads.c:(.text+0x1f8): undefined reference to `pthread_getspecific' /home/h1y/gggg/lib/libgmx.a(pthreads.o): In function `tMPI_Thread_mutex_trylock': pthreads.c:(.text+0x9b7): undefined reference to `pthread_mutex_trylock' collect2: ld returned 1 exit status make: *** [template] Error 1 Could anybody help me how to resolve these errors? Thank you in advance for your kind help. Best, Jae H. Park =================== Jae Hyun Park, Ph.D. Physics Division Oak Ridge National Laboratory P.O. Box 2008, MS-6372 Oak Ridge, TN 37831 Phone (865) 241-1482 E-mail [email protected] gmx-users mailing list [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

