Re: [AMBER] Amber16 cuda compiling error

From: senal dinuka <senal.ichemc.edu.lk>
Date: Tue, 18 Sep 2018 09:43:58 +0530

Dear David,
As I have included my gcc, g++ and gfortran versions are
of 7.x . But my error interpret that I require compiler version lower than
5.0

On Tue, Sep 18, 2018 at 9:17 AM David Cerutti <dscerutti.gmail.com> wrote:

> You need to upgrade your gnu compilers. Make sure to upgrade all of gcc,
> g++, and gfortran. Furthermore, make sure all of your environment
> variables are pointing towards the same compilers of consistent versions
> greater than or equal to 5.4. You do NOT need to downgrade Ubuntu--upgrade
> your GNU.
>
> Dave
>
>
> On Mon, Sep 17, 2018 at 11:43 PM senal dinuka <senal.ichemc.edu.lk> wrote:
>
> > Dear Amber users,
> > I have accidentally upgraded my Ubuntu desktop to version 18 which
> results
> > in amber MPI and CUDA versions at halt. I was able to successfully
> > recompile MPI version even though CUDA version resulted in following
> error.
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *In file included from
> > /usr/local/cuda/bin/..//include/cuda_runtime.h:78:0, from
> > <command-line>:0:/usr/local/cuda/bin/..//include/host_config.h:119:2:
> > error: #error -- unsupported GNU version! gcc versions later than 5 are
> not
> > supported! #error -- unsupported GNU version! gcc versions later than 5
> are
> > not supported! ^~~~~Makefile:175: recipe for target 'cuda_cg_wrapper.o'
> > failedmake[2]: *** [cuda_cg_wrapper.o] Error 1make[2]: Leaving directory
> > '/home/senal-research/amber16/AmberTools/src/pbsa'Makefile:447: recipe
> for
> > target 'cuda_serial' failedmake[1]: *** [cuda_serial] Error 2make[1]:
> > Leaving directory
> '/home/senal-research/amber16/AmberTools/src'Makefile:7:
> > recipe for target 'install' failedmake: *** [install] Error 2*
> >
> > Following are the outputs for gcc --version , nvcc --version and
> nvidia-smi
> > commands.
> >
> >
> >
> >
> > *gcc (Ubuntu 7.3.0-16ubuntu3) 7.3.0Copyright (C) 2017 Free Software
> > Foundation, Inc.This is free software; see the source for copying
> > conditions. There is NOwarranty; not even for MERCHANTABILITY or FITNESS
> > FOR A PARTICULAR PURPOSE.*
> >
> >
> >
> >
> >
> > *senal-research.crlc-xeon:~$ nvcc --versionnvcc: NVIDIA (R) Cuda
> compiler
> > driverCopyright (c) 2005-2017 NVIDIA CorporationBuilt on
> > Fri_Nov__3_21:07:56_CDT_2017Cuda compilation tools, release 9.1, V9.1.85*
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > *senal-research.crlc-xeon:~$ nvidia-smi Tue Sep 18 09:08:51 2018
> >
> >
> +-----------------------------------------------------------------------------+|
> > NVIDIA-SMI 390.87 Driver Version: 390.87
> >
> >
> ||-------------------------------+----------------------+----------------------+|
> > GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr.
> ECC
> > || Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util
> Compute
> > M.
> >
> >
> ||===============================+======================+======================||
> > 0 GeForce GTX 108... Off | 00000000:03:00.0 On | N/A
> > || 0% 49C P8 15W / 250W | 534MiB / 11177MiB | 0%
> > Default
> >
> >
> |+-------------------------------+----------------------+----------------------+
> >
> >
> +-----------------------------------------------------------------------------+|
> > Processes: GPU
> Memory
> > || GPU PID Type Process name
> > Usage
> >
> >
> ||=============================================================================||
> > 0 3356 G /usr/lib/xorg/Xorg 26MiB
> > || 0 3440 G /usr/bin/gnome-shell
> > 50MiB || 0 3794 G
> > /usr/lib/xorg/Xorg 212MiB || 0 3873
> > G 2MiB || 0
> > 4027 G /usr/bin/gnome-shell 162MiB ||
> > 0 12625 G ...al-research/spartan16.2_x86-64/sp_gui_r 77MiB
> >
> >
> |+-----------------------------------------------------------------------------+*
> >
> > I would like for a possible solution before I downgrade my Ubuntu
> version.
> >
> > Regards,
> > --
> > D L Senal Dinuka
> > Grad.Chem., A.I.Chem.C.
> > Research Assistant
> > College of Chemical Sciences
> > Institute of Chemistry Ceylon
> > Rajagiriya
> > Sri Lanka
> > +94 77 627 4678
> > _______________________________________________
> > 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
>


-- 
D L Senal Dinuka
Grad.Chem., A.I.Chem.C.
Research Assistant
College of Chemical Sciences
Institute of Chemistry Ceylon
Rajagiriya
Sri Lanka
+94 77 627 4678
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Sep 17 2018 - 21:30:03 PDT
Custom Search