<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.5659" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=770021915-10122008>We've recently concluded
that version 4.1 of the GCC compiler (gcc/g++/gfortran) is actually more
robust than GCC 3.4 (gcc/g++/g77). gcc 4.2.X has produced some unexplained
floating-point errors in ESP-r code; all of these relate to the plant network.
We have not yet tested ESP-r using gcc 4.3.X.</SPAN></DIV>
<DIV><FONT color=#0000ff></FONT> </DIV>
<DIV><B><SPAN lang=en-us>Alex Ferguson</SPAN></B><SPAN
lang=en-us><BR>Sustainable Buildings and Communities (Housing
Group)<BR>CanmetENERGY<BR>Natural Resources Canada<BR>P:+1 613 995 3294<BR>F:+1
613 996 9909<BR>Alex.Ferguson@nrcan.gc.ca<BR></SPAN></DIV>
<DIV> </DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> esp-r-bounces@lists.strath.ac.uk
[mailto:esp-r-bounces@lists.strath.ac.uk] <B>On Behalf Of </B>Per
Haugaard<BR><B>Sent:</B> December 10, 2008 08:58<BR><B>To:</B> esp-r;
ESP-r_ny<BR><B>Subject:</B> [esp-r] Re: Compiling ESP-r source
code<BR></FONT><BR></DIV>
<DIV></DIV>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top>H<SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">ey
Jon and the rest of the usergroup.,</SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">Thank you for your reply
to my query. I have a Ubuntu version 8.10 and it seems like it use gcc,
g++ and gfortran version 4.3.2. There are no g77 in the package
manager.</SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN
style="FONT-FAMILY: arial,helvetica,sans-serif">I therefore concluded that
I have to install via the command: </SPAN><BR
style="FONT-FAMILY: arial,helvetica,sans-serif"><PRE><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif"> ./Install -d /opt/esru42 --gcc4</SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif"><BR>Is it safe to run ESP-r with gcc4 compiler?<BR style="FONT-FAMILY: arial,helvetica,sans-serif"><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">I can via the install --help see that I should use the gcc3-version </SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">because the result obtained with ESP-r binaries build with gcc4 exhibit </SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif">unexplained differences.</SPAN> <BR><BR>How do I on my machine increase the number of zone and keep a high <BR>accuracy in the calculations? Can I compile it to gcc3 instead and how do I do that?<BR><BR>Any help is appreciated.<BR><BR><BR>Best regard<BR><BR>Per Haugaard<BR style="FONT-FAMILY: arial,helvetica,sans-serif"><SPAN style="FONT-FAMILY: arial,helvetica,sans-serif"> </SPAN><BR style="FONT-FAMILY: arial,helvetica,sans-serif"></SPAN><BR></PRE><BR><BR><BR>______________________<BR><BR>Per
Haugaard,<BR>Griffenfeldsgade 33, 2.tv<BR>2200 København
N<BR>Denmark<BR><BR>mobil: +45 26 39 06 40<BR>E-mail:
perhaugaard@yahoo.dk<BR><BR>--- Den <B>ons 10/12/08 skrev Jon Hand
<I><jon@esru.strath.ac.uk></I></B>:<BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: rgb(16,16,255) 2px solid">Fra:
Jon Hand <jon@esru.strath.ac.uk><BR>Emne: [esp-r] Re: Compiling
ESP-r source code<BR>Til: "perhaugaard@yahoo.dk"
<perhaugaard@yahoo.dk>, "ESP-r_ny"
<esp-r@lists.strath.ac.uk>, "esp-r"
<esp-r@strath.ac.uk><BR>Cc: "Jon Hand"
<jon@esru.strath.ac.uk><BR>Dato: onsdag 10. december 2008
10.44<BR><BR><PRE>A recent question about compiling. Actually there are more issues in the<BR>warning<BR>message than about XML....<BR><BR>You can get around the XML issue by saying no to the inclusion of XML.<BR><BR>There is a line g77: command not found - this is the fortran compiler and<BR>nothing<BR>is going to happen if it does not find the compiler. What is likely is that:<BR>a) your machine is newer and is using the
gfortran compiler and a newer<BR> version of the gcc compiler collection. Check this via the commands<BR> which gcc<BR> gcc --version<BR><BR> which g77<BR> g77 --version<BR><BR> which gfortran<BR> gfortran --version<BR><BR>Sometimes g77 is really g77-3.4 and gcc is really gcc-3.4 in which case<BR>you would install via the command<BR> ./Install -d /usr/esru --compiler_version -3.4<BR><BR>If your machine has gfortran and is using a version of gcc greater than 4.0<BR>then check the Install --help messages for the syntax of using version 4<BR>compilers.<BR><BR>b) your machine does not have either the g77 or gfortran then you<BR>will need to use your package manager to install the compiler.<BR><BR>-ESRU<BR>________________________________________<BR>From: esp-r-bounces@lists.strath.ac.uk [esp-r-bounces@lists.strath.ac.uk] On<BR>Behalf Of Per Haugaard [perhaugaard@yahoo.dk]<BR>Sent: 10 December 2008 09:01<BR>To: ESP-r_ny; esp-r<BR>Cc: Per
Haugaard<BR>Subject: [esp-r] Compiling ESP-r source code<BR><BR>Dear Usergroup,<BR><BR>I have installed the pre-compiled binary files with out any problems. In an<BR>actual project I need to increase the number of zones to 42 and therefore I have<BR>tried to compile the ESP-r source code according to this.<BR><BR>During the installation the following warning message 'libxml2 library does<BR>not appear to be installed' is showed and the installation is stopped. Refer<BR>to the below massage:<BR><BR>cd `pwd`/lib; \<BR> make the_libNoH3KReports<BR>make[1]: Entering directory `/trunk/src/lib'<BR>rm -f TReports_dummy.F ;<BR>ln -s `pwd`/../cetc/h3kreports/TReports_dummy.F . ;<BR>g77 -I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports -DLIN<BR>-DX11 -fno-automatic -finit-local-zero -c TReports_dummy.F<BR>make[1]: g77: Command not found<BR>make[1]: *** [TReports_dummy.o] Error 127<BR>make[1]: Leaving directory `/trunk/src/lib'<BR>make: ***
[disableXML] Error 2<BR> -----------------------------------------<BR> Install: Fatal error.<BR> Executable disableXML could not be built!<BR> Installation aborted.<BR><BR>I have looked in the synaptic package manager and I have issued apt-get install<BR>libxml2 but it is allready installed on the system but does not appear in the<BR>/src/include or /usr/local/include folder.<BR><BR>Any idea of what has gone wrong in my installation of the source code?<BR><BR>Any help is appreciated :)<BR><BR><BR>Best regards<BR><BR>Per Haugaard<BR><BR><BR>______________________<BR><BR>Per Haugaard,<BR>Griffenfeldsgade 33, 2.tv<BR>2200 København N<BR>Denmark<BR><BR>mobil: +45 26 39 06 40<BR>E-mail: perhaugaard@yahoo.dk<BR><BR>________________________________<BR><BR>Find din nye laptop på kelkoo.dk. Se de gode tilbud<BR>her<http://dk.yahoo.com/r/pat/mm>!<BR><BR>_______________________________________________<BR>esp-r mailing
list<BR>esp-r@lists.strath.ac.uk<BR>http://lists.strath.ac.uk/mailman/listinfo/esp-r<BR></PRE></BLOCKQUOTE></TD></TR></TBODY></TABLE><BR>
<HR SIZE=1>
<BR>
<TABLE>
<TBODY>
<TR>
<TD>Trænger du til at se det store billede? Kelkoo giver dig gode tilbud
på <A href="http://dk.yahoo.com/r/pat/lcd">LCD
TV</A>!</TD></TR></TBODY></TABLE></BODY></HTML>