RE: AMBER: Compiling Amber 7

From: David J. Powers <dpowers.nmu.edu>
Date: Thu, 08 Feb 2007 14:27:41 -0500

Thanks, Ross. Your suggestion for LOADLIB did the trick. AMBER now
builds completely.


At 08:30 AM 2/8/2007 -0800, you wrote:
>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


-----------------------------------------------------------------------
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:24 PST
Custom Search