Applications/keep-Perl

From HPC
Revision as of 10:55, 16 November 2022 by Pysdlb (talk | contribs) (Further Information)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation , search

Application Details

  • Description: Perl is a family of high-level, general-purpose, interpreted, dynamic programming languages.
  • Version: 5.24.0
  • Modules: perl/5.24.0
  • Licence:GNU Licence

Usage Examples

Interactive

[pysdlb@login01 ~]$ interactive
salloc: Granted job allocation 2294929
Job ID 2294929 connecting to c024, please wait...

[pysdlb@c024 ~]$ module load perl/5.24.0
[pysdlb@c024 ~]$ export LANGUAGE=C
[pysdlb@c024 ~]$ export LC_ALL=C
[pysdlb@c024 ~]$ export LANG=C
[pysdlb@c024 ~]$ perl
  • you can ignore the export command above if you're not bothered about the locale warnings.

Batch File

#!/bin/bash

#SBATCH -J openPERL-node
#SBATCH -N 1
#SBATCH --ntasks-per-node 20
#SBATCH -o %N.%j.%a.out
#SBATCH -e %N.%j.%a.err
#SBATCH -p compute
#SBATCH --exclusive

echo $SLURM_JOB_NODELIST

module purge
module add perl/5.24.0

export I_MPI_DEBUG=5
export I_MPI_FABRICS=shm:tmi
export I_MPI_FALLBACK=no

perl /home/user/PERL/demoPERL.pl

And to submit the batch:


[username@login01 ~]$ sbatch demoPERL.job
Submitted batch job 289352


Further Information





Modules | Main Page | Further Topics