NTD-Modelling-Consortium / ntd-model-sch

NTD SCH model
MIT License
0 stars 6 forks source link

RScript accepting number of cores to use #67

Closed thk123 closed 2 months ago

thk123 commented 2 months ago

Asking python how many CPUs there are does not respect the amount the cluster has actually allocated to the job, causing too many processes to be spawned. Instead, we let the R script be configured on the command line:

Rscript sth_fitting.R 10

To run with 10 jobs. Also added some basic logging that shows progress every 10 jobs completed with time taken.