Tell nvcc to use the correct MPICXX binary

There was a bug related to

  https://gcc.gnu.org/pipermail/gcc-help/2021-June/140490.html

where nvcc was getting other versions of the gcc compiler
and the libstd++ version were mismatched, resulting in linking errors.
This commit is contained in:
2022-09-14 13:28:15 +02:00
parent a263c0c933
commit 4092f968b7
2 changed files with 5 additions and 3 deletions

View File

@@ -52,11 +52,13 @@ namespace atrip {
#pragma GCC diagnostic ignored "-Wunused-parameter"
template <typename T>
std::string pretty_print(T&& value) {
std::stringstream stream;
#if ATRIP_DEBUG > 2
std::stringstream stream;
dbg::pretty_print(stream, std::forward<T>(value));
#endif
return stream.str();
#else
return "";
#endif
}
#pragma GCC diagnostic pop
// Pretty printing:1 ends here