Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory not mapped segfault - linux install #363

Open
DillonHammill opened this issue Jul 19, 2021 · 2 comments
Open

memory not mapped segfault - linux install #363

DillonHammill opened this issue Jul 19, 2021 · 2 comments

Comments

@DillonHammill
Copy link
Contributor

DillonHammill commented Jul 19, 2021

Hi @mikejiang,

I am having some trouble getting flowWorkspace to work on a linux VM.

I have successfully installed all the required packages (e.g. cytolib, flowCore, flowWorkspace, openCyto etc) - I have tried using multiple compilers (e.g. intel compiler 2021.2.1, intel mkl 2021.2.0, intel tbb 2021.2.0 and gcc 11.1.0) but I always get a memory not mapped segfault error.

For example if I try to load in some FCS files using load_cytoset_from_fcs():

> load_cytoset_from_fcs(files=list.files(path,full.names=TRUE))

*** caught segfault ***

address (nil), cause 'memory not mapped'
 
Traceback:

1: fcs_to_cytoset(sapply(files, normalizePath), list(which.lines = which.lines, transformation = transformation, decades = decades, truncate_min_val = truncate_min_val, min_limit = min.limit, truncate_max_range = truncate_max_range, dataset = dataset, emptyValue = emptyValue, num_threads = num_threads, ignoreTextOffset = ignore.text.offset), backend = backend,     backend_dir = normalizePath(backend_dir))

2: load_cytoset_from_fcs(files = list.files(path, full.names = TRUE))

Here is my sessionInfo:

R version 4.1.0 (2021-05-18)

Platform: x86_64-pc-linux-gnu (64-bit)

Running under: CentOS Linux 8

Matrix products: default

BLAS/LAPACK: /apps/intel-oneapi/mkl/2021.2.0/lib/intel64/libmkl_intel_lp64.so.1

locale:

[1] LC_CTYPE=en_AU.UTF-8       LC_NUMERIC=C             

 [3] LC_TIME=en_AU.UTF-8        LC_COLLATE=en_AU.UTF-8   

 [5] LC_MONETARY=en_AU.UTF-8    LC_MESSAGES=en_AU.UTF-8  

 [7] LC_PAPER=en_AU.UTF-8       LC_NAME=C                

 [9] LC_ADDRESS=C               LC_TELEPHONE=C           

[11] LC_MEASUREMENT=en_AU.UTF-8 LC_IDENTIFICATION=C      

attached base packages:

[1] stats     graphics  grDevices utils     datasets  methods   base    

loaded via a namespace (and not attached):

[1] compiler_4.1.0

Not sure if I have done something wrong during compilation? Are there a specific set of compilers that I should use?

@mikejiang
Copy link
Member

Is it reproducible on your local machine?How about gcc9.3?

@DillonHammill
Copy link
Contributor Author

Thanks @mikejiang. I will give it another try with gcc 9.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants