Software Archive
Read-only legacy content
17061 Discussions

compiling MS Fortran 5. 1 code in DVF

kvrichardson
Beginner
1,000 Views
Hello.
I'm bringing thousand of lines of MS Fortran 5.1 code into the DVF environment to try to compile it. Do I follow the guidelines for porting MS Powerstation for the most part, or are there additional steps I need to take? Where would I find those steps?

My first compile had 3000 errors and 5000 warnings!

Is DVF the best place for me to maintain and update this code, or should I be in an old program like Codeview or Codeview for Windows?

Any starting tips would be appreciated!

Regards,

Keith Richardson
0 Kudos
3 Replies
Steven_L_Intel1
Employee
1,000 Views
Visual Fortran is a fine environment to use.

What kinds of errors are you seeing? For there to be that many, something seriously is wrong. It should not need a significant porting effort.

Steve
0 Kudos
Intel_C_Intel
Employee
1,000 Views
Hi Keith,
I've ported lots of code (Lahey; MS Fortran; Unix->PC; etc) and I think in the situation you've described I'm sure you'll find that one of the early compiler errors is causing most of the rest of the "errors". Errors in "include" or "common" statements that appear in multiple source files for example.
Don't bother with Codeview, it was good in its day, debugging in DVF/CVF is better and easier.
One of the few porting differences I keep tripping on is the default recordlength (RECL) in DVF is 4 bytes.

Good luck, Guy
0 Kudos
kvrichardson
Beginner
1,000 Views
The port to DVF 6.5A going well now. My list of things to correct is very short....removing "$storage:2" and a few errors in common took care of most of my issues.
Thanks !
Keith

Keith
0 Kudos
Reply