Error using mpirun and lmp_auto with missing library libvtkCommonCore-6.2.so.6.2

Submitted by sks033 on Wed, 06/05/2019 - 02:01

Hello,

I am very new to LIGGGHTS and I just recently began using it through an Ubuntu environment which I am also new to. I am attempting to run the command:
"mpirun -np 4 lmp_auto -echo both < in.vel2.txt"
and I received the error:
"lmp_auto: error while loading shared libraries: libvtkCommonCore-6.2.so.6.2: cannot open shared object file: no such file or directory"
which is repeated four times before terminating.

I have tried to get libvtk6.2 using:
"sudo apt-get install libvtk6.2"
but it says:
"Package libvtk6.2 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source
However the following packages replace it:
libvtk6.3-qt
E: Package 'libvtk6.2' has no installation candidate"

When I do:
"sudo apt-get install libvtk6.3-qt"
it tells me I already have the newest version.

I am wondering if it could be because I downloaded LIGGGHTS from the link in the instruction document? I did that because:
"git clone git@github.com:CFDEMproject/LIGGGHTS-PUBLIC.git"
did not work because I didn't have access or something and permission was denied (publickey) so I used:
"git clone https://github.com/CFDEMproject/LIGGGHTS-PUBLIC.git"
which seemed to work in the terminal but then I was unable to find it on my computer drive so I just downloaded it from the link.

Any ideas on how to solve the libvtk6.2/libvtkCommonCore6.2.so.62 issue?

Edit:
I also tried turning off VTK and running it without by going into "MAKE/Makefile.user" and setting "USE_VTK" to "OFF" and commenting out the lines:
"VTK_INC_USR=-I/home/liggghts/vtk/include" and
"VTK_LIB_USR=-L/home/liggghts/vtk/lib"
and then using "make-clean auto" and "make auto" to recompile and make a new 'lmp_auto" executable but I am still encountering the same issue with the same error message.

Another note is that it also says (and always did say):
"Primary job terminated normally, but 1 process returned
a non-zero exit code.. Per user-direction, the job has been aborted."
and
"mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:
Process name: [[33020],0]
Exit code: 127"
if that is relevant.

Thank you so much for your help!