Dear TPRF community,
I hope this message finds you well. I've been through the task of installing TPRF from source in its unstable branch. My stable-branch installation works fine, but the unstable one returns an error during the "make" run. I hope you can help me to understand this issue.
Prerequisites
TRIQS stable version (installed fro source).
TPRF unstable version.
The error seems to be unrelated to specific versions of TRIQS.
Description
Although the stable-branch installation of TPRF works fine, the unstable one returns a series of errors during the "make" run. I am unsure if further errors will appear because the installation stops as soon as the following messages pop up.
Steps to Reproduce
Follow the documentation installation guides changing
$ git clone https://github.com/TRIQS/tprf tprf.src
to
$ git clone -b unstable https://github.com/TRIQS/tprf tprf_unstable.src
Expected behavior: Installation succeeds.
Actual behavior: Errors prevent finishing the installation.
Versions
Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Additional Information
I'm attaching the errors below. What I could track down is that
"error: 'target_value_t' does not name a type" summarizes the problem.
The only file inside the build directory where 'target_value_t' appears is in
python/triqs_tprf/lattice_desc.py in the line
module.add_function ("target_value_t<chi_t_t>::regular_type triqs_tprf::chi_trapz_tau (triqs_tprf::chi_t_cvt chi_t)", doc = r"""""")
Error message:
[ 1%] Building CXX object c++/triqs_tprf/CMakeFiles/triqs_tprf_c.dir/lattice/chi_imtime.cpp.o
In file included from /home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:24:
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.hpp:150:1: error: 'target_value_t' does not name a type
150 | target_value_t<chi_t_t>::regular_type chi_trapz_tau(chi_t_cvt chi_t);
| ^~~~~~~~~~~~~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.hpp:151:1: error: 'target_value_t' does not name a type
151 | target_value_t<chi_t_t>::regular_type integrate_dlr_tau(chi_Dt_cvt chi_t);
| ^~~~~~~~~~~~~~
In file included from /home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:23:
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp: In instantiation of 'auto triqs_tprf::mpi_view(const T&, mpi::communicator) [with T = triqs::mesh::cyclat]':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:57:22: required from here
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp:42:15: warning: unused variable 'idx' [-Wunused-variable]
42 | for (auto idx : range(0, size)) {
| ^~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: In function 'triqs_tprf::chi_wr_t triqs_tprf::chi0_w0r_from_grt_PH(g_Dtr_cvt, g_Dtr_cvt, bool)':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:139:14: error: 'integrate_dlr_tau' was not declared in this scope
139 | auto I = integrate_dlr_tau(chi0_t);
| ^~~~~~~~~~~~~~~~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: At global scope:
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:154:1: error: 'target_value_t' does not name a type
154 | target_value_t<chi_t_t>::regular_type integrate_dlr_tau(chi_Dt_cvt chi_t) {
| ^~~~~~~~~~~~~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: In function 'triqs_tprf::chi_wr_t triqs_tprf::chi0_w0r_from_grt_PH(g_tr_cvt, g_tr_cvt)':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:321:21: error: 'chi_trapz_tau' was not declared in this scope; did you mean 'chi_tr_t'?
321 | auto int_chi0 = chi_trapz_tau(chi0_t);
| ^~~~~~~~~~~~~
| chi_tr_t
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: At global scope:
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:335:1: error: 'target_value_t' does not name a type
335 | target_value_t<chi_t_t>::regular_type chi_trapz_tau(chi_t_cvt chi_t) {
| ^~~~~~~~~~~~~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: In function 'triqs_tprf::chi_wr_t triqs_tprf::chi_w0r_from_chi_tr(chi_tr_cvt)':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:374:14: error: 'chi_trapz_tau' was not declared in this scope; did you mean 'chi_tr_t'?
374 | auto I = chi_trapz_tau(chi_tr[_, r]);
| ^~~~~~~~~~~~~
| chi_tr_t
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp: In instantiation of 'auto triqs_tprf::mpi_view(const T&, mpi::communicator) [with T = triqs::mesh::imfreq]':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/fourier.hpp:214:24: required from 'auto triqs_tprf::fourier_wr_to_wk_general_target(Gf_type) [with Gf_type = triqs::gfs::gf_const_view<triqs::mesh::prod<triqs::mesh::imfreq, triqs::mesh::cyclat>, triqs::gfs::tensor_valued<4>, nda::C_stride_layout>]'
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:395:48: required from here
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp:42:15: warning: unused variable 'idx' [-Wunused-variable]
42 | for (auto idx : range(0, size)) {
| ^~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: In function 'triqs_tprf::chi_Dwr_t triqs_tprf::chi_wr_from_chi_tr(chi_Dtr_cvt, int)':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:406:54: warning: unused parameter 'nw' [-Wunused-parameter]
406 | chi_Dwr_t chi_wr_from_chi_tr(chi_Dtr_cvt chi_tr, int nw) {
| ~~~~^~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp: In function 'triqs_tprf::chi_Dtr_t triqs_tprf::chi_tr_from_chi_wr(chi_Dwr_cvt, int)':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:411:54: warning: unused parameter 'ntau' [-Wunused-parameter]
411 | chi_Dtr_t chi_tr_from_chi_wr(chi_Dwr_cvt chi_wr, int ntau) {
| ~~~~^~~~
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp: In instantiation of 'auto triqs_tprf::mpi_view(const T&, mpi::communicator) [with T = triqs::mesh::dlr_imfreq]':
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/fourier.hpp:214:24: required from 'auto triqs_tprf::fourier_wr_to_wk_general_target(Gf_type) [with Gf_type = triqs::gfs::gf_const_view<triqs::mesh::prod<triqs::mesh::dlr_imfreq, triqs::mesh::cyclat>, triqs::gfs::tensor_valued<4>, nda::C_stride_layout>]'
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/chi_imtime.cpp:417:48: required from here
/home/lauro/packages/triqs/tprf_unstable.src/c++/triqs_tprf/lattice/../mpi.hpp:42:15: warning: unused variable 'idx' [-Wunused-variable]
42 | for (auto idx : range(0, size)) {
| ^~~
make[2]: *** [c++/triqs_tprf/CMakeFiles/triqs_tprf_c.dir/build.make:177: c++/triqs_tprf/CMakeFiles/triqs_tprf_c.dir/lattice/chi_imtime.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:526: c++/triqs_tprf/CMakeFiles/triqs_tprf_c.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
Best regards,
Lauro.
Dear TPRF community,
I hope this message finds you well. I've been through the task of installing TPRF from source in its unstable branch. My stable-branch installation works fine, but the unstable one returns an error during the "make" run. I hope you can help me to understand this issue.
Prerequisites
TRIQS stable version (installed fro source).
TPRF unstable version.
The error seems to be unrelated to specific versions of TRIQS.
Description
Although the stable-branch installation of TPRF works fine, the unstable one returns a series of errors during the "make" run. I am unsure if further errors will appear because the installation stops as soon as the following messages pop up.
Steps to Reproduce
Follow the documentation installation guides changing
$ git clone https://github.com/TRIQS/tprf tprf.src
to
$ git clone -b unstable https://github.com/TRIQS/tprf tprf_unstable.src
Expected behavior: Installation succeeds.
Actual behavior: Errors prevent finishing the installation.
Versions
Ubuntu 22.04.5 LTS (Jammy Jellyfish)
Additional Information
I'm attaching the errors below. What I could track down is that
"error: 'target_value_t' does not name a type" summarizes the problem.
The only file inside the build directory where 'target_value_t' appears is in
python/triqs_tprf/lattice_desc.py in the line
Error message:
Best regards,
Lauro.