Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

visu does not work #13

Open
myid55 opened this issue Apr 26, 2018 · 3 comments
Open

visu does not work #13

myid55 opened this issue Apr 26, 2018 · 3 comments

Comments

@myid55
Copy link

myid55 commented Apr 26, 2018

When I command ./generate_figures.py, the following output is generated on the command line.

============================================

['rm', '-r', 'results']
['mkdir', 'results']
['rm', 'scripts/allfigure.r']
['chmod', '+x', 'scripts/allfigure.r']
['/usr/bin/env', 'Rscript', './scripts/compute_time.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/compute_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/compute_time_per_service_node.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/compute_time_per_service_node.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_avg_duration.r']
The following objects are masked from data (pos = 3):

example, nodes

Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/migration_avg_duration.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_count.r']
The following objects are masked from data (pos = 3):

example, nodes

Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/migration_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/migration_time.r']
The following objects are masked from data (pos = 3):

example, nodes

Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/migration_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_failure_count.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/reconfigure_failure_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_noreconf_count.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/reconfigure_noreconf_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/reconfigure_success_count.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/reconfigure_success_count.pdf']
['/usr/bin/env', 'Rscript', './scripts/success_psize.r']
The following objects are masked from data (pos = 3):

example, nodes

Error in plot.window(...) : Logarithmic axis must have positive limits
Calls: plot -> plot.default -> localWindow -> plot.window
In addition: Warning message:
In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
Execution halted

['mv', 'Rplots.pdf', 'results/success_psize.pdf']
['/usr/bin/env', 'Rscript', './scripts/total_time.r']
The following objects are masked from data (pos = 3):

example, nodes

Warning messages:
1: In xy.coords(x, y, xlabel, ylabel, log) :
1 y value <= 0 omitted from logarithmic plot
2: In plot.window(...) :
nonfinite axis limits [GScale(-inf,-inf,2, .); log=1]
Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/total_time.pdf']
['/usr/bin/env', 'Rscript', './scripts/violation_time.r']
The following objects are masked from data (pos = 3):

example, nodes

Error: unexpected symbol in:
"legend(1, g_range[2], c("example"), cex=2, lwd=2.5
col"
Execution halted

['mv', 'Rplots.pdf', 'results/violation_time.pdf']

In the results directory, there are pdf files but the contents are empty; they contain legend ("example") and labels only.

screen shot 2018-04-27 at 2 57 50 am

@badock
Copy link
Contributor

badock commented May 9, 2018

Hello,

thanks for reporting this issue! I am going to investigate : could you provide more details about the simulation you conducted :

  • scheduling algorithm
  • infrastructure size
  • number of VMs

@myid55
Copy link
Author

myid55 commented May 9, 2018

I followed the instruction below:
https://github.com/BeyondTheClouds/VMPlaceS/blob/master/README.md
I did not modify the configuration from the example.

@badock
Copy link
Contributor

badock commented May 9, 2018

Hello, we made some corrections on the visualization scripts and we managed to produce visualizations for a simple experiment (example algorithm with 10, 20, 40 physical nodes). Despite few warning messages, the visualization are working (I will investigate these warning messages later).

I didn't notice that the result files listed in your screenshot were not empty : there is a single red dot. Did you run a unique simulation, or did you rather run few simulations with distinct (number of physical nodes, number of virtual machines) parameters? In the case you ran several simulations, don't forget to put the events.json file produced by each simulation in the visu/events folder (beware of overwriting existing event.json file), as depicted in the updated screenshot of the visu README file:
https://github.com/BeyondTheClouds/VMPlaceS/tree/master/visu#generate-the-diagrams

Don't hesitate to tell us if you still encounter issues with visualization.

Best regards,

VMPlaceS team

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants