Minnesota Supercomputing Institute
5.28.1
5.28.1, 5.14.2, 5.24.1, 5.26.0, 5.26.1, modules, 5.30.1, modules.centos7.5.26.1
Thursday, January 16, 2020
5.26.1
5.14.2, 5.24.1, 5.26.0, 5.26.1, modules, 5.30.1, modules.centos7.5.26.1
Although perl is installed globally on all Linux systems, the version can vary across clusters. To avoid complications, MSI recommends users load perl from software modules:
module load perl
If you need additional perl modules installed, you can add them using local::lib (included in the MSI perl module):
perl -MCPAN -Mlocal::lib -e 'install <MODULE_NAME>'
or
perl -MCPAN -Mlocal::lib -e 'CPAN::install(<MODULE_NAME>)'
Both of these commands will install modules to $HOME/perl5. If you wish to override the installation path, or change other installation options, see the local::lib documentation. The version of perl provided in the MSI module looks in $HOME/perl5 at runtime for any modules. If you override the installation path, or use a different version of perl, you may need to reconfigure your environment with this command (update the -I path as necessary):
eval $( perl -I$HOME/perl5 -Mlocal::lib )
If you need to install perl modules from CPAN, you may need to load the centos7.5.26.1 perl module:
module load perl/modules.centos7.5.26.1