Re: [AMBER] problem of compiling

From: Gerald Monard <Gerald.Monard.univ-lorraine.fr>
Date: Mon, 9 Dec 2019 10:48:53 +0100

Hello,

Installation of Amber18+19 with OpenSuse is failing because of
miniconda. I don't know why but miniconda(2 and 3) installations are not
compatible with OpenSuse.

As a workaround, you can use your local python installation which should
be fully compatible with Amber/AmberTools. Something like `./configure
--with-python $(which python3) gnu` should work OK.

Best regards,

Gerald.

On 12/8/19 05:23, Albert wrote:
> Hello,
>
> I am trying to compile Amber18+AmberTool19 in my opensuse 15.1 x64 OS
> with command line:
>
> ./configure gnu
>
> but it always failed with the following messages:
>
> I am using gcc-8
>
> ----------------------------
>
> cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
> C/ObjC but not for C++
> cc1plus: warning: command line option ‘-Wstrict-prototypes’ is valid for
> C/ObjC but not for C++
> src/readparm.cpp: In function ‘ExitStatus readparm(const string&,
> std::vector<std::__cxx11::basic_string<char> >&, ParmDataMap&,
> ParmStringMap&, ParmStringMap&, ParmFormatMap&, std::__cxx11::string&)’:
> src/readparm.cpp:143:28: warning: ‘char* strncpy(char*, const char*,
> size_t)’ specified bound 8 equals destination size [-Wstringop-truncation]
>                      strncpy(d.c, word.c_str(), MAX_HOLLERITH_SIZE);
> ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> /soft/amber/18/miniconda/compiler_compat/ld:
> /usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
> initialize decompress status for section .debug_aranges
> /soft/amber/18/miniconda/compiler_compat/ld:
> /usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
> initialize decompress status for section .debug_aranges
> /soft/amber/18/miniconda/compiler_compat/ld:
> /usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
> initialize decompress status for section .debug_aranges
> /soft/amber/18/miniconda/compiler_compat/ld:
> /usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: unable to
> initialize decompress status for section .debug_aranges
> /usr/lib64/gcc/x86_64-suse-linux/8/../../../../lib64/crti.o: file not
> recognized: file format not recognized
> collect2: error: ld returned 1 exit status
> error: command 'g++' failed with exit status 1
> make[2]: *** [Makefile:525: parmed] Error 1
> make[2]: Leaving directory '/soft/amber/18/AmberTools/src'
> make[1]: *** [Makefile:56: serial] Error 2
> make[1]: Leaving directory '/soft/amber/18/AmberTools/src'
> make: *** [Makefile:7: install] Error 2
> ------------------------------------------------
>
>
> Thank you very much
>
> Albert
>
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber

-- 
____________________________________________________________________________
  Prof. Gerald MONARD
  Directeur du mésocentre EXPLOR
  Université de Lorraine
  Boulevard des Aiguillettes B.P. 70239
  F-54506 Vandoeuvre-les-Nancy, FRANCE
  e-mail : Gerald.Monard.univ-lorraine.fr
  phone  : +33 (0)372.745.279
  mobile : +33 (0)678.006.443
  web    : http://www.monard.info
____________________________________________________________________________
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Dec 09 2019 - 02:00:02 PST
Custom Search