, 2016 at 10:22:08 PM UTC-4, Charles Ll wrote:
>>
>> Dear all,
>>
>> I use a Fortran code in my package Spectra.jl, it is working really
>> nicely. However, I still use the absolute library path in ccall. From
>> discussion in the Gitter, I know that I cou
Dear all,
I use a Fortran code in my package Spectra.jl, it is working really nicely.
However, I still use the absolute library path in ccall. From discussion in
the Gitter, I know that I could use eval, but my ccall is in a function so
as eval works on global variables, it seems not
I faced a similar problem, and actually had to indicate the absolute path
of the shared library.
Also, when calling a Fortran function/subroutine, you need to add an
underscore after its name. So maybe try the following:
ccall((:hello_,"/my/path/HelloWorld.dll"),Void,())
Le jeudi 23 juin
the Python
wrapper which works usually very well... Not the best thing to call Python
to call Fortran but if it works...
If anybody have an idea... it will be very welcome!
Le jeudi 9 juin 2016 11:23:42 UTC+10, Charles Ll a écrit :
>
> Yes, the full code and the test notebook that I used
t;call" these variables, and what the error
> message is?
>
> The more detail you give, the easier it is to help.
>
> -erik
>
>
> On Mon, Jun 6, 2016 at 8:16 PM, Charles Ll <charles...@gmail.com
> > wrote:
>
>> Dear all,
>>
>> Thank yo
ps://github.com/JuliaLang/julia/blob/master/base/linalg/blas.jl
>
> https://github.com/JuliaLang/julia/blob/master/base/linalg/lapack.jl
>
>
> Paulo
>
> On Monday, June 6, 2016 at 9:16:27 PM UTC-3, Charles Ll wrote:
>>
>> Dear all,
>>
>> Thank you very muc
and `Int64`.
>
> -erik
>
>
> On Mon, Jun 6, 2016 at 6:07 AM, Páll Haraldsson <pall.ha...@gmail.com
> > wrote:
>
>> On Monday, June 6, 2016 at 3:22:47 AM UTC, Charles Ll wrote:
>>>
>>> Dear all,
>>>
>>> I am trying to call some Fortr
Dear all,
I am trying to call some Fortran code in Julia, but I have a hard time
doing so... I have read the docs, looked at the wrapping of ARPACK and
other libraries... But I did not find any way to make it work.
I am trying to wrap a spline function library
(gcvspl.f,
hodError: `f` has no method matching f(::Int64, ::Int64, ::Int64)
> Closest candidates are:
> f(::Any, ::Any)
>
> julia> f(2, 3, z = 4)
> 9
>
> Den torsdag 12 maj 2016 kl. 12:51:13 UTC+2 skrev Charles Ll:
>>
>> Dear all,
>>
>> There is something I
Dear all,
There is something I did not understood well in Julia regarding the type fo
the variables and this creates difficulties with the functions I am writing.
For one of the functions of Spectra.jl package, I wrote for instance:
function
10 matches
Mail list logo