- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am beginner at Linux and also do not have a big experience in fortran. I try to use Fortran 77 external subroutine (ODE solver vode.f from the Netlib Repository) for my Fortran 90 code. How should I correctly compile and link them with ifort 8.0 compiler?
Thanks,
Ismail
I am beginner at Linux and also do not have a big experience in fortran. I try to use Fortran 77 external subroutine (ODE solver vode.f from the Netlib Repository) for my Fortran 90 code. How should I correctly compile and link them with ifort 8.0 compiler?
Thanks,
Ismail
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Here's what I would recommend:
ifort -c vode.f
ifort -o myprog myprog.f90 vode.o
Mixing fixed and free-form source on a single command often causes problems, so compile the fixed-form source separately.
ifort -c vode.f
ifort -o myprog myprog.f90 vode.o
Mixing fixed and free-form source on a single command often causes problems, so compile the fixed-form source separately.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page