Running LS-DYNA with multiple CPUs

718 views
Skip to first unread message

Fahed Salahat

unread,
Feb 8, 2022, 3:22:33 PM2/8/22
to ls-d...@googlegroups.com
Hello,
I am conducting a parametric study composed of 15 simulations, I am  running LS-DYNA on a server containing 52 CPUs, I did submit a simulation with different NCPU to see the optimum NCPU for my simulation as in the table below. Therefore, I decided to go with NCPU=2 and submit the 15 simulations at once, but the estimated clock time came out to be about  600 hrs! 
Am I doing something wrong? Please advise!

NCPU Estimated Clock Time (hrs)
48 129
32 126
16 111
8 112
4 119
2 128

Regards
Fahed

James M. Kennedy

unread,
Feb 8, 2022, 4:04:49 PM2/8/22
to Fahed Salahat, ls-d...@googlegroups.com

Dear Fahed,

 

See if this is of some help.


Locate the old "Command Prompt" window utility using Start/All Programs/Accessories/

Command Prompt on your PC where you can run jobs.bat (a simple text file).

Example of command prompt syntax for a single job:

d:\ls-dyna971\program\ls971_s_nsmp i=bw.dyn o=bw.otf memory=10000000

plus an example for several (run sequentially) jobs (or a single job) in a file named 'jobs.bat':

********
jobs.bat
********
cd d:\e_a_s\n_c_fail\v94
d:\ls-dyna971\program\ls971_s_smp i=ss_51.k o=ss_51.otf ncpu=2
cd d:\e_a_s\n_c_fail\v94_o
d:\ls-dyna971\program\ls971_s_smp i=ss_52.k o=ss_52.otf ncpu=2
cd d:\e_a_s\n_c_fail\v94_p
d:\ls-dyna971\program\ls971_s_smp i=ss_53.k o=ss_53.otf ncpu=2
cd d:\e_a_s\n_c_fail\v95
d:\ls-dyna971\program\ls971_s_smp i=ss_51.k o=ss_51.otf ncpu=2
cd d:\e_a_s\n_c_fail\v95_o
d:\ls-dyna971\program\ls971_s_smp i=ss_52.k o=ss_52.otf ncpu=2

The jobs should run sequentially with a designated output file (*.otf) for each run that

should allow you to investigate any issues.

"cd" is change directory.

"d" is the double precision release, while "s" is single precision.

"i" is the input file, "o" is the output file, "ncpu" is the number
of cpus.

------------------------------------------------

I suggest that you read the Execution Syntax described on page 2-13 of the LS-DYNA

User's Manual. A number of examples are provided in that section..

http://ftp.lstc.com/anonymous/outgoing/jday/manuals/DRAFT_Vol_I.pdf

------------------------------------------------


Sincerely,
James M. Kennedy
KBS2 Inc.
February 8, 2022

--
You received this message because you are subscribed to the Google Groups "LS-DYNA2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ls-dyna2+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ls-dyna2/CAKpgNRmO1UtRSm4PMoQLnjEWTQ5DE2qMzrNybcfr2FMsz%3DYG9A%40mail.gmail.com.

Reply all
Reply to author
Forward
0 new messages