We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I am a Fortran beginner and would like to use forpy for some plotting using matplotlib and later pyvista.
I tried your first and easiest example:
gfortran -c forpy_mod.F90 gfortran intro_to_forpy.F90 forpy_mod.o python3-config --ldflags --embed
python3-config --ldflags --embed
And a file a.out was created. When I call ./a.out I get this error message:
./a.out: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file: No such file or directory
Do you have an idea what to do next? Best regards, Jonas
The text was updated successfully, but these errors were encountered:
I found this: https://gitlab.dkrz.de/m300872/rain-on-python/-/blob/master/forpy/usage_log.md
Sorry, something went wrong.
Okay. I had to query: which python Then use: export LD_LIBRARY_PATH=/home/jonas/miniconda3/lib:$LD_LIBRARY_PATH
./a.out
Now it works.
No branches or pull requests
Hello,
I am a Fortran beginner and would like to use forpy for some plotting using matplotlib and later pyvista.
I tried your first and easiest example:
gfortran -c forpy_mod.F90
gfortran intro_to_forpy.F90 forpy_mod.o
python3-config --ldflags --embed
And a file a.out was created.
When I call ./a.out I get this error message:
./a.out: error while loading shared libraries: libpython3.9.so.1.0: cannot open shared object file: No such file or directory
Do you have an idea what to do next?
Best regards,
Jonas
The text was updated successfully, but these errors were encountered: