{"id":3373,"date":"2019-06-11T11:47:18","date_gmt":"2019-06-11T10:47:18","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=3373"},"modified":"2019-06-11T12:23:06","modified_gmt":"2019-06-11T11:23:06","slug":"mumax","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/mumax\/","title":{"rendered":"mumax"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/mumax.github.io\">Mumax<\/a> is a GPU-accelerated micromagnetic simulation program developed at the <a href=\"http:\/\/dynamat.ugent.be\/\">DyNaMat<\/a> group of Prof. Van Waeyenberge at Ghent University. The code is written and maintained by Arne Vansteenkiste.<\/p>\n<p>Version 3.10beta is installed on the CSF.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>There are no restrictions on accessing the software on the CSF. It is released under the <a href=\"https:\/\/www.gnu.org\/licenses\/gpl-3.0.en.html\">GPL v3 License<\/a> and all usage should adhere to that license.<\/p>\n<p>All users are requested to cite their use of Mumax in any publications that arise from that usage: <a href=\"http:\/\/scitation.aip.org\/content\/aip\/journal\/adva\/4\/10\/10.1063\/1.4899186\">&#8220;The design and verification of mumax3&#8221;, AIP Advances 4, 107133 (2014).<\/a><\/p>\n<h2>Set up procedure<\/h2>\n<p>We now recommend loading modulefiles within your jobscript so that you have a full record of how the job was run. See the example jobscript below for how to do this. Alternatively, you may load modulefiles on the login node and let the job <abbr title=\"add '#$ -V' to your jobscript\">inherit these settings<\/abbr>.<\/p>\n<p>Load one of the following modulefiles:<\/p>\n<pre>\r\nmodule load apps\/binapps\/mumax\/3.10beta\r\n<\/pre>\n<p>The modulefile will automatically load the required CUDA modulefile for you.<\/p>\n<p>The following programs are available:<\/p>\n<pre>\r\nmumax3  mumax3-convert  mumax3-httpfsd  mumax3-plot  mumax3-script  mumax3-server\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run mumax on the login node. Jobs should be submitted to the GPU nodes via batch. Note that there is no need to specify a particular GPU id on the mumax command-line. Your job will be assigned a specific GPU and the software will automatically use that GPU.<\/p>\n<h3>GPU batch job submission<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#$ -cwd             # Job will run from the current directory\r\n                    # NO -V line - we load modulefiles in the jobscript\r\n#$ -l v100=1        # Use a single GPU\r\n#$ -pe smp.pe 8     # (Optional line) Use up to 8 CPU cores per GPU.\r\n\r\n# We now recommend loading the modulefile in the jobscript (use your required version)\r\nmodule load apps\/binapps\/mumax\/3.10beta\r\n\r\nmumax3 <em>my_simulation<\/em>.mx3\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>qsub <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h3>Post-processing<\/h3>\n<p>The job will create an output directory named <code><em>my_simulation<\/em>.out<\/code>. In there you will find various output files including the <code>.ovf<\/code> file generated by mumax3. You can can convert these to images, such as PNG images, using:<\/p>\n<pre>\r\nmumax3-convert -png <em>m000000.ovf<\/em>\r\n  #\r\n  # Will write out: m000000.png\r\n<\/pre>\n<p>See the <a href=\"https:\/\/godoc.org\/github.com\/mumax\/3\/cmd\/mumax3-convert\">mumax3-convert online documentation<\/a> for more information.<\/p>\n<p>To plot the values in the generated <code>table.txt<\/code> file you should do the following to use the <code>mumax3-plot<\/code> utility:<\/p>\n<pre>\r\nmodule load apps\/dpsf apps\/gnuplot\/5.0.2\r\nmumax3-plot table.txt\r\n  #\r\n  # Will write out: m.svg\r\n<\/pre>\n<p>See the <a href=\"https:\/\/godoc.org\/github.com\/mumax\/3\/cmd\/mumax3-pl\">mumax3-plot online documentation<\/a> for more information.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/mumax.github.io\/index.html\">Mumax website<\/a><\/li>\n<\/ul>\n<h2>Updates<\/h2>\n<p>None.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Overview Mumax is a GPU-accelerated micromagnetic simulation program developed at the DyNaMat group of Prof. Van Waeyenberge at Ghent University. The code is written and maintained by Arne Vansteenkiste. Version 3.10beta is installed on the CSF. Restrictions on use There are no restrictions on accessing the software on the CSF. It is released under the GPL v3 License and all usage should adhere to that license. All users are requested to cite their use of.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/mumax\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3373","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/3373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=3373"}],"version-history":[{"count":6,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/3373\/revisions"}],"predecessor-version":[{"id":3382,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/3373\/revisions\/3382"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=3373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}