- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Im porting a program written in fortran 90/95 unix to QVF6.5 pc. After fixing some small problems i am able to compile and run the program. The problem is that the calculated results differ from the old version. My question is if there is any known conversion errors, let's say datatypes that aren't the same or other things that can cause wrong calculations but without causing compiler errors?
(the program is BIG, and I haven't written the original)
(the program is BIG, and I haven't written the original)
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are lots of potential reasons. One is data alignment of derived types and commons. Another is if the program makes any assumption about floating point or other binary formats that might be different between the original and new architectures. One thing you can do is turn on all warnings and see if the compiler can flag anything that might assist you in locating this sort of thing. Otherwise you'll probably want to have the program output intermediate results so you can pinpoint where the results start to diverge.
James
James

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