|
[Sponsors] |
June 16, 2016, 05:47 |
Compile Paralel UDF (.NET Framework 4.5.1)
|
#1 |
New Member
Bramantyo
Join Date: May 2016
Location: Java
Posts: 11
Rep Power: 10 |
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 Any recommendation would be really helpful Thanks! |
|
June 16, 2016, 05:55 |
|
#2 | |
Senior Member
Bruno Machado
Join Date: May 2014
Posts: 271
Rep Power: 13 |
Quote:
|
||
June 16, 2016, 07:56 |
|
#3 | |
New Member
Bramantyo
Join Date: May 2016
Location: Java
Posts: 11
Rep Power: 10 |
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? |
||
June 16, 2016, 08:09 |
|
#4 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
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?
|
|
June 16, 2016, 08:15 |
|
#5 | |
New Member
Bramantyo
Join Date: May 2016
Location: Java
Posts: 11
Rep Power: 10 |
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 |
||
June 16, 2016, 08:57 |
|
#6 |
Senior Member
Join Date: Mar 2015
Posts: 892
Rep Power: 18 |
What is the UDF? Ensure you're recompiling correctly by checking my compiling process for Fluent UDFs with an existing library loaded.
|
|
June 16, 2016, 09:42 |
|
#7 | |
New Member
Bramantyo
Join Date: May 2016
Location: Java
Posts: 11
Rep Power: 10 |
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? |
||
June 17, 2016, 04:14 |
|
#8 |
New Member
Bramantyo
Join Date: May 2016
Location: Java
Posts: 11
Rep Power: 10 |
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 |
|
Tags |
compile error, parallel code, udf compilation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
I receive "temperature limited to ... " after I Compile and Hook my UDF | nsaeidi | Fluent UDF and Scheme Programming | 11 | March 15, 2019 09:59 |
Compile udf error | Cfdbug | Fluent UDF and Scheme Programming | 2 | December 17, 2015 20:03 |
Compile c99 standard UDF in Cluster | darsonli | Fluent UDF and Scheme Programming | 0 | July 7, 2015 03:58 |
looking for instructions on how to compile an udf in windows OS | Srinivasa Rao | Fluent UDF and Scheme Programming | 2 | May 22, 2015 11:00 |
Error compile file udf | czfluent | Fluent UDF and Scheme Programming | 24 | September 26, 2009 14:24 |