This was fixed some time ago. Update your system first and then try again.
You can update Amber by doing:
cd $AMBERHOME
./patch_amber.py --update
Keep running ./patch_amber.py --update until it tells you that there are no
updates to apply. Then re-run configure and build Amber.
HTH,
Jason
On Wed, Mar 13, 2013 at 1:54 PM, javacfish <javacfish.yahoo.com.cn> wrote:
> Hello everyone,
>
> when I install Amber12 on the Opensuse linux (gcc version 4.7.1 20120723),
> I used ./configure gnu. But when I run make install, the err happen as
> below:
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
> a - mkl_fft.o
> ranlib /home/bai/soft/amber12/lib/librism.a
> gfortran -c -DBINTRAJ \
> \
> -O3 -mtune=native -ffree-form -I/home/bai/soft/amber12/include
> -I/home/bai/soft/amber12/include \
> -o rism1d.o rism1d.F90
> rism1d.F90:1262.8:
>
> use rism1d_m
> 1
> Error: 'rism1d' of module 'rism1d_m', imported at (1), is also the name of
> the current program unit
> rism1d.F90:1262.8:
>
> use rism1d_m
> 1
> Error: Name 'rism1d' at (1) is an ambiguous reference to 'rism1d' from
> current program unit
> rism1d.F90:1261.16:
>
> program rism1d
> 1
> Error: Name 'rism1d' at (1) is an ambiguous reference to 'rism1d' from
> current program unit
> make[2]: *** [rism1d.o] Error 1
> make[2]: Leaving directory `/home/bai/soft/amber12/AmberTools/src/rism'
> make[1]: *** [serial] Error 2
> make[1]: Leaving directory `/home/bai/soft/amber12/AmberTools/src'
> make: *** [install] Error 2
>
>
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>
> Could someone help me? Give me some suggestion?
>
> Thanks
>
> javacfish
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Candidate
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Mar 13 2013 - 14:30:04 PDT