[esp-r] Re: Problem on plant database compilation...
Jon Hand
jon at esru.strath.ac.uk
Tue Oct 29 17:00:29 GMT 2019
This is a string buffer overflow that is happening while writing
the title of the application. To correct this open up the file
pdb.F in a text editor and look for a string variable named pagestitle
change its definition to the following and this should fix the issue.
character pagestitle*112 ! for banner title via epages call
You then need to re-compile the pdb application.
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: 29 October 2019 16:34
To: esp-r at lists.strath.ac.uk
Subject: [esp-r] Problem on plant database compilation...
Hello everyone,
I'm trying to compile esp-r v.13.3.7 source code on Unbutu 18.04 LTS with gcc and GNU Fortran 8.3.0. The whole process seems to run OK except for pdb and plant databases.
This is the output I got:
- installing plant components databases ...At line 192 of file pdb.F
Fortran runtime error: End of record
Error termination. Backtrace:
#0 0x7f2d855be70d in ???
#1 0x7f2d855bf235 in ???
#2 0x7f2d855bfc9b in ???
#3 0x7f2d857e1168 in ???
#4 0x7f2d857ed035 in ???
#5 0x7f2d857e466c in ???
#6 0x7f2d857e482b in ???
#7 0x7f2d857e1035 in ???
#8 0x564573b59b48 in ???
#9 0x564573b5c902 in ???
#10 0x7f2d84c19b96 in ???
#11 0x564573b4e129 in ???
#12 0xffffffffffffffff in ???
mv: não foi possível obter estado de 'plantc.db1': Arquivo ou diretório inexistente
At line 192 of file pdb.F
Fortran runtime error: End of record
Error termination. Backtrace:
#0 0x7f0da1cb270d in ???
#1 0x7f0da1cb3235 in ???
#2 0x7f0da1cb3c9b in ???
#3 0x7f0da1ed5168 in ???
#4 0x7f0da1ee1035 in ???
#5 0x7f0da1ed866c in ???
#6 0x7f0da1ed882b in ???
#7 0x7f0da1ed5035 in ???
#8 0x55928feafb48 in ???
#9 0x55928feb2902 in ???
#10 0x7f0da130db96 in ???
#11 0x55928fea4129 in ???
#12 0xffffffffffffffff in ???
mv: não foi possível obter estado de 'plantc.db2': Arquivo ou diretório inexistente
At line 192 of file pdb.F
Fortran runtime error: End of record
Error termination. Backtrace:
#0 0x7f832a5a370d in ???
#1 0x7f832a5a4235 in ???
#2 0x7f832a5a4c9b in ???
#3 0x7f832a7c6168 in ???
#4 0x7f832a7d2035 in ???
#5 0x7f832a7c966c in ???
#6 0x7f832a7c982b in ???
#7 0x7f832a7c6035 in ???
#8 0x55af8857cb48 in ???
#9 0x55af8857f902 in ???
#10 0x7f8329bfeb96 in ???
#11 0x55af88571129 in ???
#12 0xffffffffffffffff in ???
mv: não foi possível obter estado de 'plantc.tt<http://plantc.tt>': Arquivo ou diretório inexistente
done.
I experience the same problem when installing the precompiled version downloaded from ESRU.
Any help would be appreciated.
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
PET Engenharia Mecânica - Tutor
ASHRAE Fortaleza Student Branch - Advisor
More information about the esp-r
mailing list