Re: [AMBER] Amber20 installation

From: Gustaf Olsson <gustaf.olsson.lnu.se>
Date: Thu, 2 Jul 2020 06:06:29 +0000

What is the output of “which gcc” when you are using gcc8 as “default”.

Even if it seems like there is a priority or linking problem with the gcc versions, that seems to be another issue.

At 64% it seems like the compile stops when referring to something related to Cuda

> [ 64%] Building CXX object AmberTools/src/cpptraj/src/CMakeFiles/cpptraj_common_obj_cuda.dir/DataIO_RemLog.cpp.o

Are you trying to compile with cuda support?

What does these files contain:
> /tmp/cc0rnp9j.out

> /var/crash/_usr_lib_gcc_x86_64-linux-gnu_4.6_cc1plus.1005.crash
Maybe there are some clues in there.

Best regards
// Gustaf

> On 1 Jul 2020, at 20:16, Kliuchnikov, Evgenii <Evgenii_Kliuchnikov.student.uml.edu> wrote:
>
> Dear Amber users,
>
> I am trying to install Amber 20 on Ubuntu 12.04.5. I have two versions of CC and CXX compiler installed: 4.6 and 8. I choose 8 as default, so if I type
> gcc -v
> it will show me gcc version 8.4.0. However, when I start ./run_cmake, I can see
>
> Compilers:
> -- C: GNU 4.6.4 (/usr/bin/gcc)
> -- CXX: GNU 4.6.4 (/usr/bin/g++)
> -- Fortran: GNU 4.6.4 (/usr/bin/gfortran)
>
> This is not an error, I guess. I do not know if this is the cause of the error or not. But when I start make install it stops at 64% and gives:
>
> [ 64%] Building CXX object AmberTools/src/cpptraj/src/CMakeFiles/cpptraj_common_obj_cuda.dir/DataIO_RemLog.cpp.o
> /home/klyuchnikov/amber20_src/AmberTools/src/cpptraj/src/DataIO_RemLog.cpp: In member function ‘virtual int DataIO_RemLog::ReadData(const FileName&, DataSetList&, const string&)’:
> /home/klyuchnikov/amber20_src/AmberTools/src/cpptraj/src/DataIO_RemLog.cpp:799:68: sorry, unimplemented: unexpected ast of kind ltgt_expr
> /home/klyuchnikov/amber20_src/AmberTools/src/cpptraj/src/DataIO_RemLog.cpp:799: confused by earlier errors, bailing out
> Preprocessed source stored into /tmp/cc0rnp9j.out file, please attach this to your bugreport.
> ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/_usr_lib_gcc_x86_64-linux-gnu_4.6_cc1plus.1005.crash'
> make[2]: *** [AmberTools/src/cpptraj/src/CMakeFiles/cpptraj_common_obj_cuda.dir/DataIO_RemLog.cpp.o] Error 1
> make[1]: *** [AmberTools/src/cpptraj/src/CMakeFiles/cpptraj_common_obj_cuda.dir/all] Error 2
> make: *** [all] Error 2
>
> Can you please help me to understand what is the reason of the error?
>
> Thank you,
> Evgenii
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber

_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Jul 01 2020 - 23:30:03 PDT
Custom Search