recompile with vtk support

Submitted by NSalloum on Mon, 10/22/2018 - 10:39

hello,

I am trying to recompile LIGGGHTS after applying some modifications in the input.cpp file, but I could not manage doing that unless I changed the (USE_VTK = "ON") to "OFF" in the Makefile.user, as I was getting the following error :

Creating list of contact models completed.
make[1]: Entering directory '/home/salloum/LIGGGHTS-BOSCH-master/src/Obj_auto'
Makefile:829: *** 'Could not obtain VTK_MAJOR_VERSION. As AUTOINSTALL_VTK is not set to "ON" we cannot continue'. Stop.
make[1]: Leaving directory '/home/salloum/LIGGGHTS-BOSCH-master/src/Obj_auto'
Makefile:106: recipe for target 'auto' failed
make: *** [auto] Error 2

I am trying now to run my input script involving the following command:

dump dmp all custom/vtk 33336 post/movingMesh_*.vtk id type type mass x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius diameter.

But I am getting the following error:

Invalid dump style.

and after trying to recompile having the following commands in Makefile.user: (USE_VTK = "ON") and AUTOINSTALL_VTK = "ON", I am getting the following error:

Creating list of contact models completed.
make[1]: Entering directory '/home/salloum/LIGGGHTS-BOSCH-master/src/Obj_auto'
'Could not compile VTK example. As AUTOINSTALL_VTK is set to "ON". VTK will now be automatically downloaded to ../../lib'
Cloning into '../../lib/vtk/src'...
fatal: unable to access 'https://gitlab.kitware.com/vtk/vtk.git/': gnutls_handshake() failed: An unexpected TLS packet was received.
Makefile:787: *** 'Could not perform "git clone" of https://gitlab.kitware.com/vtk/vtk.git into ../../lib/vtk/src'. Stop.
make[1]: Leaving directory '/home/salloum/LIGGGHTS-BOSCH-master/src/Obj_auto'
Makefile:106: recipe for target 'auto' failed
make: *** [auto] Error 2.

any suggestions in this regards please?

best wishes

Venkataraman | Tue, 10/23/2018 - 20:15

Hi,
I am new to LIGGGHTS, I installed the package on my mac OS High Sierra. I need some help to create the executables. Kindly help me on how to do it and how to compile a input script in macOS.