I have a python script I hope to do roughly this:
calls some particle positions into an array
runs algorithm over all 512^3 positions to distribute them to an NxNxN matrix
feed that matrix back to python
use plotting in python to visualise matrix (i.e. mayavi)
First I have to write it in serial but ideally I want to parrallelize step 2 to speed up computation. What tools/strategy might get me started. I know Python and Fortran well but not much about how to connect the two for my particular problem. At the moment I am doing everything in Fortran then loading my python program - I want to do it all at once.I've heard of py2f but I want to get experienced people's opinions before I go down one particular rabbit hole. Thanks
Edit: The thing I want to make parallel is 'embarrassingly parallel' in that is is just a loop of N particles and I want to get through that loop as quickly as possible.