CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > Siemens > STAR-CCM+

Error on creating new project

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By erfiv
  • 1 Post By erfiv

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 4, 2024, 10:29
Default Error on creating new project
  #1
New Member
 
Join Date: Oct 2024
Posts: 4
Rep Power: 2
erfiv is on a distinguished road
Upon creating new project with any parameters, the program shows the following error:

Design Simcenter STAR-CCM+ simulation completed
Server process ended unexpectedly (return code -1073741511)


Launching with the -v parameter through command line results in a windows error that says (approximate translation from my native language):

Procedure entry point "mkl_serv_get_max_threads" not found in the DLL library "E:\Programs\StarCCM\16.04.012-R8\STAR-CCM+16.04.012-R8\star\lib\win64\intel20.1vc14.2-r8\lib\cd\StarMachine.dll".

The produced console output is attached as "log.txt". I checked the DLL with Dependency Walker and it did find that entry point just fine.

This happens on two different versions: 16.04.012 double precision and 18.04.009 double precision. The logs and errors are identical on both. I tried installing both of them in different locations on different drives.

The OS is Windows 10 22H2 x64. It has most if not all MSVCP redists installed. Looking back at the java references in the logs, i tried removing and updating JRE too and it changed nothing. I figured that the return code is related to missing or corrupted DLLs but which?

The PC is Ryzen 5 5600x, 32GB DDR4, RTX3060. No known hardware issues with it, no Star CCM installations in the past. There's no possibility to use a different computer or other kind of software.

This is urgent. Thanks.
Attached Files
File Type: txt log.txt (12.9 KB, 3 views)
erfiv is offline   Reply With Quote

Old   October 6, 2024, 00:08
Default
  #2
Member
 
Peresvet
Join Date: Mar 2021
Location: USSR
Posts: 56
Rep Power: 6
Peresvet is on a distinguished road
Computer name in English characters. Not right?!
Peresvet is offline   Reply With Quote

Old   October 7, 2024, 06:50
Default
  #3
New Member
 
Join Date: Oct 2024
Posts: 4
Rep Power: 2
erfiv is on a distinguished road
The computer name is DESKTOP-O4KTDS9 and i'm not sure what you mean.
Peresvet likes this.
erfiv is offline   Reply With Quote

Old   October 8, 2024, 11:25
Default
  #4
New Member
 
Join Date: Oct 2024
Posts: 4
Rep Power: 2
erfiv is on a distinguished road
Fixed. The error was caused by the conflict between the MKL library provided with star-ccm and the one located in my Windows/system32 folder.

So if there's any other software using mkl, beware. This could be anything - design software, audio workstations, programming environments. Somehow all the other programs are able to fetch the mkl libraries they're being supplied with, but not star-ccm. Damn, a lot of time went to waste with this.
Peresvet likes this.
erfiv is offline   Reply With Quote

Old   April 4, 2025, 03:46
Default
  #5
New Member
 
Felipe
Join Date: Apr 2010
Posts: 14
Rep Power: 17
fippo_dk is on a distinguished road
How did you fix this? I am actually trying to run a project with an old version of star (16.02.008 ) and it gives me this problem when I try to run in batch mode from the command line in windows.


Would appreciate some guidance on how you fix the issue. Thanks.
fippo_dk is offline   Reply With Quote

Old   May 8, 2025, 17:42
Default
  #6
New Member
 
Join Date: Oct 2024
Posts: 4
Rep Power: 2
erfiv is on a distinguished road
Quote:
Originally Posted by fippo_dk View Post
How did you fix this? I am actually trying to run a project with an old version of star (16.02.008 ) and it gives me this problem when I try to run in batch mode from the command line in windows.


Would appreciate some guidance on how you fix the issue. Thanks.
Hi. Sorry for being so late, but for future reference.

One of the errors in my first post is about missing procedure entry points. I used Dependency Walker to find the library with the aforementioned "missing entry point". Then i navigated to my Windows/system32 folder and added an underscore to its filename. Then the error was different, it pointed me to another library, and so on until it worked. Nothing else in my system seemed to be affected by that, but i kept the dlls for backup purposes.

Basically, star-ccm was loading the MKL dlls from system32 folder instead of using the ones provided with it, and of course they were different. More specifically in my case:

mkl_def.dll
mkl_intel_thread.dll
mkl_core.dll
mkl_sequential.dll
erfiv is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Load project native FloEFD, FloWorks & FloTHERM 2 August 4, 2021 10:36
[blockMesh] Projection of edges to the surface klitz OpenFOAM Meshing & Mesh Conversion 0 October 14, 2020 10:09
How to implement time-varying boundary conditions in an enclosed cylinder Alejandro-FA OpenFOAM Pre-Processing 0 May 14, 2020 06:29
[blockMesh] Segmentation Fault when creating block mesh topography (blockMesh) jbrydg01 OpenFOAM Meshing & Mesh Conversion 2 May 11, 2017 05:37
The OpenFOAM extensions project mbeaudoin OpenFOAM 16 October 9, 2007 09:33


All times are GMT -4. The time now is 13:17.