|
[Sponsors] |
UDF error ***config.h: line 118: parse error***/string.h: line 45: syntax error*** |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 2, 2016, 14:39 |
UDF error ***config.h: line 118: parse error***/string.h: line 45: syntax error***
|
#1 |
Senior Member
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18 |
Hi everyone,
I interpret a UDF code that I have written in Fluent (v16.2) and there is no error returned regarding the actual UDF code. But I receive this error at the very end of the log: Error: C:\\PROGRA~1\\ANSYSI~1\\v162\\fluent\\fluent16.2.0/src/main/config.h: line 118: parse error. I have to add that I receive this error when I interpret the UDF in a fluent installed on a windows machine. I also have access to the same version of fluent on Linux and when I interpret the same code on Linux machine I receive the following: from /general/home/nikp11/UDF project/sst.c:5: /usr/include/alloca.h:25: stddef.h: No such file or directory In file included from /general/home/nikp11/UDF project/sst.c:5: /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:30: stddef.h: No such file or directory In file included from /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:155, from /general/home/nikp11/UDF project/sst.c:5: /usr/include/malloc.h:25: stddef.h: No such file or directory In file included from /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/src/main/global.h:232, from /general/home/nikp11/UDF project/sst.c:5: /software/easybuild/software/ANSYS/16.2/v162/fluent/fluent16.2.0/cortex/src/cx.h:35: float.h: No such file or directory Error: /usr/include/string.h: line 45: syntax error. cpp: output pipe has been closed The Actual error is much longer than what I have copied here. I am pretty sure that the UDF is not wrong and probably this error is associated with libraries. Could anyone please help? I need some serious help here. Thanks, Ali |
|
November 3, 2020, 11:43 |
|
#2 |
New Member
Monza e Brianza
Join Date: Nov 2020
Posts: 8
Rep Power: 6 |
Hi Ali, could you solve it? I'm facing the same problem...
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] refineWallLayer Error | Yuby | OpenFOAM Meshing & Mesh Conversion | 2 | November 11, 2021 12:04 |
UDF Compilation Error - Loading Library - COMMON Problem! Help! | robtheslob | Fluent UDF and Scheme Programming | 8 | July 24, 2015 01:53 |
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 | keepfit | ParaView | 60 | September 18, 2013 04:23 |
Problems of Duns Codes! | Martin J | Main CFD Forum | 8 | August 15, 2003 00:19 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 16:16 |