If you are getting error while running MadGraph stopped working – zlib Module not found – Suddenly, “can’t locate compress/zlib.pm“.
INFO: Merging LHE files Can’t locate Compress/Zlib.pm in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /c13scratch/asesh/MG5_aMC_v3_4_0/pp-ttbar-jj/bin/internal/merge.pl line 17. BEGIN failed–compilation aborted at /c13scratch/chandan/MG5_aMC_v3_4_0/pp-ttbar-jj/bin/internal/merge.pl line 17.
To resolved “can’t locate compress/zlib.pm” issue as discuss above, You can install mention below package in all HPC cluster nodes or your standalone server/ Desktop Linux machine.
Package Details:- low-level interface to zlib compression library Compress::Raw::Zlib is a Perl module that provides low-level interface to the zlib compression library. It provides the core compression and decompression functionality useful for supporting other higher-level modules. Other modules provide support for file and stream compression. low-level interface to zlib compression library Compress::Raw::Zlib is a Perl module that provides low-level interface to the zlib compression library. It provides the core compression and decompression functionality useful for supporting other higher-level modules. Other modules provide support for file and stream compression.
To Install “libcompress-raw-zlib-perl” Package on Ubuntu Operating System.
#apt-get install -y libcompress-raw-zlib-perl
To Install “compress/zlib.pm” on Linux Cent OS..
#yum install perl-Compress-Raw-Zlib perl-IO-Compress -y