Hi,
I need to feed arguments (a C library) into a kernel that goes into a parallel loop. I have tried using the kernel function in https://github.com/OP2/PyOP2/pull/476 to do,
Kernel(str,args*),
but when I put this into par_loop, I get the error, 'Kernel' object doesn't have 'replace', as Kernel isn't a string, it's as above.
Does anyone know how I go about placing the Kernel with the extra arguments into par_loop?
Many Thanks,
Alastair Gregory
------------------------------------------------------------------------------------------
Numerical Analysis Research Postgraduate
Imperial College London - Grantham Institute of Climate Change
Room 759 Huxley Building, South Kensington
(Tel: 07794 243913) | (Email: a.gregory14@imperial.ac.uk)
-------------------------------------------------------------------------------------------