{"id":453,"date":"2018-02-01T14:02:27","date_gmt":"2018-02-01T14:02:27","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/htccondor\/?page_id=453"},"modified":"2025-02-04T11:38:48","modified_gmt":"2025-02-04T11:38:48","slug":"matlab_calculate_pi","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/matlab_calculate_pi\/","title":{"rendered":"Matlab code for calculating Pi on HTCondor"},"content":{"rendered":"<p><a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/calculate_pi.m\">Matlab code for calculating Pi<\/a> using <em>n<\/em> terms of the Gregory series.<\/p>\n<h3 class=\"entry-title\">Compiling using Matlab 2019a and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load matlab\/2019a<\/tt><\/li>\n<li><tt>mcc -R -singleCompThread -m calculate_pi.m<\/tt><\/li>\n<li><tt>condor_submit submit_matlab2019_pi.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_matlab2019_pi.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Compiling using Matlab 2021a and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load matlab\/2021a<\/tt><\/li>\n<li><tt>mcc -R -singleCompThread -m calculate_pi.m<\/tt><\/li>\n<li><tt>condor_submit submit_matlab2021_pi.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_matlab2021_pi.txt\">HTCondor submit file<\/a>.<\/p>\n<h3 class=\"entry-title\">Compiling using Matlab 2024a and submitting to HTCondor<\/h3>\n<ul>\n<li><tt>module load matlab\/2024a<\/tt><\/li>\n<li><tt>mcc -R -singleCompThread -m calculate_pi.m<\/tt><\/li>\n<li><tt>condor_submit submit_matlab2024_pi.txt<\/tt><\/li>\n<\/ul>\n<p>using the following <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-content\/uploads\/submit_matlab2024_pi.txt\">HTCondor submit file<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Matlab code for calculating Pi using n terms of the Gregory series. Compiling using Matlab 2019a and submitting to HTCondor module load matlab\/2019a mcc -R -singleCompThread -m calculate_pi.m condor_submit submit_matlab2019_pi.txt using the following HTCondor submit file. Compiling using Matlab 2021a and submitting to HTCondor module load matlab\/2021a mcc -R -singleCompThread -m calculate_pi.m condor_submit submit_matlab2021_pi.txt using the following HTCondor submit file. Compiling using Matlab 2024a and submitting to HTCondor module load matlab\/2024a mcc -R -singleCompThread -m.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/software\/matlab_calculate_pi\/\">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-453","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/453","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=453"}],"version-history":[{"count":7,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/453\/revisions"}],"predecessor-version":[{"id":1146,"href":"https:\/\/ri.itservices.manchester.ac.uk\/htccondor\/wp-json\/wp\/v2\/pages\/453\/revisions\/1146"}],"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=453"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}