{"id":937,"date":"2023-01-24T08:43:53","date_gmt":"2023-01-24T08:43:53","guid":{"rendered":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/?page_id=937"},"modified":"2023-01-24T17:22:36","modified_gmt":"2023-01-24T17:22:36","slug":"code_saturne-v5-0-9","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/code_saturne\/code_saturne-v5-0-9\/","title":{"rendered":"Code_Saturne v5.0.13"},"content":{"rendered":"<h2>Running the application<\/h2>\n<p>Code_Saturne v5.0.13 can be used after executing on the login node:<\/p>\n<pre>\r\nmodule load code_saturne\/5.0.13-iomkl-2020.02-Python-3.8.2\r\n<\/pre>\n<p>Similarly if you want to launch the GUI from the DATA directory, you should type:<\/p>\n<pre>\r\n.\/SaturneGUI\r\n<\/pre>\n<p>Note: You need to ensure you have connected to CSF4 with X-forwarding enabled (e.g. ssh -X). For more information on how to do this please see the <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/getting-started\/connecting\/\">Logging in<\/a> documentation.<\/p>\n<p>Once you have set up your study\/case file structure, you will need to edit the \u201cruncase\u201d file for submission to the queue. Follow the instructions for using <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/batch\/parallel-jobs\">Slurm on CSF4<\/a> as to what flags you should use.<\/p>\n<pre>\r\n# Add these flags to the runcase file near the top of the file\r\n#SBATCH -p multicore       # A single node (multicore) job\r\n#SBATCH -n 40              # for up to 40\r\n<\/pre>\n<p>or<\/p>\n<pre>\r\n# Add these flags to the runase file near the top of the file\r\n#SBATCH -p multinode       # A multinode job\r\n#SBATCH -n 80              # for 80 to 200 cores in multiples of 40\r\n<\/pre>\n<p>After editing the \u201cruncase\u201d you can submit it by typing:<\/p>\n<pre>\r\nsbatch runcase\r\n<\/pre>\n<p>Note: It is highly recommended that if you are using any user subroutine, do a test compilation before submitting by typing:<\/p>\n<pre>\r\ncode_saturne compile\r\n<\/pre>\n<p>in the SRC directory of your case.<\/p>\n<h2>Further info<\/h2>\n<p><strong>NB:<\/strong> Moving from CSF3 to CSF4:<\/p>\n<p>If you want to submit a job created on CSF3 to the batch system on CSF4, then you must add the relevant SBATCH options, as detailed in the instructions for using <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/batch\/parallel-jobs\">Slurm on CSF4<\/a>. You must also update the PATH variable in the \u201cruncase\u201d file to point to the new installation depending on the version you want to use. To find the location use the <code>module show<\/code> command, for example:<\/p>\n<pre>\r\nmodule load code_saturne\/5.0.13-iomkl-2020.02-Python-3.8.2\r\n<\/pre>\n<p>Similarly if you want to launch the GUI from the DATA directory you should edit the \u201cSaturneGUI\u201d script and update the PATH.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Running the application Code_Saturne v5.0.13 can be used after executing on the login node: module load code_saturne\/5.0.13-iomkl-2020.02-Python-3.8.2 Similarly if you want to launch the GUI from the DATA directory, you should type: .\/SaturneGUI Note: You need to ensure you have connected to CSF4 with X-forwarding enabled (e.g. ssh -X). For more information on how to do this please see the Logging in documentation. Once you have set up your study\/case file structure, you will need.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/software\/applications\/code_saturne\/code_saturne-v5-0-9\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":597,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-937","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/937","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/comments?post=937"}],"version-history":[{"count":7,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/937\/revisions"}],"predecessor-version":[{"id":973,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/937\/revisions\/973"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/pages\/597"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf4\/wp-json\/wp\/v2\/media?parent=937"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}