omn​​et ++中的错误并行分布

时间:2016-05-09 14:09:47

标签: parallel-processing omnet++

当我尝试在ubuntu14.04中进行并行分发时 我收到此错误:无法将主机名附加到文件名results/General-0.elog:没有HOST,HOSTNAME或COMPUTERNAME(Windows)环境变量。

[General]
network = Network
parallel-simulation = true
parsim-communications-class = "cMPICommunications"
parsim-synchronization-class = "cNullMessageProtocol"
**.scalar-recording = false
**.vector-recording = false
*.GCN.**.partition-id =0
*.lcn[*].partition-id =1
*.sn[*].partition-id =2

1 个答案:

答案 0 :(得分:0)

您必须设置HOST环境变量 输入您启动OMNeT++的控制台:

export HOST=host01

或在IDE中转到Run | Run Configurations |你的配置| Environment并添加一个HOST值为host01的新变量。