I installed VTK package into 4May22 version of LAMMPS on HPE Cray EX system. It is linked to VTK-9.2.0.rc2 library. I tried to run the LAMMPS examples: in.vtk and in.vtp. Both of runs gave following error:
terminate called after throwing an instance of ‘std::logic_error’
what(): basic_string::_M_construct null not valid
BTW, the executable runs fine with examples other than vtk.
As a workaround, you could define a region that contains the entire box and use that with the dump vtk command.
Or you would need to update to the latest stable version (23 June 2022 with update 1) or the latest patch version (3 August 2022) which include the bugfix.
@akohlmey Thanks a lot for your comments and suggestions.
As a workaround, you could define a region that contains the entire box and use that with the dump vtk command.
Can you please tell me how to modify the example input of in.vtk file to avoid the error? I manage the application for our users but myself is not a LAMMPS user.