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

compiling issue when including ctf.hpp #145

Open
prateek22sri opened this issue May 25, 2022 · 0 comments
Open

compiling issue when including ctf.hpp #145

prateek22sri opened this issue May 25, 2022 · 0 comments

Comments

@prateek22sri
Copy link

`In file included from file_reader.h:4,
from file_reader.cxx:7:
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:48:9: warning: missing terminating ' character
48 | sed: can't read critter.h.tmp.concat: No such file or directory
| ^
.
.
.
In file included from file_reader.h:4,
from file_reader.cxx:7:
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp: At global scope:
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:8624:24: error: ‘CTF::Pair’ has not been declared
8624 | CTF::Pair const * tsr_data,
| ^~~~
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:10308:11: error: ‘with_vals’ was not declared in this scope
10308 | if (with_vals)
| ^~~~~~~~~
.
.
.

  |                 ~~~~~~~~~~~~~~~~~~^~

/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6098:36: error: ‘omp_get_num_threads’ was not declared in this scope
6098 | int ntd = omp_get_num_threads();
| ~~~~~~~~~~~~~~~~~~~^~
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp: In instantiation of ‘void CTF_int::seq_coo_to_csr(int64_t, int, dtype*, int*, int*, const dtype*, const int*, const int*) [with dtype = std::complex; int64_t = long int]’:
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6222:26: required from ‘void CTF_int::def_coo_to_csr(int64_t, int, dtype*, int*, int*, const dtype*, const int*, const int*) [with dtype = std::complex; int64_t = long int]’
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6584:32: required from ‘void CTF::Set<dtype, is_ord>::coo_to_csr(int64_t, int, char*, int*, int*, const char*, const int*, const int*) const [with dtype = std::complex; bool is_ord = false; int64_t = long int]’
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6583:12: required from here
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6097:35: error: ‘omp_get_thread_num’ was not declared in this scope
6097 | int tid = omp_get_thread_num();
| ~~~~~~~~~~~~~~~~~~^~
/home/pratsriv/softwares/ctf/INSTALL/include/ctf.hpp:6098:36: error: ‘omp_get_num_threads’ was not declared in this scope
6098 | int ntd = omp_get_num_threads();
| ~~~~~~~~~~~~~~~~~~~^~
make: *** [Makefile:8: file_reader.o] Error 1
`

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

No branches or pull requests

1 participant