PriyamPatel-Northwestern / scRNA-Seq

0 stars 1 forks source link

Fix multithreading #50

Open brianFSM opened 1 year ago

brianFSM commented 1 year ago

Test the advice from NU IT, namely to use

# Here we set up the parallelization to run the code on the server
    n.cores <- as.integer(Sys.getenv("SLURM_NTASKS")) - 1

    #register it to be used by %dopar%
    doMC::registerDoMC(cores=n.cores)
brianFSM commented 1 year ago

Test if it works, then implement it if it does. This is just for submitting to the compute cluster. The analytics nodes work as is.