AMBER Archive (2004)Subject: Re: AMBER: Amber 8 compilation
From: Viktor Hornak (hornak_at_csb.sunysb.edu)
Date: Wed May 26 2004 - 12:08:08 CDT
A. Hungie wrote:
> Dear All,
>
> I have posted my question a few days agao, but nobody gave me a
> suggestion, that why I have to post again. My problem is as followed.
>
> I have successed compilation of Amber 8 on Linux cluster with "make
> serial" and (almost) passed all tests.
> then I have compiled as parallel by:
>
> 1. install mpich-1.2.5.2
> % cd /usr/local/mpich-1.2.5.2
> % setenv CC gcc
> % setenv FC ifort
> % ./configure --prefix=/usr/local/mpich-1.2.5.2_gcc -cc=$CC -fc=$FC
> % make
> % make install
>
> Everything was fine for mpich compilation
>
> 2. install Amber 8
> % setenv MPICH_HOME /usr/local/mpich-1.2.5.2_gcc
> % setenv AMBERHOME /usr/local/amber8
> % make clean
> % ./configure -mpich ifort
> % make parallel
>
> this process took some minutes and then I got error as
>
> .
> .
>
> ../lmod/lmod.a -L/usr/local/mpich-1.2.5.2_g77/lib -lmpich -lU77 \
..................................................^^^
How come that your MPICH_HOME points to "mpich-1.2.5.2_g77" when you set
it to "mpich-1.2.5.2_gcc" before? Is your "config.h" not being
overwritten when you run 'configure'?
Can you post your "config.h"? Or even before you do that, could you try
to delete "-lU77" from your "config.h"? It would most likely be on
"LOADLIB= ..." line. That line should probably look like this:
LOADLIB= -L/usr/local/mpich-1.2.5.2_gcc/lib -lpmpich -lmpich -lpmpich
-lmpich
Something is going wrong in your ./configure script: -lU77 is only ever
set for "hpf90" and you requested "ifort" (I assume your linux cluster
is Intel (i386) based, right?)...
Cheers,
-Viktor
> ../lapack/lapack.a ../blas/blas.a ../lib/nxtsec.o ../lib/sys.a
> /usr/bin/ld: cannot find -lU77
> make[1]: *** [sander] Error 1
> make[1]: Leaving directory `/usr/local/amber8/src/sander'
> make: *** [parallel] Error 2
>
>
> What is "-lU77"? Could you please help me to solve such problem?
> Thank you very much in advance.
>
> Hungie
>
> _________________________________________________________________
> MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*.
> http://join.msn.com/?page=features/virus
>
> -----------------------------------------------------------------------
> 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
|