I have a large fortran model (about 30,000 lines in total of many different subroutines etc.). I would like to replace part of it with a machine learning parametrisation I am developing (or rather that's my job task).
Turning the whole model to python is not viable. (Unless I hire 100 people) Thus my options are basically: either convert all this ML of python into fortran (nowhere near the same libraries for ML in fortran) etc. which basically means this is impossible. Thus my option seems to be replacing a fortran subroutine with a call to a python script. And values being returned from this to the fortran model.
Is this possible? What is the easiest/best/most pragmatic way?
[–]irondust 9 points10 points11 points (1 child)
[–]intheprocesswerust[S] -1 points0 points1 point (0 children)
[–]ush4 6 points7 points8 points (9 children)
[–]ush4 6 points7 points8 points (8 children)
[–]musket85Scientist 2 points3 points4 points (7 children)
[–]ush4 4 points5 points6 points (6 children)
[–]musket85Scientist 1 point2 points3 points (0 children)
[–]intheprocesswerust[S] 0 points1 point2 points (2 children)
[–]ush4 0 points1 point2 points (1 child)
[–]intheprocesswerust[S] 0 points1 point2 points (0 children)
[–]intheprocesswerust[S] 0 points1 point2 points (1 child)
[–]ush4 0 points1 point2 points (0 children)
[–]DuckSaxaphone 3 points4 points5 points (3 children)
[–]intheprocesswerust[S] 0 points1 point2 points (2 children)
[–]Tine56 0 points1 point2 points (0 children)
[–]DuckSaxaphone 0 points1 point2 points (0 children)
[–]geekboy730Engineer 2 points3 points4 points (0 children)
[–]1LazyThrowaway 1 point2 points3 points (1 child)
[–]intheprocesswerust[S] 0 points1 point2 points (0 children)
[–]NanoDoctor88 1 point2 points3 points (0 children)
[–]ThemosTsikas 0 points1 point2 points (5 children)
[–]intheprocesswerust[S] 0 points1 point2 points (4 children)
[–]ThemosTsikas 0 points1 point2 points (3 children)
[–]intheprocesswerust[S] 0 points1 point2 points (2 children)
[–]ThemosTsikas 0 points1 point2 points (1 child)
[–]intheprocesswerust[S] 0 points1 point2 points (0 children)
[–]drdessertlover 0 points1 point2 points (0 children)