April 1, 2020 at 10:45 amTotyaaa05Subscriber
In my thesis I use Ansys for make the structural part of the reliability analysis and i would like to run ansys in batch mode by an other program (Numpress). I was made the external call with the program, but I don't get results at the end of the FORM analysis, therefore I'm starting to debugging and want to run my Ansys code from the MS-DOS command line in batch mode, but I have some trouble to run it.
I used the following inputs for running ansys:
C:Usersmycomputer > d:BMEMSc-Diplomamunka_CalculationsBeam_exampleANSYS195.exe -b -i Beam_example_input_calc-file.txt -o Beam_example_output_calc-file.txt
I got the following message:
application called MPI_Abort(MPI_COMM_WORLD, 100) - process 0
[mpiexec@DESKTOP-FFBKLSE] ..hydrautilssocksock.c (420): write error (Unknown error)
send of 28 bytes failed.
Can anyone help me with this problem?
Thank you in advance.
April 3, 2020 at 3:48 pmRobAnsys Employee
MPI tends to be parallel data transfer, will it run in serial?
April 5, 2020 at 6:43 pmTotyaaa05Subscriber
Yes, it will run in serial, because i run just the ansys without the reliability program.
Did you mean that?
Please let me know, if I misunderstood.
April 16, 2020 at 12:40 pmRobAnsys Employee
Not sure. If you run across one rather than multiple cores does it work?
April 30, 2020 at 10:22 pmTotyaaa05Subscriber
Thanks for your suggestion. I have tried it with using 1 thread and didn't get this error message.
When I run it, I see the Ansys start, but the process is very quick. As I see, the ansys start running, but doesn't solve my analysis. (my output file will not overwrite)
Do you know, how and where can I check, why my script is not running from windows command line?
Do You have any suggestion?
[ In spite of that, if I ran my code from the Launcher in batch mode, everything is working well.]
May 3, 2020 at 1:16 pmTotyaaa05Subscriber
I got error message in my output file, which was the following:
*** ERROR ***
Another ANSYS job with the same job name (file) is already running in this
directory or the file.lock file has not been deleted from an abnormally
terminated ANSYS run. To disable this check, set the ANSYS_LOCK environment
variable to OFF.
I found solution for this problem, if I write the following in the command line, the calculation works good:
Because I want to run Ansys with another program, I don't have opportunity to write the above commands in the command line.
Could I set up these, if I write the correct commands in my input file?
- You must be logged in to reply to this topic.
Simulation World 2022
Check out more than 70 different sessions now available on demand. Get inspired as you hear from visionary companies, leading researchers and educators from around the globe on a variety of topics from life-saving improvements in healthcare, to bold new realities of space travel. Take a leap of certainty and check out a session today here.
Earth Rescue – An Ansys Online Series
The climate crisis is here. But so is the human ingenuity to fight it. Earth Rescue reveals what visionary companies are doing today to engineer radical new ideas in the fight against climate change. Click here to watch the first episode.
Subscribe to the Ansys Blog to get great new content about the power of simulation delivered right to your email on a weekly basis. With content from Ansys experts, partners and customers you will learn about product development advances, thought leadership and trends and tips to better use Ansys tools. Sign up here.
- Changing of font size
- System Coupling
- ansys with matlab
- ANSYS Workbench Mechanical Solver problem after saving
- Error message “Solver pivot warning” due to element birth and death
- 3D ROM in workbench
- ANSYS Direct Optimization
- HARDWARE COMPATIBILITY
- System Coupling
- When I open the Electronic Desktop, Twin Builder auto opens
© 2022 Copyright ANSYS, Inc. All rights reserved.