{"id":767,"date":"2018-11-07T10:58:27","date_gmt":"2018-11-07T10:58:27","guid":{"rendered":"http:\/\/ri.itservices.manchester.ac.uk\/csf3\/?page_id=767"},"modified":"2025-06-19T18:11:43","modified_gmt":"2025-06-19T17:11:43","slug":"ls-dyna","status":"publish","type":"page","link":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/ls-dyna\/","title":{"rendered":"LS-DYNA"},"content":{"rendered":"<h2>Overview<\/h2>\n<p>A general purpose explicit solver from <a href=\"http:\/\/www.ansys.com\/\">ANSYS<\/a>.<\/p>\n<p>LS-DYNA is provided as part of the <a href=\"..\/fluent\">Fluent<\/a> v19.2 &#038; 18.1 installations.<\/p>\n<h2>Restrictions on use<\/h2>\n<p>Only users who have been added to the <code>fluent<\/code> group can run the application. Owing to licence restrictions, only users from the School of MACE can be added to this group. Please <a href=\"\/csf3\/overview\/help\/\">contact us<\/a> to be added to the <code>fluent<\/code> group.<\/p>\n<p>The majority of users are restricted to serial jobs. Those from a specific research group who have purchased parallel licenses need to be added to the <code>lsdyna<\/code> group.<\/p>\n<h2>Set up procedure<\/h2>\n<p>Once you have been added to the fluent group, you will be able to access the executables after issuing the appropriate module command:<\/p>\n<pre>\r\n\r\n# These are provided as part of the Fluent install. The version number indicates the fluent version.\r\nmodule load apps\/binapps\/ls-dyna\/19.2        # Provides LS-DYNA R10.1.0 SMP ingle-precision\r\nmodule load apps\/binapps\/ls-dyna\/18.1        # Provides LS-DYNA R8.1.0 SMP single-precision\r\n<\/pre>\n<h2>Running the application<\/h2>\n<p>Please do not run LS-DYNA on the login nodes. All computational work must be submitted to the batch system.<\/p>\n<p>Please note that there are a VERY limited number of license tokens for this software. You MUST include a license check in your jobscript to ensure that if licenses are not available when the job tries to start it automatically re-queues (wihtout this your job will fail if there are not enough license tokens). <\/p>\n<p>Due to the limited number of license tokens queue waiting times may be much longer than for other types of work on the CSF. <\/p>\n<h3>Serial batch job submission<\/h3>\n<pre class=\"slurm\">\r\n#!\/bin\/bash --login\r\n#SBATCH -p serial      # (or --partition=) Run a serial (1-core) job\r\n#SBATCH -t 4-0         # Wallclock limit (4-0 is 4 days, max permitted is 7-0)               \r\n\r\n# Load the software\r\nmodule purge\r\nmodule load apps\/binapps\/ls-dyna\/18.1\r\n\r\n## Check that enough licenses are available and if not requeue (Rq) the job.\r\n. $LSDYNA_HOME\/lsdyna-liccheck.sh\r\n\r\nlsdyna i=myinputfile<\/pre>\n<p>replacing <code>myinputfile<\/code> with the name of your input file.<\/p>\n<p>Then submit the job with the command: <code>qsub scriptname<\/code><\/p>\n<p>where <code>scriptname<\/code> is the name of your batch script.<\/p>\n<h3>Parallel batch job submission<\/h3>\n<p>ONLY FOR USERS WHO HAVE PAID FOR PARALLEL LICENSES.<\/p>\n<p>You must have your own licenses (hosted centrally by IT Services) and then you also need to be added to the <code>lsdyna<\/code> group on the CSF to run parallel work.<\/p>\n<pre>\r\n#!\/bin\/bash --login\r\n#### Chose ONE of the following partitions\r\n#SBATCH -p multicore        # (or --partition=) Run on the 168-core AMD Genoa nodes\r\n### OR ###\r\n#SBATCH -p multicore_small  # (or --partition=) Run on the 32-core Intel nodes\r\n\r\n#SBATCH -n 7                # (or --ntasks=) Number of cores\r\n#SBATCH -t 4-0              # Wallclock limit (4-0 is 4 days, max permitted is 7-0)   \r\n\r\nmodule purge\r\nmodule load apps\/binapps\/ls-dyna\/18.1\r\n\r\n## Check that enough licenses are available and if not requeue (Rq) the job.\r\n\r\n. $LSDYNA_HOME\/lsdyna-liccheck.sh\r\n\r\nlsdyna i=<em>myinputfile<\/em> ncpus=$SLURM_NTASKS\r\n<\/pre>\n<p>replacing <code><em>myinputfile<\/em><\/code> with the name of your input file. <code>$SLURM_NTASKS<\/code> will automatically get set to the number you put on the <code>smp.pe<\/code> line.<\/p>\n<p>Then submit the job with the command: <code>qsub scriptname<\/code><\/p>\n<p>where <code>scriptname<\/code> is the name of your batch script.<\/p>\n<h3>Important notes about parallel jobs<\/h3>\n<ul>\n<li>The maximum job size is 7. <\/li>\n<li>If one 7 core job is running it will use all the parallel licenses. Other parallel jobs will queue until enough licenses are available. Please bear in mind that the runtime limit for jobs is 7 days.<\/li>\n<li>Please be kind to your colleagues &#8211; do not queue up lots of parallel work.<\/li>\n<li>If parallel licenses are in use on PCs on campus then parallel jobs on the CSF may queue until enough licenses become available.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Overview A general purpose explicit solver from ANSYS. LS-DYNA is provided as part of the Fluent v19.2 &#038; 18.1 installations. Restrictions on use Only users who have been added to the fluent group can run the application. Owing to licence restrictions, only users from the School of MACE can be added to this group. Please contact us to be added to the fluent group. The majority of users are restricted to serial jobs. Those from.. <a href=\"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/software\/applications\/ls-dyna\/\">Read more &raquo;<\/a><\/p>\n","protected":false},"author":7,"featured_media":0,"parent":86,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-767","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/767","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/comments?post=767"}],"version-history":[{"count":13,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/767\/revisions"}],"predecessor-version":[{"id":10415,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/767\/revisions\/10415"}],"up":[{"embeddable":true,"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/pages\/86"}],"wp:attachment":[{"href":"https:\/\/ri.itservices.manchester.ac.uk\/csf3\/wp-json\/wp\/v2\/media?parent=767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}