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 failed due to implicit declaration #97

Open
Vineyo opened this issue May 11, 2024 · 1 comment
Open

Build failed due to implicit declaration #97

Vineyo opened this issue May 11, 2024 · 1 comment

Comments

@Vineyo
Copy link

Vineyo commented May 11, 2024

/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c: In function ‘igsum2d_’:
/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c:154:7: error: implicit declaration of function ‘BI_imvcopy’; did you mean ‘BI_zmvcopy’? [-Wimplicit-function-declaration]
  154 |       BI_imvcopy(Mpval(m), Mpval(n), A, tlda, bp->Buff);
      |       ^~~~~~~~~~
      |       BI_zmvcopy
/home/usrname/.cache/paru/clone/scalapack/src/scalapack-2.2.0/BLACS/SRC/igsum2d_.c:169:13: error: implicit declaration of function ‘BI_ivmcopy’; did you mean ‘BI_cvmcopy’? [-Wimplicit-function-declaration]
  169 |             BI_ivmcopy(Mpval(m), Mpval(n), A, tlda, bp2->Buff);
      |             ^~~~~~~~~~
      |             BI_cvmcopy
make[2]: *** [CMakeFiles/scalapack.dir/build.make:636: CMakeFiles/scalapack.dir/BLACS/SRC/igsum2d_.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1039: CMakeFiles/scalapack.dir/all] Error 2
make: *** [Makefile:166: all] Error 2

I've found similar issues, but I don't know what to do.

@carlosal1015
Copy link

Changes in compiler, use gcc 13 or older. https://gcc.gnu.org/gcc-14/changes.html

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