OMNet++ IDE Does Not Open After Qt5 Module is Loaded

19 views
Skip to first unread message

Shahrukh Khan Kasi

unread,
Jul 28, 2019, 10:14:28 PM7/28/19
to OMNeT++ Users
Hi,

I have installed OMNeT++ on HPCC clusters (based on CentOS 7) without any build errors. Using the same installation procedure on my Ubuntu 16.04 virtual machine OMNeT++ IDE works fine but on HPCC cluster whenever I load the module Qt5, I am unable to open the OMNeT++ IDE from the terminal using SSH. Does anyone know the probable cause and solution for this error?

Best,
Shahrukh

Rudolf Hornig

unread,
Jul 29, 2019, 11:55:14 AM7/29/19
to OMNeT++ Users
You cannot run graphical programs (IDE, qtenv) in a terminal. (unless you do some magic using SSH port forwarding and using your workstation as an X Server).

The usual workflow is to develop and debug your model on your local machine and once you are satisfied with the model transfer the source code to the remove machine and compile it with Cmdenv only, then run that on the cluster.

Running a simulation in a cluster/swarm is a bit demanding so I highly recommend to take a look at this tutorial:

Shahrukh Khan Kasi

unread,
Jul 29, 2019, 12:17:22 PM7/29/19
to OMNeT++ Users
Thank you for your response. 

I am using MobaXterm which enables the use of my workstation as an X Server. This is why the OMNeT++ IDE opens perfectly when I load any other module but as I load Qt5, the IDE does not opens.

Best,
Shahrukh 

Rudolf Hornig

unread,
Jul 31, 2019, 4:57:41 AM7/31/19
to OMNeT++ Users
Ah ok. So you are aware of the XServer stuff. As for the IDE, it is not based on Qt5 but eclipse uses GTK3 under the hood. I'm not sure if that helps though. Though there may be a confusion here. IDE is the development environment, while the simulation runtime which is shown when you start the smulation is based on Qt5. The two are totally unrelated. In *theory* Qt5 should not affect the IDE functionality at all.

I say *in theory* because in a real world anything can break in unexpected ways... Sadly I'm not familiar with the CentOS stuff though :(
Reply all
Reply to author
Forward
0 new messages