Comments (7)
You might need to add whichever directory the script had been copied to to your PATH. For example, if you installed with python setup.py install —user
this would be ~/.local/bin
from f90wrap.
I just installed it on my mac using the same method and there is no problem running f90wrap. the f90wrap executable in mac is in the /anaconda/bin.
On my windows laptop, the f90wrap is in the /anaconda/script along with the f2py. I can run f2py on the terminal but not the f90wrap.
from f90wrap.
Sorry, I’ve not used anaconda on Windows and know nothing about how paths are specified there. Must be a general issue though, not specific to f90wrap. It sounds like you need to add /anaconda/scripts to the console search path, but I don’t know how to do this in Windows.
from f90wrap.
Thanks for the prompt reply. This tool will be very helpful for my work to wrap around a huge fortran90 repository. If it temporarily doesn't work out on the windows, I will just stick with my mac.
In fact, I already added the directory /anaconda/scripts to my PATH otherwise the f2py wouldn't be able to run. However, the f2py is in the format of an executable file .exe whereas the f90wrap does not have a file extension ..
from f90wrap.
I would also like a solution to this problem. There is not executable generated in this path, I find only the these files under the Scripts folder: f90wrap, f90doc, f2py-script.py and f2py-f90wrap. Is there any way to compile them into an executable?
from f90wrap.
As above, I’ve not used Python in general of f90wrap in particular on Windows so am unable to help. If anyone else can make a suggestion that would be great. It should not be necessary to build an executable, since these are standard Python scripts, and if necessary could be invoked as python f90wrap
etc, but I’m sure there’s a better solution than that.
from f90wrap.
In principle conda packages should just pick up the scripts
entry from setup.py (that was broken some time around 2016, see conda/conda-build#1471), so that should work. However, the f90wrap recipe is not built on Windows, sadly. It might be worth it to report this over at https://github.com/conda-forge/f90wrap-feedstock/issues
from f90wrap.
Related Issues (20)
- Help wrapping a project HOT 7
- Data type determined at run time
- Issues with Compiling MPI Program HOT 3
- Support for Intel oneAPI2022
- multidimensional arrays in derived types broken if compiled with long integers as default HOT 1
- Python 3.11 support HOT 8
- Pre-build f90wrap wheels for windows HOT 3
- Derived types containing allocatable character arrays
- `integer, value, intent(in)`/`integer, value` arguments converted to/wrapped as `real`
- Wrong module class name in a call to `f90wrap.runtime.FortranDerivedTypeArray` HOT 2
- numpy > 1.23 support HOT 2
- Switch to pyproject.toml based build system HOT 7
- duplicate symbol in formal argument list HOT 2
- Issues on Mac OS X - for f90wrap 0.2.12 HOT 1
- BUG: Routines including procedure arguments (callbacks) are excluded HOT 1
- Can `f90wrap`parse FORD docstrings?
- unexpected removal of procedures associated with derived types HOT 1
- install fails on macos 14 HOT 4
- Binary Wheels for Mac HOT 1
- example with fortran to python callback function fails with as of f90wrap v0.2.13: "bad argument to internal function" HOT 1
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 f90wrap.