-
-
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.
- Difference between answers in version 2024 and 2017 lumerical mode solution
- Errors Running Ring Modulator Example on Cluster
- INTERCONNECT – No results unless rerun simulation until it gives any
- Import material .txt file with script
- Help for qINTERCONNECT
- Trapezoidal ring
- Issues with getting result from interconnent analysis script
- Topology Optimization Error
- Edge Coupler EME Example Issue
- How to measure transmission coefficients on a given plane .
-
1241
-
543
-
523
-
225
-
209
© 2024 Copyright ANSYS, Inc. All rights reserved.