Compiler and System Requirements
To use compiled subroutines, you need to supply your own appropriate compilers and linkers. Typically, you write your user subroutine in C/C++ or Fortran, compile it, and create a Dynamically Linked Library (DLL) or Shared Object (SO).
Both Fortran and C/C++ routines are directly supported in the creation of a custom DLL/SO. In other words, you do not have to write Fortran-to-C wrapper routines. For C/C++ routines, you do need to include the following header file:
msolvsub_c_include.h
The compiler requirements to build MotionSolve C++ and Fortran user subroutine DLLs/SOs are:
- C/C++: Microsoft Visual Studio 2015
- Fortran: Intel Fortran Compiler 2017.4
- C/C++: Intel Compiler (ICC) 2017.7
- Fortran: Intel Compiler (IFORT) 2017.7
For more information about supported compilers and linkers, and for a list of system requirements, please refer to the Altair Simulation Installation Guide.
See Also