Perl

Overview

Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text.

Restrictions on use/License information

Perl is released under the GNU GPL+ and GNU GPL v2+.

There is no restriction on the number of simultaneously running programs on HTCondor.

Versions installed

Perl version HTCondor ClassAd
5.16.3 HAS_STANDARD_IMAGE

Set up procedure on submit node

Perl is part of the standard linux installation.

Running the application

Running Perl jobs on HTCondor is simply a matter of submitting the job file with a suitable submit file.

Universe = vanilla

Requirements = (Target.Opsys == "LINUX" && Target.Arch == "X86_64" && <HTCondor ClassAd>=?=True)
Request_Memory = 1000

Log = perl.log
Output = perl.out
Error = perl.error
Notification = Error

Should_Transfer_Files = Yes
When_To_Transfer_Output = On_Exit

Executable = <perl_script>.pl
Transfer_Executable = True
Transfer_Input_Files = <perl_script>.pl

Queue

If your submit file is called submit.txt then your job can be submitted to HTCondor using the command condor_submit submit.txt.

Sample Perl HTCondor jobs

  1. Perl script for “hello world” and displaying current working directory.

Last modified on February 21, 2025 at 12:01 pm by Chris Paul