how can I compile fortran source with fortran module?

107 views
Skip to first unread message

Wonjun, Choi

unread,
Feb 21, 2012, 12:11:47 AM2/21/12
to Fwrap Users
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?

Wonjun, Choi
Reply all
Reply to author
Forward
0 new messages