CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   Parallel UDF Error (https://www.cfd-online.com/Forums/fluent/44292-parallel-udf-error.html)

Andrew March 29, 2007 11:15

Parallel UDF Error
 
Hello,

I'm new to Fluent and I can't figure out how to fix this error. I have a UDF to set a velocity profile that works fine in serial mode, but when I try to use it in parallel mode, I get the following error:

cpp -I\\d4600\fluent.inc\fluent6.2.16/src -I\\d4600\fluent.inc\fluent6.2.16/cortex/src -I\\d4600\fluent.inc\fluent6.2.16/client/src -I\\d4600\fluent.inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="udfconfig-node0.h" \\d4600\working\swirl100.c

error: udf compiler: cannot execute cpp -I\\d4600\fluent.inc\fluent6.2.16/src -I\\d4600\fluent.inc\fluent6.2.16/cortex/src -I\\d4600\fluent.inc\fluent6.2.16/client/src -I\\d4600\fluent.inc\fluent6.2.16/multiport/src -I. -DUDFCONFIG_H="udfconfig-node0.h " \\d4600\working\swirl100.c

I start Fluent from my working directory and when I try to interpret the udf, it gives me this error. I have been able to run other cases in parallel, but none using UDF's. I would greatly appreciate any help with this problem. Thanks.

-Andrew

Bogdan March 30, 2007 02:39

Re: Parallel UDF Error
 
Try to compile your UDF instead of interpret it.

Andrew March 30, 2007 11:11

Re: Parallel UDF Error
 
Thanks, that fixed it. I appreciate your help!


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