{"id":400,"date":"2018-02-19T10:21:35","date_gmt":"2018-02-19T10:21:35","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/htccondor\/?page_id=400"},"modified":"2025-02-21T12:01:39","modified_gmt":"2025-02-21T12:01:39","slug":"perl","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/perl\/","title":{"rendered":"Perl"},"content":{"rendered":"<div class=\"entrytext\">\n<h2><span id=\"Overview\">Overview<\/span><\/h2>\n<p>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. <\/p>\n<h2>Restrictions on use\/License information<\/h2>\n<p>Perl is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-1.0.html\">GNU GPL+<\/a> and <a href=\"https:\/\/www.gnu.org\/licenses\/old-licenses\/gpl-2.0.en.html\">GNU GPL v2+<\/a>.<\/p>\n<p>There is no restriction on the number of simultaneously running programs on HTCondor.<\/p>\n<h2><span id=\"Versions_installed\">Versions installed<\/span><\/h2>\n<table align=\"center\" border=\"1\">\n<tbody>\n<tr>\n<th align=\"center\">Perl version<\/th>\n<th align=\"center\">HTCondor ClassAd<\/th>\n<\/tr>\n<tr>\n<td align=\"center\">5.16.3<\/td>\n<td align=\"center\">HAS_STANDARD_IMAGE<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2><span id=\"Set_up_procedure_on_submit_node\">Set up procedure on submit node<\/span><\/h2>\n<p>Perl is part of the standard linux installation.<\/p>\n<h2><span id=\"Running_the_application\">Running the application<\/span><\/h2>\n<p>Running Perl jobs on HTCondor is simply a matter of submitting the job file with a suitable submit file.<\/p>\n<pre>\r\nUniverse = vanilla\r\n\r\nRequirements = (Target.Opsys == \"LINUX\" &amp;&amp; Target.Arch == \"X86_64\" &amp;&amp; &lt;HTCondor ClassAd&gt;=?=True)\r\nRequest_Memory = 1000\r\n\r\nLog = perl.log\r\nOutput = perl.out\r\nError = perl.error\r\nNotification = Error\r\n\r\nShould_Transfer_Files = Yes\r\nWhen_To_Transfer_Output = On_Exit\r\n\r\nExecutable = &lt;perl_script&gt;.pl\r\nTransfer_Executable = True\r\nTransfer_Input_Files = &lt;perl_script&gt;.pl\r\n\r\nQueue\r\n<\/pre>\n<p>If your submit file is called <tt>submit.txt<\/tt> then your job can be submitted to HTCondor using the command <tt>condor_submit submit.txt<\/tt>.<\/p>\n<h2>Sample Perl HTCondor jobs<\/h2>\n<ol>\n<li><a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/hello-world\/\">Perl script for &#8220;hello world&#8221; and displaying current working directory<\/a>.<\/li>\n<\/ol>\n<p><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/perl\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":17,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-400","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/400","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/comments?post=400"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/400\/revisions"}],"predecessor-version":[{"id":1234,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/400\/revisions\/1234"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/17"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/media?parent=400"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}