Runing multiple instances of Ansys Mechanical ...
Runing multiple instances of Ansys Mechanical ...
(OP)
Dear experts,
I need to speed up the solution of a large list of Ansys Mechanical (14.5) jobs, typically more than 50000. Such analyses are performed by a perl script that runs each job in batch mode. Since my system size is small and the typical execution time of the jobs is between 1 and 10 seconds, the speedups attained by varying the number of processors from 1 to 4 with the "-np" option is very small, i.e. 10-20% only. As a workaround I tried to split the job list in two and run each part in different terminals, but unfortunately Ansys crashes.
Is it possible to run several instances of Ansys Mechanical in Windows or Linux at the same time? How?
This is the command I use for Windows, is it ok?
##> "<MY_ANSYS_PATH>\ansys145.exe" -p ansys -dir <MY_WORK_DIRECTORY> -j [JOB_NAME] -s noread -l en-us -b nolist -np 2 -i <INPUT_FILE> -o <OUTPUT_FILE>
Thanks a lot!
I need to speed up the solution of a large list of Ansys Mechanical (14.5) jobs, typically more than 50000. Such analyses are performed by a perl script that runs each job in batch mode. Since my system size is small and the typical execution time of the jobs is between 1 and 10 seconds, the speedups attained by varying the number of processors from 1 to 4 with the "-np" option is very small, i.e. 10-20% only. As a workaround I tried to split the job list in two and run each part in different terminals, but unfortunately Ansys crashes.
Is it possible to run several instances of Ansys Mechanical in Windows or Linux at the same time? How?
This is the command I use for Windows, is it ok?
##> "<MY_ANSYS_PATH>\ansys145.exe" -p ansys -dir <MY_WORK_DIRECTORY> -j [JOB_NAME] -s noread -l en-us -b nolist -np 2 -i <INPUT_FILE> -o <OUTPUT_FILE>
Thanks a lot!





RE: Runing multiple instances of Ansys Mechanical ...
These were the new commands tested:
command_A#> "<MY_ANSYS_PATH>\ANSYS145.exe" -p ansys -dir "<WORK_DIR_A>" -j job_A -s noread -l en-us -b nolist -np 1 -m 512 -db 256 -i my_job_A.txt -o my_job_A.out
commandB#> "<MY_ANSYS_PATH>\ANSYS145.exe" -p ansys -dir "<WORK_DIR_B>" -j job_B -s noread -l en-us -b nolist -np 1 -m 512 -db 256 -i my_job_B.txt -o my_job_B.out
Any suggestion? I really don´t know what to do next... Thanks!
RE: Runing multiple instances of Ansys Mechanical ...
The problem was that I made a mistake: both input files (my_job_A.txt and my_job_B.txt) used the same working directory. There was a CWD ansys command in the input files that overrode the "-dir" option of the input command at some point and caused an input/output error, wich was evidenced in .err file. This was the ansys command: /CWD,'<C:<SOME_DIRECTORY_NAME>\test\ansys1'
Thanks a lot anyways!