CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Fluent UDF and Scheme Programming (https://www.cfd-online.com/Forums/fluent-udf/)
-   -   Paralleling UDF for shared memory machines (https://www.cfd-online.com/Forums/fluent-udf/123718-paralleling-udf-shared-memory-machines.html)

honeychem September 19, 2013 09:36

Paralleling UDF for shared memory machines
 
Hi fellows,
I am trying to run UDF on a linux based machine with shared memory by parallel processing (16 processors).but i got the following error,

Error: The UDF library you are trying to load (libudf) is not compiled for parallel use on the current platform (lnia64).

No such file or directory
/data1/home/mehmood/fluent/3dAbid/libudf/lnia64/3ddp_host/libudf.so
Error Object: #f


Error: CAR: invalid argument [1]: wrong type [not a pair]
Error Object: ()

my UDF is as under,

#include "udf.h"

DEFINE_PROFILE(velocityinletw , thread, position)
{

float t, velocityw;
face_t f;

t = RP_Get_Real("flow-time");

velocityw = (3.14*0.01*1.4*0.496*cos(2*3.14*1.4*t));
begin_f_loop(f, thread)
{
F_PROFILE(f, thread, position) = velocityw;
}
end_f_loop(f, thread)

}

can any one help me in sorting out this problem.
Best Regards
:):):)


All times are GMT -4. The time now is 03:52.