|
[Sponsors] |
how to load UDF in parallel at linux platform |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 22, 2013, 21:56 |
how to load UDF in parallel at linux platform
|
#1 |
New Member
maye
Join Date: Oct 2009
Posts: 9
Rep Power: 16 |
The UDF is built and loaded well in windows platform by installing VC++. But when I do the same thing in suse linux or redhat linux, it works well in serial simulation but loading failed in parallel simulation. The hint shows:
The UDF library you are trying to load (libudf/inamd64/3d_host/libudf.so) is not compiled for parallel use on the current platform (lnamd64) no error /cae/maye/fluent/test/libudf/lnamd64/3d_host/libudf.so All gcc (C++&Fortran) of x86_64 has been installed. How can I solve the problem? Shall I install more codes or set any environments? The UDF file is: #include <stdio.h> #include "udf.h" DEFINE_CG_MOTION(wall, dt, vel, omega, time, dtime) { if(time<=8.0) { vel[2]=-0.75*time; } if(time>8.0&&time<=14.0) { vel[2]=-6.0; } if(time>14.0&&time<=22.0) { vel[2]=-6.0+0.75*(time-14.0); } if(time>22.0) { vel[2]=0.0; } Message("\nUDF value: velx=%f",vel[2]); } |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem in using UDF in parallel computing | Yogini | Fluent UDF and Scheme Programming | 0 | January 22, 2013 08:23 |
Dynamic Mesh- Parallel UDF | DE HEART | Fluent UDF and Scheme Programming | 14 | August 11, 2010 01:29 |
parallel udf problem in linux | endlessfree | Fluent UDF and Scheme Programming | 0 | April 13, 2010 10:19 |
Help with Define on Demand UDF in Parallel | Mahesh | FLUENT | 2 | August 7, 2007 05:34 |
CFX, NT parallel, Linux, best platform | Heiko Gerhauser | CFX | 1 | August 21, 2001 09:46 |