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

Multiple thread not working! #76

Open
xiekunwhy opened this issue Nov 8, 2024 · 5 comments
Open

Multiple thread not working! #76

xiekunwhy opened this issue Nov 8, 2024 · 5 comments

Comments

@xiekunwhy
Copy link

Hi,

I found that spaln -t option does'nt work (like following screenshot, -t20 using only 1 cpu).
image

Best,
Kun

@ogotoh
Copy link
Owner

ogotoh commented Nov 11, 2024

Make sure that you 'Makefile' has the following lines and they are not commented out:

DEFLT = -DM_THREAD=1

CXX := $(CXX) $(CFLAGS) $(DEFLT)

Osamu,

@xiekunwhy
Copy link
Author

yes, not commented out, but not work.
image

@ogotoh
Copy link
Owner

ogotoh commented Nov 11, 2024

Please confirm two points.

  1. The complier message looks like:
    g++ -O3 -march=native -DM_THREAD=1 -c blksrc.cc
    ...

  2. The max number of threads that your system supports.

If possible, please try to run on other computer system that you can access.

Osamu,

@xiekunwhy
Copy link
Author

By the way, the latest bioconda version of spaln always segmentation fault when running tsv to genome alignment. Ignore this problem if you are not the maintainer of bioconda version.

@ogotoh
Copy link
Owner

ogotoh commented Nov 12, 2024

Dear Kun,

I don't know who maintains bioconda version. It is true that earlier versions of Spaln cause segmentation fault under some specific conditiosns. You may know the version number by running Spaln with -h option.

Osamu,

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