{"id":1016,"date":"2019-11-14T12:55:14","date_gmt":"2019-11-14T12:55:14","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/icsf\/?page_id=1016"},"modified":"2019-11-14T12:55:14","modified_gmt":"2019-11-14T12:55:14","slug":"julia","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/julia\/","title":{"rendered":"Julia"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>Julia is a high-level, high-performance dynamic language for technical computing.<\/p>\n<p>Version 1.2.0 is installed on the iCSF.<\/p>\n<h2>Set up procedure<\/h2>\n<p>Julia can be accessed by loading the module file as follows:<\/p>\n<pre>\r\nmodule load apps\/binapps\/julia\/1.2.0\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>To run julia simply run:<\/p>\n<pre>\r\njulia\r\n<\/pre>\n<p>You will then be presented with an interactive julia prompt:<\/p>\n<pre>\r\njulia&gt;\r\njulia&gt; sin(pi\/2)\r\n1.0\r\n<\/pre>\n<p>You can switch to shell mode by pressing the <code>;<\/code> key, where you can run standard shell commands:<\/p>\n<pre>\r\nshell&gt; pwd\r\n\/mnt\/iusers01\/<em>xy01<\/em>\/<em>username<\/em>\r\n<\/pre>\n<p>Once you have run the shell command, or simply pressed <code>Return (or Enter)<\/code>, you are immediately returned to the julia prompt.<\/p>\n<p>To run a script in julia:<\/p>\n<pre>\r\njulia <em>myscript.jl<\/em>\r\n<\/pre>\n<p>Multi-core julia can be run using<\/p>\n<pre>\r\njulia -p <em>NUMCORES<\/em> <em>myscript.jl<\/em>\r\n<\/pre>\n<p>You can read the &#8216;man&#8217; page using:<\/p>\n<pre>\r\nman julia\r\n<\/pre>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/julialang.org\">Julia website<\/a><\/li>\n<\/ul>\n<ul>\n<li><a href=\"https:\/\/docs.julialang.org\/en\/v1\/index.html\">Julia documentation<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Julia is a high-level, high-performance dynamic language for technical computing. Version 1.2.0 is installed on the iCSF. Set up procedure Julia can be accessed by loading the module file as follows: module load apps\/binapps\/julia\/1.2.0 Running the application To run julia simply run: julia You will then be presented with an interactive julia prompt: julia&gt; julia&gt; sin(pi\/2) 1.0 You can switch to shell mode by pressing the ; key, where you can run standard shell.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/software\/applications\/julia\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":43,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-1016","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1016","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/comments?post=1016"}],"version-history":[{"count":1,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1016\/revisions"}],"predecessor-version":[{"id":1017,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/1016\/revisions\/1017"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/pages\/43"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/icsf\/wp-json\/wp\/v2\/media?parent=1016"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}