{"id":691,"date":"2019-04-24T16:39:03","date_gmt":"2019-04-24T15:39:03","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/htccondor\/?page_id=691"},"modified":"2019-05-09T14:08:01","modified_gmt":"2019-05-09T13:08:01","slug":"mathematica_pi","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/mathematica_pi\/","title":{"rendered":"Mathematica script for calculating Pi using the Gregory series"},"content":{"rendered":"<p><a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/calculating_pi.wls\">Wolfram Language (Mathematica) script for calculating Pi using the Gregory series<\/a>.<\/p>\n<p>Due to Mathematica being an interpreted language, submitting a Mathematica script to run on HTCondor is simply a case of constructing the corresponding HTCondor submit file.<\/p>\n<h3 class=\"entry-title\">Submitting the script to use Mathematica 11.3 on HTCondor<\/h3>\n<ul>\n<li><tt>condor_submit submit_math113_pi.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_math113_pi.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Submitting the script to use Mathematica 12.0 on HTCondor<\/h3>\n<ul>\n<li><tt>condor_submit submit_math120_pi.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_math120_pi.txt\">HTCondor submit file<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Wolfram Language (Mathematica) script for calculating Pi using the Gregory series. Due to Mathematica being an interpreted language, submitting a Mathematica script to run on HTCondor is simply a case of constructing the corresponding HTCondor submit file. Submitting the script to use Mathematica 11.3 on HTCondor condor_submit submit_math113_pi.txt using the following HTCondor submit file. Submitting the script to use Mathematica 12.0 on HTCondor condor_submit submit_math120_pi.txt using the following HTCondor submit file.<\/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-691","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/691","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=691"}],"version-history":[{"count":4,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/691\/revisions"}],"predecessor-version":[{"id":749,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/691\/revisions\/749"}],"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=691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}