ORNL-QCI / ExaTENSOR

Basic numerical tensor algebra library for distributed heterogeneous HPC platforms
BSD 3-Clause "New" or "Revised" License
16 stars 4 forks source link

GNU11 argument checking #2

Closed LucasVisscher closed 1 year ago

LucasVisscher commented 2 years ago

With the latest GNU compilers building fails with

Error: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(4)).

This compiler bug is easily circumvented by adding -fallow-argument-mismatch to the GNU options in the Makefiles inside INTRAVIRT and INTERVIRT. Not being able to do so via an environment variable is, however, currently blocking DIRAC tests as cmake downloads a fresh copy of exatensor every time it builds.

DmitryLyakh commented 1 year ago

Fixed.