Using a Shared Library (Linux) or a DLL (Microsoft Windows)
This section describes how to create a dynamically linked library to allow integration of Ansoft tools with an arbitrary scheduler environment. Each scheduler proxy library is used for a single specific scheduler environment. If the library is installed with a valid name and in the correct location, then it will automatically be loaded and used by Ansys Electromagnetics tools.
Installation Details
The scheduler proxy library must be installed in the schedulers subdirectory of the Ansys Electromagnetics installation directory. For example, if the Ansys Electromagnetics installation directory is C:\Program Files\AnsysEM\v242\Win64, then the scheduler proxy library must be installed in directory C:\Program Files\AnsysEM\v242\Win64\schedulers.
The scheduler proxy library base name must match "libprefix_scheduler" on Windows and "liblibprefix_scheduler" on Linux. The extension must be a valid extension for a dynamically loaded library on the platform where it is used. The scheduler proxy library name prefix libprefix shall be unique, so it does not conflict with other scheduler proxy libraries in the same directory. To avoid confusion, the scheduler proxy library name should be all lower case on OSs where file names are case sensitive.
Related Topics
Build Information for Scheduler Proxy Library
Implementation Details for Custom Scheduler Integration