ESP-rCommunity / ESP-rSource

ESP-r source code
23 stars 14 forks source link

FORTRAN runtime error reslib.F:701 #11

Open viric opened 6 years ago

viric commented 6 years ago

Hello,

I tried my first simulation with a house I designed and, having all checks passed (connections, constructions, operations, ...), the simulation starts and crashes with a FORTRAN runtime error pointing to this line:

https://github.com/ESP-rCommunity/ESP-rSource/blob/master/src/esrubps/reslib.F#L701

Saying something about going beyond record length. I got the message yesterday at home and now I don't recall it fully. The ".res" file is created and gets about 90KB before the runtime error.

Yesterday I tried to get into the espr mailing list but I'm waiting for approval still, it seems.

Simulations with the examples provided work fine.

joninglasgow commented 6 years ago

That part of the code is managing the results file name (and its path). This might happen if your model is deeply nested in a folder and thus has a very long path.

I suggest that you copy your model to a folder which involves a shorter path (and make sure the path does not include spaces).

Can you tell us more about the model and where it is located? To figure out what is happening it might be necessary to get a copy of the model to identify if there are other problems which are leading to the fault.

Regards, Jon Hand


From: viric [notifications@github.com] Sent: 11 June 2018 10:55 To: ESP-rCommunity/ESP-rSource Cc: Subscribed Subject: [ESP-rCommunity/ESP-rSource] FORTRAN runtime error reslib.F:701 (#11)

Hello,

I tried my first simulation with a house I designed and, having all checks passed (connections, constructions, operations, ...), the simulation starts and crashes with a FORTRAN runtime error pointing to this line:

https://github.com/ESP-rCommunity/ESP-rSource/blob/master/src/esrubps/reslib.F#L701

Saying something about going beyond record length. I got the message yesterday at home and now I don't recall it fully. The ".res" file is created and gets about 90KB before the runtime error.

Yesterday I tried to get into the espr mailing list but I'm waiting for approval still, it seems.

Simulations with the examples provided work fine.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ESP-rCommunity/ESP-rSource/issues/11, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACX3RurRb3IME0l_hzhwA3RJCsJXbXi-ks5t7j6HgaJpZM4UiZWY.

viric commented 6 years ago

That's what I tried first. First case: /home/viric/wip/calefacció/espr/casa2/cfg/casa2.cfg

Then I moved to this and also failed the same way: /home/viric/wip/espr/casa2/cfg/casa2.cfg

viric commented 6 years ago

My cfg file had an "enetwork" reference with an absolute path. I removed that line and runtime error disappeared.

I think maybe bsp thinks that it is a relative path and composes it together with the current directory, and that makes it a long path?

Before that I used /home/viric/casa2/cfg/casa2.cfg and the runtime error still happened.