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
Received on Wed Apr 06 2022 - 19:00:03 PDT