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 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:
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)
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?