First time here? Check our help page!
2

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

G's avatar
21
G
asked 2015-10-17 06:48:18 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2015-11-12 15:44:55 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

2

I can confirm that it runs fine on my Ubuntu 14.04 virtual machine. Please note that the BCVTB has been compiled and tested with that version. So you might want to give this version a try. If the problem persists on Linux then let me know as you seem to have been able to run the Windows version successfully. Thanks!
Thierry

Thierry Nouidui's avatar
1.5k
Thierry Nouidui
answered 2015-10-20 17:22:59 -0500, updated 2015-10-20 17:26:37 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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.

G's avatar
21
G
answered 2015-11-02 21:12:12 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments