admin:rui:i_understand_a_promethee_code_call_is_just_like_a_r_function_call._ok_but_what_about_parallelization_of_function_calls_mclapply_foreach [Promethee]

I understand a “Promethee code” call is just like a R function call. Ok, but what about parallelization of function calls (mclapply, foreach, …) ?

Forget that. Two reasons:
  • “Promethee code” R functions are already vectorized functions:
Promethee.run(“mycode”,”mydata.dat”,input=list( x1=0.1 , x2=0.2 )) is possible, as well as
Promethee.run(“mycode”,”mydata.dat”,input=list( x1=c(0.1,0.11,0.12) , x2=c(0.2,0.21,0.22) )) ,
which will run the three cases {(x1,x2)} = {(0.1,0.2) , (0.11,0.21) , (0.12,0.22)} in parallel,
  • The parallel tools in R rely on low level layers, not compatible with the rJava library used by Promethee [R] front-end.
© IRSN - All right reserved - Legal information