Skip to content

Cluster setup failed. 2 of 2 workers failed to connect. #5

@Roger-GOAT

Description

@Roger-GOAT

hi, I am going to build a ts file from a matrix. It has 7274 cells with 22457 genes. It is running in rstudio server with 8 CPU and 64G RAM.
Code:
library(tSpace)
Idents(scRNA) <- "orig.ident"
df <- subset(scRNA, idents = 'day5')
df <- GetAssayData(df,slot="data",assay="RNA")
ts <- tSpace(df = df,
K = 20, L = 15,
D = 'pearson_correlation',
graph = 5,
trajectories = 200,
wp = 15, dr = 'pca', core_no = 2)
It shown error like below:
Step 1:Finding graphError in makePSOCKcluster(names = spec, ...) : Cluster setup failed. 2 of 2 workers failed to connect.
In addition: Warning messages: 1: In system(cmd, wait = FALSE) : system call failed: Cannot allocate memory 2: In system(cmd, wait = FALSE) : error in running command Error in save(list = names(.GlobalEnv), file = outfile, version = version, : error writing to connection Error saving session (search_path): R code execution error Error in system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE) : cannot popen '/usr/bin/which 'pdflatex' 2>/dev/null', probable reason 'Cannot allocate memory' Error in system(paste(which, shQuote(names[i])), intern = TRUE, ignore.stderr = TRUE) : cannot popen '/usr/bin/which 'pdflatex' 2>/dev/null', probable reason 'Cannot allocate memory'

Hope some one would give me some suggestion!
Best!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions