Compile Paralel UDF (.NET Framework 4.5.1)
Hi there
Can anyone give me a recommendation about what software i should install in my computer, so I can compile my UDF in parallel mode? My computer (Win 64bit) is already installed with .NET Framework 4.5.1, and I don't think I can change it due to its compatibility for other programs. I've tried MSVS 2010 + SDK 7.1., but they are not working :confused: Any recommendation would be really helpful Thanks! |
Quote:
|
Quote:
Thank you for the response Yes, actually I've compiled this parallel UDF in FLUENT at my computer. Compile was successful, and worked fine. My computer is 32Bit, and has MSVC++ 2010 Express in it. But, every time I try to compile this same UDF in lab's computer, it is always showing error message. Lab's computer is 64Bit, and has MSVC++ 2010 Express too. Maybe my problem is because .NET Framework 4.5.1 is not compatible with MSVC++ 2010, am I wrong? |
Are both systems running the same revision of ANSYS Fluent? You can't run older versions of Fluent with newer builds of visual studio (can only go the other direction). What's the error message?
|
Quote:
Thank you for the response The error message is: libudf.dll : fatal error LNK1120: 8 unresolved externals My computer (32 bit) FLUENT version is 15.0.7, and lab's computer (64 bit) is FLUENT 16.0.0 |
What is the UDF? Ensure you're recompiling correctly by checking my compiling process for Fluent UDFs with an existing library loaded.
|
Quote:
It's an UDF for parallel runs, and I think it's not the syntax problem. I've compiled this UDF just now in my computer, and it works fine, not showing any error. Then, I moved to lab's computer. I've tried to run Fluent from MSVS command prompt, and the error keep showing when I click "Build" button. Could you please explain to me, what's the cause of "libudf.dll : fatal error LNK1120: 8 unresolved externals" error? |
Greetings everyone
So, I've managed to solve my problem :) Actually there's nothing wrong about compatibility of NET Framework 4.5.1 and MSVC ++ 2010 as I stated earlier I followed the step in this link: http://www.cfd-online.com/Forums/att...using-sdkx.pdf It seems like my SDK 7.1. was corrupted because of MSVC++ 2010 Redistributable had been installed before installing the SDK 7.1. Now, the UDF runs smoothly in parallel processing Cheers |
All times are GMT -4. The time now is 08:44. |