🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

MotionSolve subroutine compiler

User: "Altair Forum User"
Altair Employee
Updated by Altair Forum User

Hi

Sorry my english.

I'm testing a motionsolve subroutine, but I don`t know that is the compiler (version, etc) to make the dll.

Has anybody experience on this?

Thanks.

Find more posts tagged with

Sort by:
1 - 3 of 31
    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

    A dll can be complied by using:

    * If the usersub code is C/C++ file, then the options are VC6 or VC7 or VC8

    * If the usersub code is fortran file, then the options can be Compaq Visual Fortran 6 or Intel Fortran compiler

    For more details on issues with MotionView or MotionSolve please email mvsupport@altair.com

    Hope this answers your question.

    Thanks,

    Raghav

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Hi,

    I've tried to compile a dll, but the model has failed, the message has been:

    Initializing model ...

    ERROR: Environment variable MS_USERSUBDLL not defined!

    User: "Altair Forum User"
    Altair Employee
    OP
    Updated by Altair Forum User

    Please create an environment variable and set the value of this to the dll you have refered in the model. Follow the steps below:

    Create an environment variable MS_USERSUBDLL and set the value to the dll file.

    For windows 32-bit platform users, this will be: <install_path>\optistruct\usersub\subdll\WIN32\ms_csubdll.dll

    - Right-click on the My Computer icon, go to the Advanced tab, click on Environment variables and click New (under User variables).

    - Set Variable name: to MS_USERSUBDLL.

    - Set Variable value: to <install_path>\hwsolvers\usersub\subdll\win32\ms_csubdll.dll.