May 14, 2021 at 4:14 pmamoraSubscriber
I am trying to run different files but I got the attached error. I ran them before without any problems.
ThanksMay 14, 2021 at 5:59 pmGuilin SunAnsys EmployeePlease right-click the error massage and give the screenshot of it. Before doing so, I would suggest that you run a downloaded example and see if you can run it successfully, for example this one: https://support.lumerical.com/hc/en-us/articles/360042703373-Mie-scattering-2D
May 14, 2021 at 6:04 pmamoraSubscriberI ran the file you sent and I got the same error. I have attached the detailed error.
May 14, 2021 at 6:16 pmGuilin SunAnsys EmployeeIt might be due to MPI issue ( Failed to post close command error 1726 ). Do you use Microsoft PML? please change to Inter MPI, Or MPICH2:
I am using remote license. If your license is in local computer, you can choose "local computer". Or you can try different MPI that is good for you.
If simulation worked fine before, you may need to restart your computer; download microsoft updates; or reinstall Lumerical products.
May 14, 2021 at 8:29 pmamoraSubscriberI tired both ''Local computer'' and ''Intel MPI'' and both are working. However, there's a huge difference in the 'Max time remaining' In the 'local computer' the simulation time was 5 hours while Intel MPI the time was only more than one hour. Does the choice affect the accuracy of the results? Also, which one do you recommend please?
May 14, 2021 at 10:16 pmGuilin SunAnsys EmployeeThank you for raising this interesting question. It is better to have a separate post since it is not the topic of this post. But I will reply here.
I would not think that the different MPI can affect the accuracy, except due to a possible bug.
However, the simulation efficiency, or the total cpu time consumed will depend on the MPI algorithm, hardware and the operation system, as well as simulation file, which is complicated. As you can see from the memory check, a simulation file needs different memory for
Initialization and mesh
Monitor data saved to fsp file
Depending on the simulation files, other parameters (the above mentioned) related with the computer doing the simulation will affect the simulation time, for the same simulation file. We have a description on the parallel computing: https://support.lumerical.com/hc/en-us/articles/360026321353-Distributed-computing
However, I could not the original white paper about the distributed computing, except I kept a Chinese post here (Ansys Insight: Õà│õ║ÄFDTD Õ╣ÂÞíîÞ«íþ«ùþÜäµ£ëÕà│Úù«Úóÿ ) . You do not need to read the unknown characters in the posts. but just look at the images. for example this one:
each cube is one sub-volume to be simulated in each node/process, which is from the original whole simulation volume (from simulation boundary to boundary). As you may guess, at each time step, each cube will need to interchange data for the neighbor cubes, and there must be a management node/process to control this. The whole process is controlled by the MPI. Depending on the hardware (data buses, bandiwdth etc), the different MPI may deal with this differently. Therefore it leads to different CPU time. Most of the time the cpu time is about the same, so we do not notice the difference. However, for some devices/simulation files/hardware/OS, such difference can be huge, like the case you have right now.
In summary, it is known "issue", and you may choose one MPI for your computer that gives the fastest simulation. In case you find significant different result, please send us an email or post the result here in the forum so we can have a close look.
This discussion above of course disregards different FDTD codes, which can also differ significantly.
May 17, 2021 at 11:18 amamoraSubscriberThanks for your reply!
Viewing 6 reply threads
Ansys Innovation Space
- 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.Trending discussions
- “Import optical generation” or “delta generation rate”?
- Why am I getting “process exited without calling finalize”, and how do I fix it?
- Error on Lumerical device
- Using a license file on a new license server
- Ansys Insight: Diverging Simulations
- Error: addfdtd is not a valid function or a variable name
- Ansys Insight: About override mesh in FDTD: its use and settings
- Ansys Insight: Transmission results greater than one
- Ansys Insight: Convergence issues in CHARGE
- Is there a Lumerical script command to output the Simulation and Memory requirements?
Top Rated Tags
© 2022 Copyright ANSYS, Inc. All rights reserved.Ansys does not support the usage of unauthorized Ansys software. Please visit www.ansys.com to obtain an official distribution.