Error with GZ compression in new LIGGGHTS 3.8

Submitted by AliBlues on

Hi,
In the new version of LIGGGHTS 3.8 there seems to be an issue with writing files with .gz extension, which was working fine in previous versions. Taking the periodicChannel tutorial in CFDEM as example, in the file DEM/in.liggghts_init, adding gz to dump file name:
post/dump.liggghts_init.gz

and running parDEMrun.sh gives the following error:
ERROR on proc 0: Cannot open gzipped file (../dump.cpp:460)

If I run the same case in previous (LIGGGHTS 3.6) it works fine. Would you please let me know where the error is stemming from.
Thanks