{"id":391,"date":"2018-02-19T10:22:15","date_gmt":"2018-02-19T10:22:15","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/htccondor\/?page_id=391"},"modified":"2025-02-21T12:01:05","modified_gmt":"2025-02-21T12:01:05","slug":"julia","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/julia\/","title":{"rendered":"Julia"},"content":{"rendered":"<div class=\"entrytext\">\n<h2><span id=\"Overview\">Overview<\/span><\/h2>\n<p>Julia is a high-level, high-performance dynamic programming language for numerical computing developed by the <a href=\"https:\/\/julialang.org\/\">Julia community<\/a>. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library.<\/p>\n<h2>Restrictions on use\/License information<\/h2>\n<p>Julia is released under the <a href=\"https:\/\/opensource.org\/licenses\/MIT\">MIT license<\/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\">Julia version<\/th>\n<th align=\"center\">HTCondor ClassAd<\/th>\n<\/tr>\n<tr>\n<td align=\"center\">0.5.0<\/td>\n<td align=\"center\">HAS_JULIA_0_5<\/td>\n<\/tr>\n<tr>\n<td align=\"center\">1.5.0<\/td>\n<td align=\"center\">HAS_JULIA_1_5<\/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>Julia can be run using the command <tt>julia<\/tt>.<\/p>\n<h2><span id=\"Running_the_application\">Running the application<\/span><\/h2>\n<p>The following lines are the contents of a simple generic HTCondor submit text file for a julia job.<\/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 = julia.log\r\nOutput = julia.out\r\nError = julia.error\r\nNotification = Error\r\n\r\nShould_Transfer_Files = Yes\r\nWhen_To_Transfer_Output = On_Exit\r\n\r\nExecutable = \/usr\/bin\/julia\r\nTransfer_Executable = False\r\nEnvironment = HOME=\/tmp\r\nArguments = &lt;script&gt;.jl &lt;input_arguments&gt;\r\nTransfer_Input_Files = &lt;script&gt;.jl\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 Julia HTCondor jobs<\/h2>\n<ol>\n<li><a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/julia_calculate_pi\">Julia code for calculating Pi using <em>n<\/em> terms of the Gregory series<\/a>.<\/li>\n<\/ol>\n<p><\/body><\/html><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Julia is a high-level, high-performance dynamic programming language for numerical computing developed by the Julia community. It provides a sophisticated compiler, distributed parallel execution, numerical accuracy, and an extensive mathematical function library. Restrictions on use\/License information Julia is released under the MIT license and GNU GPL v2. There is no restriction on the number of simultaneously running programs on HTCondor. Versions installed Julia version HTCondor ClassAd 0.5.0 HAS_JULIA_0_5 1.5.0 HAS_JULIA_1_5 Set up procedure on.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/julia\/\">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-391","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/391","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=391"}],"version-history":[{"count":11,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/391\/revisions"}],"predecessor-version":[{"id":1233,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/391\/revisions\/1233"}],"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=391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}