{"id":11739,"date":"2026-01-26T13:39:54","date_gmt":"2026-01-26T13:39:54","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=11739"},"modified":"2026-01-26T13:49:52","modified_gmt":"2026-01-26T13:49:52","slug":"dotnet","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/dotnet\/","title":{"rendered":".NET"},"content":{"rendered":"<h2>Overview<\/h2>\n<p><a href=\"https:\/\/dotnet.microsoft.com\/en-us\/\">.NET<\/a> is a runtime for the C# (c-sharp) language.<\/p>\n<p>The Linux runtime is installed on the CSF as modules:<\/p>\n<pre>\r\nlibs\/dotnet\/3.1                                        \r\nlibs\/dotnet\/6.0                                        \r\nlibs\/dotnet\/7.0                                        \r\nlibs\/dotnet\/8.0                                        \r\nlibs\/dotnet\/10.0\r\n<\/pre>\n<p><a href=\"https:\/\/learn.microsoft.com\/en-us\/lifecycle\/products\/microsoft-net-and-net-core\">Microsoft .NET release history<\/a><\/p>\n<h2>Restrictions on use<\/h2>\n<p>.NET is free, open source, and is a <a href=\"https:\/\/dotnetfoundation.org\/\">.NET Foundation<\/a> project. .NET is maintained by Microsoft and the community on GitHub in <a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/Documentation\/core-repos.md\">several repositories<\/a>.<\/p>\n<p>.NET source and binaries are licensed with the <a href=\"https:\/\/github.com\/dotnet\/runtime\/blob\/main\/LICENSE.TXT\">MIT license<\/a>. Additional <a href=\"https:\/\/github.com\/dotnet\/core\/blob\/main\/license-information-windows.md\">licenses apply on Windows.<\/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 inherit these settings.<\/p>\n<p>Load one of the modules:<\/p>\n<pre>\r\nmodule load libs\/dotnet\/10.0\r\n<\/pre>\n<p>If you don&#8217;t have a specific version requirement, use either the most recent, or pick the version that is comtemporary with the software you are using.<\/p>\n<h2>Running the application<\/h2>\n<p>Please do not run the login node. Jobs should be submitted to the compute nodes via batch.<\/p>\n<h3>Batch job submission<\/h3>\n<p>Create a batch submission script (which will load the modulefile in the jobscript), for example a serial (1 core) job:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p serial     # (or --partition=) Run on the nodes dedicated to 1-core jobs\r\n#SBATCH -t 4-0        # Wallclock time limit. 4-0 is 4 days. Max permitted is 7-0.\r\n\r\n# Start with a clean environment - modules are inherited from the login node by default.\r\nmodule purge\r\nmodule load libs\/dotnet\/10.0\r\n\r\ndotnet EXECUTABLE-NAME\r\n<\/pre>\n<p>If your software is multicore capable:<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#SBATCH -p multicore  # (or --partition=) Run on the AMD 168-core nodes\r\n#SBATCH -n 16         # (or --ntasks=) Number of cores to use.\r\n#SBATCH -t 4-0        # Wallclock time limit. 4-0 is 4 days. Max permitted is 7-0.\r\n\r\n# Start with a clean environment - modules are inherited from the login node by default.\r\nmodule purge\r\nmodule load libs\/dotnet\/10.0\r\n\r\n# you may need to tell the application how many cores to use (-n is an example only)\r\ndotnet EXECUTABLE-NAME -n CORES\r\n<\/pre>\n<p>Submit the jobscript using: <\/p>\n<pre>sbatch <em>scriptname<\/em><\/pre>\n<p>where <em>scriptname<\/em> is the name of your jobscript.<\/p>\n<h2>Further info<\/h2>\n<ul>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/core\/introduction\">.NET core documentation<\/a><\/li>\n<li><a href=\"https:\/\/learn.microsoft.com\/en-us\/dotnet\/\">.NET all documentation<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview .NET is a runtime for the C# (c-sharp) language. The Linux runtime is installed on the CSF as modules: libs\/dotnet\/3.1 libs\/dotnet\/6.0 libs\/dotnet\/7.0 libs\/dotnet\/8.0 libs\/dotnet\/10.0 Microsoft .NET release history Restrictions on use .NET is free, open source, and is a .NET Foundation project. .NET is maintained by Microsoft and the community on GitHub in several repositories. .NET source and binaries are licensed with the MIT license. Additional licenses apply on Windows. Set up procedure We.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/tools\/dotnet\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":25,"featured_media":0,"parent":144,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-11739","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11739","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\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=11739"}],"version-history":[{"count":5,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11739\/revisions"}],"predecessor-version":[{"id":11747,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/11739\/revisions\/11747"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/144"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=11739"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}