UDF on parallel
olà everyone,
I have a problem with a UDF that i'm trying to use on parallel. When using it in the serial mode, it's ok. But i don't understand how to use the commands such as "#if RP_HOST .... and also the commands such as "host_to_node"...ecc. My udf is as follows - i can't send it for "confidential reasons" :( - so i will try to be as clear as precise as possible : ----------------------------------------------- #include "udf.h" #include "math.h" #include "stdio.h" #include <stdlib.h> #include <unistd.h> #include "para.h" (is this one useful? ) #define M_PI 3.14159265.... int **holewall; int *indicet; DEFINE_ON_DEMAND(calc_holewall) - list of variables... - reading of the data file - other variables : meth = (Thread **)malloc(sizeof(Thread *)*idotmax); holewall = (int **)malloc(sizeof(int *)*idotmax); - program that loops on c_loop end of DEFINE_ON_DEMAND DEFINE_SOURCE(xmom_source,c,t,dS,eqn) -list of variables - program the same for ymom and zmom. ------------------------------------------------ I don't know how i can understand what the host or the nodes do... If someone as any clue for me...i can be more precise if needed. Thank you very much. |
All times are GMT -4. The time now is 08:28. |