


{"id":428650,"date":"2025-04-11T11:24:04","date_gmt":"2025-04-11T11:24:04","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/job-submission-on-hpc-using-gpu\/"},"modified":"2025-04-11T11:24:04","modified_gmt":"2025-04-11T11:24:04","slug":"job-submission-on-hpc-using-gpu","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/job-submission-on-hpc-using-gpu\/","title":{"rendered":"JOB submission on HPC using GPU"},"content":{"rendered":"<p>&lt;p&gt;Hi,&nbsp;&lt;\/p&gt;&lt;p&gt;I am trying to run one of my fluent cases using GPU on our institute HPC server.&nbsp;&lt;\/p&gt;&lt;p&gt;I do submit my jobs using SLURM job scheduler on normal HPC system.&lt;\/p&gt;&lt;p&gt;I just wanted to know what are all the necessary changes has to be made in job scheduler file to run it on GPU.&nbsp;&lt;\/p&gt;&lt;p&gt;This is the sample HPC job scheduler file-&nbsp;&lt;\/p&gt;&lt;p&gt;&#8221;&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;SLURM FILE&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#!\/bin\/bash&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;job-name=DiscCounter &nbsp; &nbsp; # Job name&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;nodes=1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Run all processes on a single node&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;ntasks=16&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Run a single task&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;ntasks-per-node=16 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Number of CPU cores per task&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;mem=32gb&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Total memory limit&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;time=12:00:00&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Time limit hrs:min:sec&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;partition=test &nbsp; # Queue size small\/medium\/large&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;#SBATCH &#8211;output=first_%j.log &nbsp; &nbsp; # Standard output and error log&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;date;hostname;pwd&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;module load icc\/2023.1.0 mpi\/2021.9.0<strong>&lt;br&gt;<\/strong>&lt;\/p&gt;&lt;p dir=&#8221;ltr&#8221;&gt;\/scratch\/apps\/packages\/ansys\/ansys_2024\/v241\/fluent\/bin\/fluent -g 3ddp -t16 $SBATCH_NTASKS -i transient_journal.jou -ssh -mpi=intel -cnf=$SBATCH_NODEFILE&lt;\/p&gt;&lt;p&gt;&lt;strong id=&#8221;docs-internal-guid-6adb97ca-7fff-f4f4-27a7-686884bb957e&#8221;&gt;<\/strong>&#8220;&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-428650","topic","type-topic","status-publish","hentry","topic-tag-fluent-cfd-ansys-1","topic-tag-fluent"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27792"],"_bbp_topic_id":["428650"],"_bbp_subscription":["273846","157473"],"_bbp_author_ip":["14.139.37.250"],"_bbp_last_reply_id":["429304"],"_bbp_last_active_id":["429304"],"_bbp_last_active_time":["2025-04-17 15:20:40"],"_bbp_reply_count":["1"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["273846","157473"],"_btv_view_count":["166"],"_bbp_topic_status":["unanswered"]},"test":"singh-112iitj-ac-in"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/428650","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\/428650\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=428650"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}