Lammps gpu installtion

Dear Lammps users,

I am trying to install lammps gpu package. I have followed the lammps
documentation, which says 1.build gpu library which went fine and libgpu.a
and Makefile.lammps files were created. (CUDA version 5-0)

When i tried to build gpu from src using make yes-gpu it is not giving any
errors at the same time executable is also not created. I guess it is not
installed properly

It shows
[[email protected]... src] make yes\-gpu Installing package gpu \[cheravi@\.\.\.6368\.\.\. src\]

I am using Apr16 version of lammps

can any one suggest why does this happen?

thanks in advance

RAVI KUMAR REDDY A
IISc Bangalore

Dear Lammps users,

I am trying to install lammps gpu package. I have followed the lammps
documentation, which says 1.build gpu library which went fine and libgpu.a
and Makefile.lammps files were created. (CUDA version 5-0)

When i tried to build gpu from src using make yes-gpu it is not giving any
errors at the same time executable is also not created. I guess it is not
installed properly

It shows
[[email protected]... src] make yes\-gpu Installing package gpu \[cheravi@\.\.\.6368\.\.\. src\]

I am using Apr16 version of lammps

if you are building a new executable, you should download and build
the latest (stable) LAMMPS version.

can any one suggest why does this happen?

because you don't follow the general LAMMPS installation instructions.
read them again and _more carefully and completely_ at:
http://lammps.sandia.gov/doc/Section_start.html
...and then do:

make no-gpu

then compile a regular LAMMPS executable with:

make mpi

test it, see if you can run some of the example inputs. if that works, do:

make yes-gpu
make mpi

and then test the gpu support.

axel.

Dear lammps users,

I installed lammps-30July16 version with out gpu package first. It was
working fine. Then i tried to install gpu package by changing
Makefile.linux in lib/gpu directory as prescribed in documentation, which
went fine and two file libgpu.a and Makefile.lammps were created.

Then from src i did make yes-gpu and make mpi once again (do we get any
other executable for gpu separately or lmp_mpi is fine)?

I din't find any other in src folder

with out any errors it was done.

when i try to run small test simulation from bench folder it is showing
the following error.

LAMMPS (30 Jul 2016)
ERROR: GPU library not compiled for this accelerator
(/home/phd/14/cheravi/lammps-30Jul16/src/gpu_extra.h:40)

can any one help me in this regard..

RAVI KUMAR REDDY A
IISc Bangalore

Dear lammps users,

I installed lammps-30July16 version with out gpu package first. It was
working fine. Then i tried to install gpu package by changing
Makefile.linux in lib/gpu directory as prescribed in documentation, which
went fine and two file libgpu.a and Makefile.lammps were created.

Then from src i did make yes-gpu and make mpi once again (do we get any
other executable for gpu separately or lmp_mpi is fine)?

I din't find any other in src folder

with out any errors it was done.

when i try to run small test simulation from bench folder it is showing
the following error.

LAMMPS (30 Jul 2016)
ERROR: GPU library not compiled for this accelerator
(/home/phd/14/cheravi/lammps-30Jul16/src/gpu_extra.h:40)

can any one help me in this regard..

this error is rather self-explanatory. you have compile the GPU
library with settings for a GPU that your GPU is not compatible with.

what kind of GPU do you have? specifically how does nvc_get_devices report it?

what gpu architecture did you set under CUDA_ARCH in Makefile.linux ?
for more info on this, please have a look at, e.g.:
https://en.wikipedia.org/wiki/CUDA#GPUs_supported

axel