emilycantrell / stork_oracle_cbs

0 stars 0 forks source link

Choose between multicore vs. multisession processing for parallel computing #7

Open emilycantrell opened 1 week ago

emilycantrell commented 1 week ago

We are going to use furrr to run processes in parallel on OSSC. To run in parallel, we will need to add a line like this to our code:

plan(multicore, workers = 127)

(I used 127 as an example because there are 128 cores per node, and I read that it's best to leave 1 core free.)

We need to choose either multicore or multisession. I need to learn more about the differences (I read a basic description but am still not certain which is best for our purposes). We may want to consult with Flavio/Malte on this.

https://future.futureverse.org/reference/plan.html