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

build failure with -DIQTREE_FLAGS=single #32

Closed
reneeotten opened this issue Jun 12, 2021 · 1 comment
Closed

build failure with -DIQTREE_FLAGS=single #32

reneeotten opened this issue Jun 12, 2021 · 1 comment

Comments

@reneeotten
Copy link

when trying to compile iqtree2 (both from master or the v1.2.3 tag) without omp I get the following failure:

tree/phylotree.cpp:3366:25: error: use of undeclared identifier 'omp_get_thread_num'
        int threadNum = omp_get_thread_num();

which makes sense as it should likely be in an #ifdef _OPENMP statement; perhaps like this?

#ifdef _OPENMP
    int threads = omp_get_max_threads();
#else 
    threads = 1;
@JamesBarbetti
Copy link
Contributor

The compilation issue was addressed by commit 9570c60, in May 2021.

@bqminh bqminh closed this as completed May 16, 2024
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

3 participants