Re: [julia-users] shared library created by ifort can't be imported correctly

2016-11-15 Thread 博陈
在 2016年11月15日星期二 UTC+8下午4:29:17,Ángel de Vicente写道: > > Hi, > > 博陈 > writes: > > The julia code: > > > > !f90tojl.f90 > > module m > > contains > > integer function five() > > five = 5 > > end function five > > end module m > > > > The corresponding julia code: > > #test.jl > > prin

Re: [julia-users] shared library created by ifort can't be imported correctly

2016-11-15 Thread Angel de Vicente
Hi, 博陈 writes: > The julia code: > > !f90tojl.f90 > module m > contains > integer function five() > five = 5 > end function five > end module m > > The corresponding julia code: > #test.jl > println(ccall( (:__m_MOD_five, "f90tojl"), Int, () )) > > The test command and the result: (test is the di

[julia-users] shared library created by ifort can't be imported correctly

2016-11-14 Thread 博陈
The julia code: !f90tojl.f90 module m contains integer function five() five = 5 end function five end module m The corresponding julia code: #test.jl println(ccall( (:__m_MOD_five, "f90tojl"), Int, () )) The test command and the result: (test is the directory, not a command) ➜ te