Solver start up delay¶
When a newly installed M-Star CFD solver executable starts up for the first time, you may notice the solver hangs or is delayed. This is normal behavior for a new installation.
A newly installed solver first needs to compile some of the embedded CUDA code to be compatible with the CUDA driver on your system. This compilation step can take a couple minutes depending on your system. This compilation only needs to be done once for a given version of M-Star CFD. Subsequent executions of the solver will have no delay. The compilation will store a cache file on your system specific to the user executing the code.
Note that this delay may also be observed when using the Local UDF Editor, and clicking the “Check Code” button.
For more information about this compilation step, see: https://developer.nvidia.com/blog/cuda-pro-tip-understand-fat-binaries-jit-caching/#jit_caching