- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi
When I run my code the PRINT*, or WRITE(*,*) statement inside the loop
changes the result. This happens when I want to print two variable
but when I print just one variable results are different.
following is that part of the code:
COMPLEX*16 AMU, ANU , AMUNU, ANUMU, CHERN,
$ FMUNU, DIFFA
.
.
.
WRITE(*,*) DIFFA
WRITE(*,*) FMUNU
when I just print one of DIFFA or FMUNU the result is different from the time
of writing both of them.
Thank you
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This behavior is typically a result of a bug in your program, possibly compounded by optimization of the buggy code.
To find a solution, we need a complete example source code that exhibits this behavior.
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