You cannot post messages because only members can post, and you are not currently a member.
Description:
Users of the fwrap utility. Fwrap wraps Fortran code in C, Cython and Python. Will support wrapping all Fortran 90/95 features.
|
|
|
how can I compile fortran source with fortran module?
|
| |
how can I compile fortran source with fortran module?
---> fmod.f90
module fmod
real*8, dimension(6) :: indata1
real, dimension(7,8) :: indata2
end module fmod
--->ftest.f90
subroutine temp_f(indata1, indata2)
use fmod
do i=1,8
print *, indata1(i)
end do
end
fwrapc --build ftest.f90 fmod.f90 --name=test --fcompiler=gnu95?... more »
|
|
Is this project still alive?
|
| |
Hi,
I'm wondering if Fwrap is still an ongoing project or not? The git
repository hasn't been updated since Jan 2011 and I can't even manage
to run the integration tests. Other similar messages on this newsgroup
seem to have been left hanging for many months.
For information, I'm under OSX 10.6.8, Cython 0.16, Python 2.7, Numpy... more »
|
|
Calling C function from Fortran
|
| |
I'm trying to practice Fwrap and Cython. and I have some question
about calling C function from Fortran.
I had learned Shrubbing sample(related to communication pyx).
and there are two file (Shrubbing.so derived from C, Landscaping.so
derived from another C source)
and also I tested functions example in Fwrap package.... more »
|
|
Automatic generation of .pxd from Fortran
|
| |
Hi, ...[link] that takes a Fortran source (that uses the iso_c_binding module), like the following: module c_dftatom ! C interface to dftatom use iso_c_binding, only: c_int, c_double, c_bool use dftatom, only: get_Vxc, dp, solve_radial_eigenproblem, & integrate, rpoisson_inward, get_atom_orb, atom_lda, mesh_exp, mesh_hyp, &... more »
|
|
Passing String to function
|
| |
Dear Fwrap Users:
I am trying to use Fwrap to wrap a scientific fortran library (getorb,
[link]). I have been using
python only for a year or so, and I don't have much knowledge on
Fortran, so it is possible that I am missing something simple.
I was able to run fwrap with the following command:... more »
|
|
waf?
|
| |
Hello,
I finally came around to give fwrap a try. Now when I try the
testsuite yesterday all tests failed, because it misses fwrap/waf.
Worse, I could not reach the waf website [link]
yesterday. Could it be worth mentioning this requirement in the
README.txt? Is waf the cool new scons/make etc.? Have I been living... more »
|
|
Optional arguments to fortran functions
|
| |
Hello, I'm trying to wrap some functions defined in a fortran F95 module in python. I'm quite ignorant of fortran, so I went for the easiest route and applied what Ondrej describes in this post: [link] I succeeded in building a simple wrapper, I had just to manually mangle... more »
|
|
|