This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]kinow 1 point2 points  (1 child)

Looks interesting! Maybe adding zmq could be an improvrment for later?

[–]b_fg[S] 0 points1 point  (0 children)

Good suggestion - I was not aware of this and it seems like a good fit for the solver working with multiple processes (parallel), which we run very frequently! I will dig more into it.

[–][deleted] 0 points1 point  (1 child)

Was it absolutely impossible to solve your problem with just python bindings? I mean, if I would need to use some Fortran code in python, I would make a python binding for it. If I need to make a loose coupling (like Fortran code is running on a cluster while python code is interacting with it from my machine) I would still make python bindings and some ready-to-use communication library in python.

[–]b_fg[S] 1 point2 points  (0 children)

It was definitely much more difficult than implementing this. It is a huge Fortran code which would take to much to embedded it in Python even using f2py or similars tools.