Re: [julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-19 Thread Mauro
Welcome to Julia! You probably shouldn't necromance such an old thread, instead make a new one and link to the old ones you researched. Anyway, in the old thread, I linked to a blog post of mine on this topic (I just saw that its formatting was all messed up: now fixed):

Re: [julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-19 Thread pokerhontas2k8
Yes, sorry, next time I will open a new thread. I actually already have a new problem, so I am going to post that in a new thread. This particular problem here has been solved. I didn't manage to get it working with ifort (I guess there is no hope?) and with gfortran I noticed that the

[julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-18 Thread Pieterjan Robbe
I think you need to specify the path that points to the module, not just the module name.

[julia-users] Re: Examples of integrating Fortran code in Julia

2016-01-18 Thread pokerhontas2k8
Hi, first of all, I am new to Julia (and Fortran). I tried to follow OP's example and call Fortran from Julia. First, I was using the Intel Fortran compiler and tried to compile the following .f90 file (saved as f90tojl.f90) module m contains integer function five() five = 5 end

[julia-users] Re: Examples of integrating Fortran code in Julia

2014-12-17 Thread Tony Kelman
Also you're going to be better off using the MinGW-w64 cross-compilers, rather than the Cygwin's own gfortran. Try installing mingw64-x86_64-gcc-fortran through Cygwin's setup for 64 bit, or mingw64-i686-gcc-fortran for 32 bit. Then instead of calling gfortran to compile your Fortran code,