AMBER Archive (2007)Subject: RE: AMBER: Compiling Amber 7
From: David J. Powers (dpowers_at_nmu.edu) 
Date: Thu Feb 08 2007 - 13:27:41 CST
 
 
 
 
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_at_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_at_scripps.edu
 
>To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
 
 -----------------------------------------------------------------------
 
The AMBER Mail Reflector
 
To post, send mail to amber_at_scripps.edu
 
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu
 
 
  
 |