-
-
July 6, 2023 at 10:43 amGeorge KountourisSubscriber
Hi everyone,
I have successfully compiled my code on Linux, and it runs fine.
On Windows, I have used the preprocessor definitions suggested here, on Visual studio 2022
/forum/forums/topic/ansys-insight-compiling-your-plugin-material-in-windows/
While the material is recognized, it only sometimes runs, and often after significant delays, getting stuck at the setting up stage usually. I have realized that when running the simulation on a single thread (single core), the simulation gets set up and running normally. Looking at the task manager to compare between successful and unsuccessful runs, it seems that CPU/memory allocation is the problem: the program fails to find/allocate resources for the simulation to run (sometimes; or takes too long to do so).
I have also tried compiling the dll with Visual Studio 2013, as suggested in the link, but the material is not recognized, even when manually changing the preprocessor definitions like when I tried it in the newer version.
Any ideas?
-
July 6, 2023 at 10:33 pmGuilin SunAnsys Employee
Unfortunately it is difficult to diagnose when 3rd party software or tools are involved. For example, minor difference of the versions can lead to some issues. and the plugin material is an advanced feature, very limited support can be provided. https://optics.ansys.com/hc/en-us/articles/360034915213-Flexible-Material-Plugin-Framework
-
- The topic ‘Compiling the plugin material on Windows: Memory/CPU allocation issues’ is closed to new replies.
- Ansys Insight:使用Checkpoint继续仿真被迫中断或已经仿真结束的文件
- 怎么修改生成远场图片的横纵坐标以及坐标标签的字体大小
- INTERCONNECT – No results unless rerun simulation until it gives any
- EME得到的S参数与监视器结果不一致的问题
- 如何直观计算3db带宽
- INTERCONNECT – obtain power output over time & check for SNR
- varFDTD半导体激光器建模方向及反射率设置问题
- Inverse Design Freezing Issue
- Calculation of correlation values in laser modulation bandwidth simulation
- Import material .txt file with script
-
421
-
192
-
178
-
162
-
141
© 2024 Copyright ANSYS, Inc. All rights reserved.