Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question

G's profile - activity

2015-11-02 21:12:12 -0500 answered a question bcvtb in Linux - socket error

Hi,

This has been solved. Ubuntu and Debian systems work OK with bcvtb. OpenSuse does not, probably because we were missing a package or a specific library.

2015-10-20 10:03:45 -0500 received badge  Student (source)
2015-10-18 09:30:31 -0500 asked a question bcvtb in Linux - socket error

Hi All, We have been trying to get bcvtb work in Linux, mostly to use it with ESP-r but we can not actually make it work with any of the externally coupled programs (Ptolemy functions fine). We are getting a socket error while the program is trying to establish the socket and probably trying to read the socket.cfg file. After a long debugging effort I think there may be something going on with the establishclientsocket function. I printed out the socketFD variable from ESP-r, which if my understanding is correct takes values as (from bcvtb.F90 file): socketFD = establishclientsocket(“socket.cfg”). I realised that bcvtb can not locate that file so I hardwired it in ESP-r to the exact location of socket.cfg (recompiled ESP-r, etc.). I then added a write statement to print out socketFD and the result was that socketFD is somehow renamed from socket.cfg to “socket.cfgbcvtb.F90” (this is with ESP-r, possibly renamed to something else in other programs).

We are replicating the error also with cclient and in two different machines.

We are using OpenSuse via VirtualBox (64 bit). We have not tried the Windows installation. I also tried version 1.4.0 but no luck with that either.

Could you please confirm that the Linux version is currently functional with external programs? Any idea of what may be going wrong with our case?

Thank you, Georgios