#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-a...) 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-c...) 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%5D(https://gcc.gnu.org/install/dow...) , [https://gcc.gnu.org/install/configure.html%5D(https://gcc.gnu.org/install/co...) , and [https://gcc.gnu.org/install/build.html%5D(https://gcc.gnu.org/install/build....) (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 <path-to-g++>` option to `icpc` to make it use the new stdc++ library.
You can also experiment with using `spack` to install `gcc` (which is easier, but just as slow). [https://spack-tutorial.readthedocs.io/en/latest/tutorial%5C_basics.html%5D(h...)
-- Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2705/error-more-than-on...
trac@lists.einsteintoolkit.org