[esp-r] Re: ESP-r V.13.3.15 compilation issue

Clodoaldo Carvalho Filho clodoaldo at ufc.br
Fri Nov 4 12:55:09 GMT 2022


Thanks Jon, it worked nicely!

Sds,

Clodoaldo.

*Prof. Clodoaldo de O. Carvalho Filho, Dr.*
Universidade Federal do Ceará
Depto. de Engenharia Mecânica
Lab. de Eficiência Energética no Conforto Ambiental - Coordenador
ASHRAE Fortaleza Student Branch - Advisor




Em qui., 3 de nov. de 2022 às 15:18, Jon Hand <jon at esru.strath.ac.uk>
escreveu:

>
> There are a couple of lines of code that newer compilers are
> sensitive to in one source file of the results analysis program.
>
> I fixed this and attach the revised source file.  Copy it into
> the eres folder and recompile.
>
> Regards, Jon Hand
>
> ------------------------------
> *From:* esp-r-bounces at lists.strath.ac.uk <esp-r-bounces at lists.strath.ac.uk>
> on behalf of Clodoaldo Carvalho Filho <clodoaldo at ufc.br>
> *Sent:* 03 November 2022 16:28
> *To:* esp-r at lists.strath.ac.uk <esp-r at lists.strath.ac.uk>
> *Subject:* [esp-r] ESP-r V.13.3.15 compilation issue
>
> Hi,
>
> When compiling the recent version of ESP-r source downloaded from <
> https://www.esru.strath.ac.uk//downloads/downloads.htm>, I got the
> following message:
>
>  [START OF MESSAGE]
>
> Compilation messages follow:
>  -----------------------------------------
> Compilation of res on qui 03 nov 2022 13:02:10 -03
>  Make command:
>  -------------
>    make MCTYPE=lin MCC=gcc MCPL=g++ MFC=gfortran DESTdir=/opt/esp-r
> ESPdir=/opt/esp-r WWLINK=unshared EXE= XINSTALLDIR=/usr CFLAGS=-I../include
> -I../shocc -I/usr/local/include -I../cetc/h3kreports -I/usr/include
> -I/usr/include/freetype2 -I/usr/include -I/usr/include/libxml2
> -I/usr/local/include/libxml2 -I/usr/include/libxslt
> -I/local/include/libxslt -DLIN -DX11 -O1 -DXSL  FFLAGS=-I../include
> -I../shocc -I/usr/local/include -I../cetc/h3kreports -DLIN -DX11 -O1
> -fno-automatic -mcmodel=medium -DGCC4
> LD_FLAGS=-Wl,--reduce-memory-overheads
> ULIBS=-L/home/clodoaldo/Downloads/ESP-r_V13.3.15_Src/src/lib -lversion
> -lxesru -L/usr/lib64 -lX11 -lXft -lXML -lstdc++ -lxslt -lxml2 -lSQLite
>  xml_status= SQLite_status= FMIarg=disableFMI -f Makefile  res >>.make_msg
> 2>&1
>
>  Make output:
>  ------------
> if [ "" = "yes" ]; then \
>   cd `pwd`/eres; make ESPBinDir= EXE= install; \
> else \
>   cd `pwd`/eres; make; \
> fi
> make[1]: Entrando no diretório
> '/home/clodoaldo/Downloads/ESP-r_V13.3.15_Src/src/eres'
> gfortran -I../include -I../shocc -I/usr/local/include -I../cetc/h3kreports
> -DLIN -DX11 -O1    -fno-automatic -mcmodel=medium -DGCC4 -c mosensa.F
> mosensa.F:261:26:
>
>   261 |             call DATIME(J,ATIME)
>       |                          1
> ......
>  1557 |             call DATIME(J,ATIME)
>       |                          2
> Error: Type mismatch between actual argument at (1) and actual argument at
> (2) (REAL(8)/REAL(4)).
> make[1]: *** [Makefile:21: mosensa.o] Erro 1
> make[1]: Saindo do diretório
> '/home/clodoaldo/Downloads/ESP-r_V13.3.15_Src/src/eres'
> make: *** [Makefile:185: res] Erro 2
>  -----------------------------------------
>
>  Executable res could not be built!
>  Installation aborted.
> [ END OF MESSAGE ]
>
> Any idea of what the problem is and how to solve it? Any help
> is appreciated.
>
> Best regards,
>
> Clodoaldo.
>
> *Prof. Clodoaldo de O. Carvalho Filho, Dr.*
> Universidade Federal do Ceará
> Depto. de Engenharia Mecânica
> Lab. de Eficiência Energética no Conforto Ambiental - Coordenador
> ASHRAE Fortaleza Student Branch - Advisor
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.strath.ac.uk/archives/esp-r/attachments/20221104/1ce67e69/attachment.html 


More information about the esp-r mailing list