


{"id":395970,"date":"2024-12-02T15:04:14","date_gmt":"2024-12-02T15:04:14","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unable-to-run-lsrun-on-hpc-cluster\/"},"modified":"2024-12-02T15:04:14","modified_gmt":"2024-12-02T15:04:14","slug":"unable-to-run-lsrun-on-hpc-cluster","status":"publish","type":"topic","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/topic\/unable-to-run-lsrun-on-hpc-cluster\/","title":{"rendered":"Unable to run lsrun on HPC cluster"},"content":{"rendered":"<p>&lt;div&gt;HI,&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;I am trying to perform simulation of my .k file in HPC cluster. my .k file has a total of 240952 elements. And i have following softwares available in my HPC.&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;ansyscl&lt;\/div&gt;&lt;div&gt;easybuild&lt;\/div&gt;&lt;div&gt;libmppdyna_d__avx2_ifort190_intelmpi.so&lt;\/div&gt;&lt;div&gt;libmppdyna_s__avx2_ifort190_intelmpi.so&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_d_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018.l2a&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_d_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018_sharelib&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_d_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018_sharelib.tgz&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_s_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018.l2a&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_s_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018_sharelib&lt;\/div&gt;&lt;div&gt;ls-dyna_mpp_s_R14_1_0_x64_centos79_ifort190_avx2_intelmpi-2018_sharelib.tgz&lt;\/div&gt;&lt;div&gt;ls-dyna_smp_d_R14_1_0_x64_centos79_ifort190_sse2&lt;\/div&gt;&lt;div&gt;ls-dyna_smp_d_R14_1_0_x64_centos79_ifort190_sse2.l2a&lt;\/div&gt;&lt;div&gt;ls-dyna_smp_d_R14_1_0_x64_centos79_ifort190_sse2.tgz&lt;\/div&gt;&lt;div&gt;ls-dyna_smp_s_R14_1_0_x64_centos79_ifort190_sse2&lt;\/div&gt;&lt;div&gt;ls-dyna_smp_s_R14_1_0_x64_centos79_ifort190_sse2.l2a&lt;\/div&gt;&lt;div&gt;mpp-dyna&lt;\/div&gt;&lt;div&gt;mpp-dyna-d&lt;\/div&gt;&lt;div&gt;mpp-dyna-s&lt;\/div&gt;&lt;div&gt;smp-dyna&lt;\/div&gt;&lt;div&gt;smp-dyna-d&lt;\/div&gt;&lt;div&gt;smp-dyna-s&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;I am trying to submit a sbatch job like in the manner in the command line,&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;#!\/bin\/bash&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;time=01:00:00&nbsp; &nbsp; &nbsp; &nbsp;# walltime&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;nodes=1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;# use 1 node&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;ntasks=32&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # number of processor cores (i.e. tasks)&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;mem-per-cpu=4000M&nbsp; &nbsp;# memory per CPU core&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;output=output.log&lt;\/div&gt;&lt;div&gt;#SBATCH &#8211;error=error.log&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;module load GCC\/13.2.0 OpenMPI\/4.1.6 intel-compilers\/2023.2.1 impi\/2021.10.0 Python\/3.11.5 SciPy-bundle\/2023.11 matplotlib\/3.8.2 LS-DYNA\/14.1.0&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;export I_MPI_PIN_DOMAIN=core&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;srun mpp-dyna i=\/home\/pro\/main.k memory=120000000&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;but with the above settings with ntasks =32, i have got a status.out file stating it will take 285hrs to complete. If i take only 1 node and like 60 tasks, it saying simulation will complete in 206 hrs. If i take the value of nodes, more than 2, after sometime, the simulation is getting struck but i am not getting any errors #no errors. (more nodes, more tasks, simulation is getting struck) at a message. i have tried a lot with different settings and different options, but i couldnt find the right tuning parameters for fast simulation.&nbsp; &nbsp; &nbsp; &nbsp;sometimes my d3hsp file is struck at&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;S t o r a g e&nbsp; &nbsp;a l l o c a t i o n&nbsp; &nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;Memory required to begin solution (memory=&nbsp; &nbsp;5235K memory2=&nbsp; &nbsp;2850K)&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Minimum&nbsp; &nbsp;2425K on processor&nbsp; &nbsp; 31&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maximum&nbsp; &nbsp;2850K on processor&nbsp; &nbsp; 24&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Average&nbsp; &nbsp;2495K&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;Matrix Assembly dynamically allocated memory&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maximum&nbsp; &nbsp; &nbsp;88M&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;Additional dynamically allocated memory&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Minimum&nbsp; &nbsp; &nbsp;26M on processor&nbsp; &nbsp; 31&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maximum&nbsp; &nbsp; &nbsp;42M on processor&nbsp; &nbsp; &nbsp;0&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Average&nbsp; &nbsp; &nbsp;28M&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;Total allocated memory&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Minimum&nbsp; &nbsp; 116M on processor&nbsp; &nbsp; 31&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Maximum&nbsp; &nbsp; 132M on processor&nbsp; &nbsp; &nbsp;0&lt;\/div&gt;&lt;div&gt;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Average&nbsp; &nbsp; 117M&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;After the above info&lt;\/div&gt;&lt;div&gt;&nbsp;*********************************&lt;\/div&gt;&lt;div&gt;THE ELECTROMAGNETISM SOLVER IS ON&lt;\/div&gt;&lt;div&gt;*********************************&nbsp; &nbsp; &nbsp; &nbsp;this has to start , but its failing to start&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;<img decoding=\"async\" src=\"https:\/\/innovationspace.ansys.com\/forum\/wp-content\/uploads\/sites\/2\/2024\/12\/02-12-2024-1733151749-Screenshot 2024-12-02 143242.png\" alt=\"\" \/>&lt;\/div&gt;&lt;div&gt;&nbsp;&lt;\/div&gt;&lt;div&gt;can you please help me with this?&lt;\/div&gt;<\/p>\n","protected":false},"template":"","class_list":["post-395970","topic","type-topic","status-publish","hentry","topic-tag-LS-DYNAruntime-1","topic-tag-electromagnetism-2","topic-tag-hpc","topic-tag-mpp"],"aioseo_notices":[],"acf":[],"custom_fields":[{"0":{"_bbp_forum_id":["27796"],"_bbp_topic_id":["395970"],"_bbp_subscription":["475646","13694"],"_bbp_author_ip":["141.76.183.79"],"_bbp_reply_count":["5"],"_bbp_reply_count_hidden":["0"],"_bbp_voice_count":["2"],"_bbp_engagement":["475646","13694"],"_btv_view_count":["328"],"_bbp_topic_status":["unanswered"],"_bbp_last_reply_id":["403221"],"_bbp_last_active_id":["403221"],"_bbp_last_active_time":["2025-01-02 10:57:15"]},"test":"rajesh-pamarthi2711gmail-com"}],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/topics\/395970","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\/395970\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=395970"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}