|
[Sponsors] |
May 8, 2019, 08:27 |
Loading user code in Windows
|
#1 |
Member
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14 |
Hello,
I compiled a user code (*.so) in Linux using the command : gcc -fPIC -shared *.c -o libuser.so Can I load the generated libuser.so file into Star CCM+ on a Windows machine ? When I do that, I am always getting this error of memory access violation. Any help would be appreciated. Thank You! |
|
May 13, 2019, 05:31 |
|
#2 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 567
Rep Power: 21 |
Hi Yogesh,
as the manual indicates this is not possible. You have to compile the user library on the windows machine separately. With some further studies of the differences between unix and microsoft world, you will get to know why. Anyway, recheck the StarCCM manual, it also explains how to compile the library for windows from its source. Best regards, Sebastian Last edited by bluebase; May 13, 2019 at 05:38. Reason: wording |
|
May 13, 2019, 05:34 |
|
#3 |
Member
Yogesh Nalam
Join Date: Sep 2012
Location: München, Germany
Posts: 54
Rep Power: 14 |
Hello Sebastian,
Thank you for the response. Yes, I now get it and have compiled seperately. Kind regards, Yogesh |
|
Tags |
memory access exception, unix, user code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Create a user code | HN_Hoang | STAR-CCM+ | 3 | December 27, 2020 04:15 |
How to successfully export jpeg image with User defined Windows Size in Batch mode | potofus | EnSight | 2 | April 26, 2016 04:25 |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
user friendly cfd code | waqar | Main CFD Forum | 19 | August 18, 2000 17:31 |
Open source CFD code development, possible? | Dr. Yazid Bindar | Main CFD Forum | 27 | July 18, 2000 01:18 |