Calling Fortran shared library in Julia always returns 0.0

It turns out that I didn’t include the necessary parameters to run the subroutine pot_H2CO6D_V23 :sweat_smile:.

If you are interested, you need to call these subroutines:

call init_data_old
call init_data_new

they contain the parameters.

Thank you all for the responses, the Julia community is really helpful.

1 Like