[ET Trac] #2705: error: more than one instance of overloaded function "isnan" matches the argument list

Roland Haas trac-noreply at einsteintoolkit.org
Thu Apr 6 15:22:51 CDT 2023


#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](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](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/download.html) , [https://gcc.gnu.org/install/configure.html](https://gcc.gnu.org/install/configure.html) , and [https://gcc.gnu.org/install/build.html](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 <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\_basics.html](https://spack-tutorial.readthedocs.io/en/latest/tutorial_basics.html)

‌

--
Ticket URL: https://bitbucket.org/einsteintoolkit/tickets/issues/2705/error-more-than-one-instance-of-overloaded
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.einsteintoolkit.org/pipermail/trac/attachments/20230406/c20e90d4/attachment.html 


More information about the Trac mailing list