Dear Dr. Case,
Thank you for the help. It worked using AmberTools21 as you suggested. Then
it failed again with an error toward the end of installation, which was
resolved with replacing amber20_src/AmberTools/src/leap/src/leap/getline.c
with the one you had attached in the following link:
http://archive.ambermd.org/202110/0196.html
Best regards,
Hamed
On Wed, Apr 6, 2022 at 8:55 PM David A Case <david.case.rutgers.edu> wrote:
> On Wed, Apr 06, 2022, Hamed S. Hayatshahi wrote:
> >
> >I am trying to install Amber20 on Ubuntu 21.10 and I get the following
> >error when I run "make install":
>
> Do you have AmberTools21 or AmberTools20? The latter probably won't
> compile
> with gcc11.
>
> >
> >[ 32%] Linking C shared library libcifparse.so
> >/usr/bin/ld: CMakeFiles/cifparse.dir/lex.cif.c.o:(.bss+0x8): multiple
> >definition of `cifpin'; CMakeFiles/cifparse.dir/cifparse.c.o:(.bss+0x0):
> >first defined here
>
> >I am using gcc 11.2, gfortran 9.4, bison 3.7.6 and cmake 3.23.
>
> Is there any chance that you were not building from a completely fresh
> build
> directory (e.g. that this is the second time you ran 'make install')? If
> so, use the clean_build script to get rid of any old files.
>
> I've built cifparse with gcc 11.1 and bison 3.7.6.
>
> ...hope this helps....dac
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
--
*Hamed S. Hayatshahi سید حامد سادات حیاتشاهی*
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Apr 08 2022 - 13:00:03 PDT