RE: AMBER: Compiling Amber 7

From: Ross Walker <ross.rosswalker.co.uk>
Date: Thu, 8 Feb 2007 08:30:30 -0800

Dear David,

> I set the environment variables, AMBERHOME and MPICH_HOME.
> During the
> "make install"
> I got an error making sander. The errors were specifically:
> undefined reference to 'pthread_getspecific'
> and undefined reference to 'pthread_getspecific'

Try adding -lpthread to the loadlib line. I.e.:

setenv LOADLIB "-lm -L$MPICH_LIBDIR -l$MPICH_LIB -lpthread"

The other option, assuming that you have your mpich paths set up correctly
is to replace g77 with mpif77. This is a wrapper for the compiling mpi
programs and should append the correct library options automatically.

All the best
Ross

/\
\/
|\oss Walker

| HPC Consultant and Staff Scientist |
| San Diego Supercomputer Center |
| Tel: +1 858 822 0854 | EMail:- ross.rosswalker.co.uk |
| http://www.rosswalker.co.uk | PGP Key available on request |

Note: Electronic Mail is not secure, has no guarantee of delivery, may not
be read every day, and should not be used for urgent or sensitive issues.


-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Sun Feb 11 2007 - 06:07:22 PST
Custom Search