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

瀏覽次數:21 次
跳到第一則未讀訊息

Shahrukh Khan Kasi

未讀,
2019年7月28日 晚上10:14:282019/7/28
收件者: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

未讀,
2019年7月29日 上午11:55:142019/7/29
收件者: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

未讀,
2019年7月29日 中午12:17:222019/7/29
收件者: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

未讀,
2019年7月31日 凌晨4:57:412019/7/31
收件者: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 :(
回覆所有人
回覆作者
轉寄
0 則新訊息