Comments (5)
Thank !!😍 👍 👍 👍
from fmodpy.
The first coding way is not compilable under f2py.
The second method is OK.
from fmodpy.
Thanks for the detailed write up! Let me investigate and get back to you.
from fmodpy.
Okay I've found and resolved the issue with a newly published version fmodpy==1.7.1
and added new test cases to cover this in the future. You should see the correct output now when running your program. Here's what I get now: (image)
Let me know if you have any other issues, ideas, or feedback.
Thank you for contributing to fmodpy
!! ❤️🤓
from fmodpy.
Also, just so you are aware, the memory that is allocated by Fortran will not be deallocated by python! So it will cause a memory leak if you allow the returned variables to go out of scope and get deleted by python garbage collection.
If you need to handle long running programs, make sure you create a separate fortran subroutine or function for DEALLOCATE
'ing the array that you allocated previously!
from fmodpy.
Related Issues (9)
- Convertible? HOT 1
- Encountered unrecognized line while parsing Module HOT 16
- Building conda package from source code on pypi HOT 4
- Undefined Symbol Error HOT 3
- Compilation of fortran file fails: cannot open shared object file HOT 3
- ValueError: invalid literal for int() with base 10: '1)' HOT 5
- Support for OpenMP or Co-array Fortran HOT 3
- Linking to OpenBLAS for BLAS and LAPACK on Windows HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fmodpy.