maxwell08 / cloudsim

Automatically exported from code.google.com/p/cloudsim
0 stars 0 forks source link

Network examples do not load topology file #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Try to execute the class "NetworkExample1"

What is the expected output? What do you see instead?

The topology file is not properly loaded. The message

"Problem in processing BRITE file. Network simulation is disabled."

is shown.

Original issue reported on code.google.com by rodrigo.calheiros on 17 Jul 2011 at 11:55

GoogleCodeExporter commented 8 years ago
The topology file is located in the wrong directory, if code is going to be 
executed directly by Eclipse.

Its correct location is on cloudsim-package/modules/cloudsim-examples

Original comment by rodrigo.calheiros on 17 Jul 2011 at 11:58

GoogleCodeExporter commented 8 years ago

Original comment by rodrigo.calheiros on 18 Jul 2011 at 12:01

GoogleCodeExporter commented 8 years ago
I had added complete path as mentioned below:

String Path = 
"C:\Users\Rsingh\workspace\cloud1\examples\org\cloudbus\cloudsim\examples\networ
k\";

NetworkTopology.buildNetworkTopology(Path+"topology.brite");

but the topology file is not loaded. I found problem in topology.brite file as 
given below:
Starting NetworkExample1...
Initialising...
Topology file: topology.brite
Problem in processing BRITE file. Network simulation is disabled. Error: 
topology.brite (The system cannot find the file specified)
Starting CloudSim version 3.0
Datacenter_0 is starting...low:

Original comment by rsiet2...@gmail.com on 11 May 2015 at 10:15

GoogleCodeExporter commented 8 years ago
you should make the topology file under netbeans projects

Original comment by isle...@gmail.com on 13 May 2015 at 10:56