g77 optimization fails with current versions
From: "Olofsen, E. (ANST)" E.Olofsen@lumc.nl
Subject: [NMusers] g77 optimization fails with current versions
Date: 12/11/2003 9:28 AM
Dear NONMEM users,
NONMEM + ADVAN3 compiled using g77 versions 3.2.2 and 3.2.3 with -O3
(and possibly with -O2 and other versions) may produce error messages
such as
PK PARAMETER FOR K12 IS NON-POSITIVE
or
PRED RETURNS DIFFERENT OUTPUTS WITH THE SAME INPUTS
When I compiled PREDI with -O3 -fno-gcse, these error messages
disappeared. This is probably related to a bug in these, rather
current, versions of gcc, and other NONMEM subroutines may be compiled
incorrectly as well.
I'm currently checking the gcc bug archives and testing the latest
version, 3.3.2, but it seems the bug hasn't been solved yet.
Erik Olofsen
Leiden University Medical Center