<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:v =
"urn:schemas-microsoft-com:vml" xmlns:o =
"urn:schemas-microsoft-com:office:office" xmlns:w =
"urn:schemas-microsoft-com:office:word" xmlns:x =
"urn:schemas-microsoft-com:office:excel" xmlns:p =
"urn:schemas-microsoft-com:office:powerpoint" xmlns:a =
"urn:schemas-microsoft-com:office:access" xmlns:dt =
"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s =
"uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs =
"urn:schemas-microsoft-com:rowset" xmlns:z = "#RowsetSchema" xmlns:b =
"urn:schemas-microsoft-com:office:publisher" xmlns:ss =
"urn:schemas-microsoft-com:office:spreadsheet" xmlns:c =
"urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc =
"urn:schemas-microsoft-com:office:odc" xmlns:oa =
"urn:schemas-microsoft-com:office:activation" xmlns:html =
"http://www.w3.org/TR/REC-html40" xmlns:q =
"http://schemas.xmlsoap.org/soap/envelope/" XMLNS:D = "DAV:" xmlns:x2 =
"http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ois =
"http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir =
"http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds =
"http://www.w3.org/2000/09/xmldsig#" xmlns:dsp =
"http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc =
"http://schemas.microsoft.com/data/udc" xmlns:xsd =
"http://www.w3.org/2001/XMLSchema" xmlns:sub =
"http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec =
"http://www.w3.org/2001/04/xmlenc#" xmlns:sp =
"http://schemas.microsoft.com/sharepoint/" xmlns:sps =
"http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi =
"http://www.w3.org/2001/XMLSchema-instance" xmlns:udcxf =
"http://schemas.microsoft.com/data/udc/xmlfile" xmlns:wf =
"http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:mver =
"http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m =
"http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels =
"http://schemas.openxmlformats.org/package/2006/relationships" xmlns:ex12t =
"http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m =
"http://schemas.microsoft.com/exchange/services/2006/messages" XMLNS:Z =
"urn:schemas-microsoft-com:" xmlns:st = ""><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.5694" name=GENERATOR><!--[if !mso]>
<STYLE>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</STYLE>
<![endif]-->
<STYLE>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</STYLE>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></HEAD>
<BODY lang=EN-CA vLink=purple link=blue>
<DIV dir=ltr align=left>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN></P><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><FONT
face="Times New Roman" color=#0000ff size=3></FONT> </o:p></SPAN></DIV>
<DIV class=Section1>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I
just had a peak in the esp-r src/Readme file and it does say that version 4.1 is
recommended.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">As
nearly all new distributions are past version 4.1 (I think), perhaps a note
should be included in the readme that the use of 4.1 also
requires:<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">--compiler_version
-4.1, and<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">that
the argument --gcc4 be passed, which it seems simply trades g77 for gfortran? If
this is not declared, make looks for g77-4.1, which does not
exist.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">This
information could simply go in the “Compilers” section of the
Readme.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN
class=231412116-15122008><FONT face="Times New Roman" color=#0000ff size=3>These
are good suggestions. I will try to fold them into development branch in the
comming weeks. Perhaps the install script should default to gcc4, and provide
the --gcc3 option for backwards compatability? I might even add functions to
query the gcc version number and issue warnings (and possibly enable
floating-point exception handling) for gcc4.2+
systems.</FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">----<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p> </o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">I
do recall some unexplained floating point errors with 4.1 which were of concern
for the last year.<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'">Have
these been resolved?<o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p></o:p></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN
class=231412116-15122008><FONT face="Times New Roman" color=#0000ff
size=3>Yes. </FONT></SPAN><SPAN class=231412116-15122008><FONT
face="Times New Roman" color=#0000ff size=3>We found numerous numerical
exceptions and other dubious code that introduced all sorts of headaches on the
gcc 4.1 and intel toolsets. We've remedied these, and the gcc 4.1, Sun and Intel
compilers now agree well throughout the ESP-r test suite. gcc4.2+
compiled-versions still exhibit some instabilities. Detailed results from our
last round of testing follow. In the future, I'll circulate these test results
more broadly. </FONT></SPAN></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN
class=231412116-15122008><FONT face="Times New Roman" color=#0000ff
size=3></FONT></SPAN></o:p></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN
class=231412116-15122008><FONT face="Times New Roman" color=#0000ff size=3>-
Alex </FONT></SPAN></o:p></SPAN></P><SPAN
style="FONT-SIZE: 11pt; COLOR: #1f497d; FONT-FAMILY: 'Calibri','sans-serif'"><o:p><SPAN
class=231412116-15122008><FONT face="Times New Roman">
<P class=MsoNormal><FONT face="Courier New"><FONT
color=#0000ff></FONT></FONT> </P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT
color=#0000ff>======================<BR>SUMMARY:<BR>======================</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff> - ESP-r compiles
correctly on Linux, Cygwin, MinGW, Solaris and OSX.<BR> - Portability
testing suggests that GCC 4.1.2 builds are actually more<BR>
reliable than GCC3 builds.<BR> - GCC 4.2.3 builds are not as
robust.<BR> - Some uncertainty remains in Intel builds, as well as builds
on OSX.<BR> <BR>Recommendations:<BR> - Proceed with
release.<BR> - The ESP-r 'reference' platform should be changed
from<BR> Linux / GCC 3.4.6 to Linux / GCC 4.1.2<BR> - Cygwin /
GCC 3.4.6 and SUN CC builds should continue to be<BR>
designated as stable<BR> - GCC 4.2+ and Intel builds should be used with
caution.<BR> - Compiler optimization should be used with
caution.<BR> - OSX / GCC 3.4.6 and MinGW / GCC 3.4.6 builds should be used
with<BR> caution.</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>Detailed results
follow.</FONT></FONT></P>
<P class=MsoNormal><BR><FONT face="Courier New"
color=#0000ff>======================<BR>Static
Analysis:<BR>======================</FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff>The Forcheck static
analyzer warns of no additional coding errors in the current version of
pre-release-patches. The total number of errors, warnings and informational
numbers as declined from the last release.</FONT></P>
<P class=MsoNormal><BR><FONT face="Courier New"
color=#0000ff>======================<BR>Regression
testing:<BR>======================</FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff>Changes since the last
revision have introduced significant numerical differences into the results. But
for the first time, all the numerical differences were anticipated by
developers, and no unintended effects were observed during testing.</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>Two revisions
introduced numerical differences in to the results:</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> r2838:
This commit patched a long-standing bug in the water
tank<BR> storage model. Predicted
water temperatures in the plant<BR>
network may differ by as much as 3oC; predicted casual
gains<BR> in the space may differ by
as much as 3W.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> r3088:
This commit corrected an error in the application of
relaxation<BR> to the plant network
solution scheme. Predicted heat
transfer<BR> in the plant may differ
by as much as 400W (1%), predicted<BR>
temperatures in the plant may differ by as much as 18oC
in<BR> extreme
cases.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"
color=#0000ff>======================<BR>Portability
testing:<BR>======================</FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff>The release candidate
can be successfully installed on the following platform, compiler and graphics
library combinations. We've also added support for the Intel compiler suite on
linux. Jon Hand has been experimenting with support for 64-bit architecture, but
this work has not yet been generalized for inclusion in the public release.
</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>We've
successfully installed ESP-r using the following 32-bit platform, compiler and
graphics library combinations:</FONT></FONT></P>
<P class=MsoNormal><BR><FONT face="Courier New"
color=#0000ff> Support for
ESP-r on various compiler,
platform<BR>
and graphics library combinations.<BR>
=============================================================<BR>
Compiler Library Linux
Cygwin MinGW Sun OSX<BR>
=============================================================<BR>
GCC 3.4.X
X11
O O<BR> SUN
CC
X11
O<BR> GCC 3.4.4
X11
O<BR>
noX
O<BR> GCC 3.4.5
noX
*<BR> GCC 3.4.6
X11
O<BR>
GTK
O<BR>
noX
O<BR> INTEL
noX
O<BR>
X11
O<BR>
GTK
O<BR> GCC 4.1.2
X11
O<BR> GCC 4.2.3
X11
O<BR>
-------------------------------------------------------------<BR>
Notes:<BR> O: Installs correctly.<BR> *:
MinGW only installs correctly to absolute DOS paths<BR> (i.e.
C:/ESRU)<BR>
=============================================================</FONT></P>
<P class=MsoNormal><BR><FONT face="Courier New" color=#0000ff>We've also
undertaken a comprehensive comparison of the numerical results produced by ESP-r
on various platforms. Previously, these comparisons were limited to various
versions of the GCC compiler suite on Linux and cygwin. Since the last
release, Jon Hand has worked to add support for XML-enabled builds on OSX and
Solaris, using both the GCC and Sun compiler suites. Along with new support for
the Intel compiler, these new capabilities add important reference points for
our ongoing evaluation of GCC4/gFortran</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>For the last few
years, we've designated GCC 3.4.6/Linux builds as the reference version of
ESP-r. Most ESP-r development and automated testing is based on this platform,
and bps's numerical predictions on this platform receive scrutiny than any
other. GCC 3's fortran 77 compiler<SPAN class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN>(g77) has been obsoleted by
gFortran, a fortran 90 compiler released with GCC 4. <SPAN
class=231412116-15122008><FONT face="Times New Roman"> </FONT><FONT
face="Courier New"> </FONT></SPAN></FONT></FONT><FONT color=#0000ff><FONT
face="Courier New">Results differ somewhat between g77 and gFortran builds, and
we've been wondering if they're caused by bugs in g77 or gFortran, or perhaps
poor ESP-r code that one of the compilers is more sensitive to.</FONT><FONT
face="Times New Roman"><SPAN class=231412116-15122008> <FONT
face="Courier New"> </FONT> </SPAN></FONT><FONT face="Courier New">For the
first time, we have additional reference points (Intel and Sun<SPAN
class=231412116-15122008><FONT face="Times New Roman">
</FONT></SPAN>CC/f90) to perform these comparisons with.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>The following
chart summarizes the significant observed differences between the and
other platform and compiler combinations. The "Maximum difference" reflects the
maximum observed difference observed in the test cases, excluding exceptional
test cases that are discussed in section 'Problematic test cases',
below..</FONT></FONT></P>
<P class=MsoNormal><FONT color=#0000ff></FONT><BR><FONT face="Courier New"
color=#0000ff> Comparison of results from
GCC4.1.2-compiled versions<BR> (X11, Linux) with
builds from other platform/compilers.<BR>
=============================================================<BR>
Arch. Platform
Compiler Maximum difference
(%)<BR>
-------------------------------------------------------------<BR>
IA-32 CYGWIN GCC
3.4.4
3.18<BR>
LINUX GCC
3.4.6
3.18<BR>
GCC 4.2.3
0.
(^1)<BR>
Intel -O0 0.75
(^2)<BR>
Intel -O2
38.781<BR> PowerPC
OSX GCC
3.4
16.1<BR> Sparc
SOLARIS Sun
CC/f90
1.80<BR>
-------------------------------------------------------------<BR>
NOTES:<BR> 1. Some test cases produced numerical
exceptions and <BR> floating
point errors. See "Problematic Test Cases".<BR> 2.
One test case produced a larger error (~13%). See below. <BR>
=============================================================</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>Detailed
scrutiny of the results revealed:</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> - gFortran
vs Intel iFort / SUN f90 <BR>
---------------------------------<BR> With optimization disabled,
the results from SUN and Intel compilers<BR> consistently agree more
closely with GCC 4.1.2 / gFortran than they<BR> do with GCC 3.4.6 /
g77. These results suggest GCC 4.1.2 can be used<BR> with
confidence, and indeed, should be recommended in place of g77.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff> - Stability of
gFortran<BR> ---------------------<BR> GCC 4.2.3 builds
encounter numerical exceptions in a handful of test<BR> cases that
ran correctly in all other compilers (See "problematic<BR> test
cases", below). I recommend GCC 4.<SPAN class=231412116-15122008><FONT
face="Times New Roman">2+ </FONT></SPAN> builds be regarded as<SPAN
class=231412116-15122008><FONT face="Times New Roman"> </FONT><FONT
face="Courier New">'beta'</FONT></SPAN><BR><SPAN class=231412116-15122008><FONT
face="Times New Roman"> <FONT face="Courier New">
</FONT> </FONT></SPAN> until this issue is resolved.</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008> </SPAN> - Intel iFort results: effect of
optimization<BR>
-------------------------------------------<BR> With optimization
deactivated, the Intel compiler consistently produced<BR> results
close to the gFortran and Sun f90 builds. But When the default<BR>
optimization is activated (using the -O2) option, agreement
between<BR> the Intel and GCC 4.1.2 compiler deteriorates
considerably. Nearly<BR> all of the models exhibit small, non-trace
differences, and in every<BR> case these differences were slightly,
or significantly larger than<BR> those observed with optimization
deactivated.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008> </SPAN> Its possible this error is due to
bugs in Intel's optimization<BR> algorithm, but poor code in ESP-r
is more likely the culprit. For<BR> instance, when -O0 is specified,
the compiler ensures that arguement<BR> mismatches in procedure
calls are properly converted, but does not<BR> perform these
conversions by default.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>
This problem might occur in GCC builds as well. By default, GCC
uses<BR> no optimization. I suspect similar issues might appear if
-O2 is<BR> specified for g77/gFortran builds.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff> For these
reasons, application of optimization options with ESP-r<BR> is not
presently recommended.</FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> - Intel
iFort results: test case bld_hc_ISO15099 /HC<BR>
--------------------------------------------------<BR> Newly added
for this release, this test case continues to cause<BR> headaches.
Intel-compiled versions of bps exhibit significant<BR> differences
from g77/gFortran builds:<BR> <BR> -
MAX error
(W)
199.37 W ( 13.293 %) <BR> - Predicted value
- g77 1499.8
W<BR>
Intel 1300.4
W<BR> [ observed
in:<BR>
building:zone_05:thermal_loads:net_load:month_01 (max) ]<BR>
<BR> The corresponding test case that does not activate the
ISO15099<BR> correlation does not exhibit the same error, suggesting
the Intel<BR> compiler is exposing a sensitive compoment of the
ISO15099 algorithm,<BR> or vice-versa.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> The
SUN CC/f90 results we have do not include this test case,<BR>
precluding assessment of whether the g77/gFortran or Intel
predictions<BR> are more accurate. For this reason, the Intel
compiler suite is only<BR> recommended for beta testing for the time
being.</FONT></FONT></P>
<P class=MsoNormal><FONT color=#0000ff></FONT><FONT color=#0000ff></FONT><FONT
color=#0000ff></FONT><BR><FONT face="Courier New" color=#0000ff> - OSX /
GCC builds<BR> ----------------<BR> A handful of test
cases exhibited suprising sensitivity when run<BR> with GCC 3.4
compiled builds on OSX. The cause of these differences<BR> is not
known; OSX builds should be used with caution for the time <BR>
being. </FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT
color=#0000ff>===========================<BR>Problematic test
cases<BR>===========================</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> -
esru_benchmark_model /
bld_basic_af2_summer<BR>
/ bld_basic_af2_winter<BR>
-------------------------------------------<BR> We've previously
observed the that this coarse-timestep air flow<BR> network test
case produces significant differences in g77 and<BR> gFortran
builds. The long, half-hour timesteps cause small<BR> differences in
the numerical computations to be exaggerated in<BR> the aggregated
output --- increasing time resolution vastly improves<BR> agreement
between the compilers.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff> The
Linux / Intel, Solaris / SUN CC-f90, and OSX / g77 platforms all<BR>
exhibit the same sensitivity. They produce differing results at<BR>
short-timesteps, but agreement with Linux / g77 improves at
higher<BR> time-resolutions.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff>
Since we've observed that each compiler combination produces
dissimilar<BR> results and that the high-resolution version is more
useful,<BR> this test case has little value. For this reason, I
recommend we<BR> delete it.</FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New"><FONT color=#0000ff><SPAN
class=231412116-15122008><FONT
face="Times New Roman"> </FONT></SPAN></FONT></FONT></P>
<P class=MsoNormal><FONT face="Courier New" color=#0000ff> -
plt_boundary_conditions /
connected_flow<BR>
connected_temperature<BR>
unconnected_controls<BR>
unconnected_flow<BR>
unconnected_temperature<BR>
-------------------------------------------------<BR> While they run
correctly in every other compiler (including GCC 4.1.2),<BR> these
test cases produce<SPAN
class=231412116-15122008> undiagnosed </SPAN>numerical exceptions in
GCC 4.2.3.</FONT></P>
<P class=MsoNormal></FONT> </SPAN></o:p></SPAN></P></DIV></BODY></HTML>