


{"id":393543,"date":"2024-11-11T09:18:14","date_gmt":"2024-11-11T09:18:14","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/"},"modified":"2024-11-11T09:18:14","modified_gmt":"2024-11-11T09:18:14","slug":"distribute-ram-on-linux-cluster","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/","title":{"rendered":"Distribute RAM on linux cluster"},"content":{"rendered":"<p>&lt;p&gt;Good morning,&lt;\/p&gt;&lt;p&gt;I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to the free nodes and the job starts. I have the possibility to choose the number of cores and the distribution of cores among nodes. Eg: I can choose to run a job on 30 cores belonging to a single node OR to run a job on 30 cores distrubuted on 3 computing nodes (10 cores for each node). With the second option I should have more available RAM, since each computing node has his own ram (about 250 GB). However, what I see is that when I run my job the largest part of the RAM is allocated to a single node (and not divided between the three nodes). So, the mesh generation fails with an &#8220;out of memory&#8221; error.&lt;\/p&gt;&lt;p&gt;Is there a string to allocate better the RAM and distribute it on different computing nodes? Is there a way to do that from a command line?&lt;\/p&gt;&lt;p&gt;Following, my job-submission file&lt;\/p&gt;&lt;div&gt;#!\/bin.bash # use bash as command interpreter&lt;\/div&gt;&lt;div&gt;#$ -cwd&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# currentWorkingDirectory&lt;\/div&gt;&lt;div&gt;#$ -N HCT_mesh&nbsp; &nbsp; &nbsp; &nbsp; # jobName&lt;\/div&gt;&lt;div&gt;#$ -j y&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# merges output and errors&lt;\/div&gt;&lt;div&gt;#$ -S \/bin\/bash&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# scripting language&lt;\/div&gt;&lt;div&gt;#$ -l h_rt=168:00:00&nbsp; &nbsp; # jobDuration hh:mm:ss&lt;\/div&gt;&lt;div&gt;#$ -q nmec.q&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # queueName&lt;\/div&gt;&lt;div&gt;#$ -pe mpi_10 30&nbsp; &nbsp; &nbsp; &nbsp; # cpuNumber&lt;\/div&gt;&lt;div&gt;#________________________________________________________&lt;\/div&gt;&lt;div&gt;\/software\/ansys2023R2\/v232\/fluent\/bin\/fluent 3ddp -t30&nbsp; -meshing -cnf=machinefile.$JOB_ID -g &lt; inputfile.txt &gt; outputfile.txt&nbsp;&lt;\/div&gt;&lt;div&gt;echo End Parallel Run&lt;\/div&gt;&lt;p&gt;Thank you very much&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;&lt;p&gt;Andrea&nbsp;&lt;\/p&gt;&lt;p&gt;&nbsp;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-393543","topic","type-topic","status-publish","hentry","topic-tag-mesh","topic-tag-meshing"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Ansys Learning Forum | Ansys Innovation Space\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Distribute RAM on linux cluster | Ansys Learning Forum\" \/>\n\t\t<meta property=\"og:description\" content=\"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2024-11-11T09:18:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2024-11-11T09:18:14+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Distribute RAM on linux cluster | Ansys Learning Forum\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mesh\\\/#listItem\",\"name\":\"mesh\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mesh\\\/#listItem\",\"position\":3,\"name\":\"mesh\",\"item\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mesh\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/#listItem\",\"name\":\"Distribute RAM on linux cluster\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/topics\\\/#listItem\",\"name\":\"Topics\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/#listItem\",\"position\":4,\"name\":\"Distribute RAM on linux cluster\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic-tag\\\/mesh\\\/#listItem\",\"name\":\"mesh\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/#webpage\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/\",\"name\":\"Distribute RAM on linux cluster | Ansys Learning Forum\",\"description\":\"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/forums\\\/topic\\\/distribute-ram-on-linux-cluster\\\/#breadcrumblist\"},\"datePublished\":\"2024-11-11T09:18:14+00:00\",\"dateModified\":\"2024-11-11T09:18:14+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#website\",\"url\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/\",\"name\":\"Ansys Learning Forum\",\"description\":\"Ansys Innovation Space\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/innovationspace.ansys.com\\\/forum\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Distribute RAM on linux cluster | Ansys Learning Forum","description":"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to","canonical_url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","position":1,"name":"Home","item":"https:\/\/innovationspace.ansys.com\/forum","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","position":2,"name":"Topics","item":"https:\/\/innovationspace.ansys.com\/forum\/topics\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/#listItem","name":"mesh"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/#listItem","position":3,"name":"mesh","item":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/","nextItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/#listItem","name":"Distribute RAM on linux cluster"},"previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/topics\/#listItem","name":"Topics"}},{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/#listItem","position":4,"name":"Distribute RAM on linux cluster","previousItem":{"@type":"ListItem","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/#listItem","name":"mesh"}}]},{"@type":"Organization","@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization","name":"Ansys Learning Forum","description":"Ansys Innovation Space","url":"https:\/\/innovationspace.ansys.com\/forum\/"},{"@type":"WebPage","@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/#webpage","url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/","name":"Distribute RAM on linux cluster | Ansys Learning Forum","description":"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#website"},"breadcrumb":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/#breadcrumblist"},"datePublished":"2024-11-11T09:18:14+00:00","dateModified":"2024-11-11T09:18:14+00:00"},{"@type":"WebSite","@id":"https:\/\/innovationspace.ansys.com\/forum\/#website","url":"https:\/\/innovationspace.ansys.com\/forum\/","name":"Ansys Learning Forum","description":"Ansys Innovation Space","inLanguage":"en-US","publisher":{"@id":"https:\/\/innovationspace.ansys.com\/forum\/#organization"}}]},"og:locale":"en_US","og:site_name":"Ansys Learning Forum | Ansys Innovation Space","og:type":"article","og:title":"Distribute RAM on linux cluster | Ansys Learning Forum","og:description":"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to","og:url":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/","article:published_time":"2024-11-11T09:18:14+00:00","article:modified_time":"2024-11-11T09:18:14+00:00","twitter:card":"summary_large_image","twitter:title":"Distribute RAM on linux cluster | Ansys Learning Forum","twitter:description":"Good morning,I have to generate a big mesh (370 million elements) on fluent meshing. I can launch the mesh generation on a remote linux Cluster. The cluster has several computing nodes, each of which has certain number of cores and a certain RAM. When I submit my job, a queue manager assign my job to"},"aioseo_meta_data":{"post_id":"393543","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2025-10-19 09:02:20","updated":"2025-10-19 09:02:20","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/topics\/\" title=\"Topics\">Topics<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/\" title=\"mesh\">mesh<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tDistribute RAM on linux cluster\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/innovationspace.ansys.com\/forum"},{"label":"Topics","link":"https:\/\/innovationspace.ansys.com\/forum\/topics\/"},{"label":"mesh","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic-tag\/mesh\/"},{"label":"Distribute RAM on linux cluster","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/distribute-ram-on-linux-cluster\/"}],"acf":[],"custom_fields":[{"0":{"_bbp_subscription":["302570","13659"],"_bbp_author_ip":["131.175.177.193"],"_btv_view_count":["175"],"_bbp_topic_status":["unanswered"],"_bbp_topic_id":["393543"],"_bbp_forum_id":["27792"],"_bbp_engagement":["13659","302570"],"_bbp_voice_count":["2"],"_bbp_reply_count":["1"],"_bbp_last_reply_id":["393883"],"_bbp_last_active_id":["393883"],"_bbp_last_active_time":["2024-11-12 18:24:01"]},"test":"andrea-rivapolimi-it"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/393543","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/393543\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=393543"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}