huilisabrina / covid-19-simul

Efficient simulation and graphical modeling of Covid-19 spread
1 stars 0 forks source link

Action points and next steps #3

Open huilisabrina opened 4 years ago

huilisabrina commented 4 years ago

Ordered by priority:

Essential steps for network updates:

A testing suite that generate:

Parallelization levels:

What should be the output of our network updates script?

Speed-up plots:

Interpretations and verifying hypotheses: (relevant for what to put in params_input,csv)

huilisabrina commented 4 years ago

One note related to timing that @intekhab8 brought up during his testing, is that there are numerous INFO log messages that get printed our in the console. To avoid the excessive printing of the "INFO" messages, we can add the log level set up after setting up the Spark Context. I'll update the GF template file and all scripts using GF objects.

# Spark context
sc = SparkContext(conf=conf)

# surpress logging
sc.setLogLevel("ERROR")

After this, when running the simulation, only the beginning setup of the SparkEnv, Blockmanager INFO will be printed out, and all of the rest logging information will be suppressed.

In our final applications, i.e. network_update_monte_carlo.py , the log output will have the time elapsed calculated, so we can use the log file - parse our the time in the setence 2020/05/10 03:54:42 PM Simulation complete. Time elapsed: 34.72s - for timing comparison @beancamille :)