Skip to content

figGAM is not adhering to BPPARAM limits.  #259

@dfermin

Description

@dfermin

Hello

I am trying to run the fitGAM command on a multi-core linux server.
The machine has 64 cores and I want fitGAM to only use 16 cores.

I've followed the vignette's suggested method for running in parallel but fitGAM() seems to ignore this and uses all available cores.

Here is my code

Dataset <- readRDS("cellStateData.rds")
Dataset <- as.SingleCellExperiment(Dataset, assay = "RNA")

Dataset <- slingshot(Dataset, reducedDim = 'UMAP', clusterLabels = colData(Dataset)$celltype, approx_points = FALSE)

workers <- BiocParallel::MulticoreParam(workers=16)
Dataset1 <- fitGAM(Dataset, verbose=TRUE, parallel=TRUE, BPPARAM=workers)

I'm running this on a 64 core RHEL server.
When it gets to the fitGAM line the command uses all 64 cores.
There are no previous commands that might use multiple cores.

I've tried different renditions of the BPPARAM argument all to no avail.
Any suggestions on how to fix this?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions