#2705: error: more than one instance of overloaded function "isnan" matches the argument list
| Reporter: | Miguel Zilhão |
| Status: | new |
| Milestone: | |
| Version: | |
| Type: | bug |
| Priority: | major |
| Component: |
Comment (by Roland Haas):
uh there may be a way around. Though it would require that we added extra #ifdef to the code and the point of this was more or less to not have those around anymore.
Nope, no luck. I took a look at the ticket where this was initial discussed: https://bitbucket.org/einsteintoolkit/tickets/issues/2407/cactus-math-work-arounds-break-carpetx#comment-61718642 and keeping workarounds was considered optional and since we never ran into issues on “supported” clusters they were not implemented.
I think you may stand a good chance asking the admins to install a newer gcc for you since gcc 4.X is really very old. In particular if you can point them to the Intel docs stating that g++'s STL is needed for icpc (see eg https://www.intel.com/content/www/us/en/developer/articles/release-notes/c-compiler-190-for-linux-release-notes-for-intel-psxe-2019.html#sysreq for intel 2019 and its requirements).
If all else fails, you can also compile your own g++ and use that. Usually following the instructions at https://gcc.gnu.org/install/download.html , https://gcc.gnu.org/install/configure.html , and https://gcc.gnu.org/install/build.html (very carefully! note the --build directory and the contrib/download_prerequisites script) works (it will take a while though) and afterwards you can pass the -gxx-name <pa
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2705/error-more-than-one-instance-of-overloaded