- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear All
I have a F77 code to solve for a system of nonlinear equations. The code works well and gives me correct results when I compile it using gfortran. However, the same code returns me initial guess, when I compile it using ifort.
It seems the code does not undergo iterations to change the initial guess to the final values.
Any suggestion how to fix this?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
One reason could be that there are uninitialised variables. Such variables can have any value. Quite often that value is zero, but there is no guarantee. It could be anything. And the value these variables have depends on the compiler and the compile options. If this happens to a variable controlling the iteration, that may very well explain the behaviour you're seeing.

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