You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps the -finit-local-zero and/or the -fno-automatic flags can be removed.
Both of these flags emulate behavior from fort77. Without extensive testing, it may be hard to know if removing them is safe.
These two flags are not used by drudg and its libraries.
The -fno-automatic flag may not be needed now since save has been added to all the subroutines in clib/novas.f. That change helps support FSL8 where that flag does not seem to work. It is not clear if that has implications for the rest of the FS on FSL8 yet. If there is an issue, another option is to continue to use fort77 on FSL8
OTOH, does using these two flags cause any potential problems?
The text was updated successfully, but these errors were encountered:
I think I needed to add these to get something to work correctly, but I can't recall what exactly. It might have been drudg now that I think of it, but I think John has since removed the need for them.
You could probably track down places where it might be an issue by compiling without the flags and using Valgrind to look for access to uninitialised memory.
Then again, I don't imagine we're losing very much by including them (perhaps a couple of cycles to zero out some memory but that might even be optimised out)
Currently in include.mk we have:
Perhaps the
-finit-local-zero
and/or the-fno-automatic
flags can be removed.Both of these flags emulate behavior from fort77. Without extensive testing, it may be hard to know if removing them is safe.
These two flags are not used by drudg and its libraries.
The
-fno-automatic
flag may not be needed now sincesave
has been added to all the subroutines in clib/novas.f. That change helps support FSL8 where that flag does not seem to work. It is not clear if that has implications for the rest of the FS on FSL8 yet. If there is an issue, another option is to continue to use fort77 on FSL8OTOH, does using these two flags cause any potential problems?
The text was updated successfully, but these errors were encountered: