flame/blis

errors with scalapack due to [cz]symv and [cz]syr interfaces

ajaypanyala opened this issue ยท 10 comments

Using BLIS to configure Reference LAPACK and ScaLAPACK, results in link errors (duplicate definitions) due to the [cz]symv and [cz]syr interfaces introduced in Commit 37ca4fd. ScaLAPACK defines them here

I guess we need a configure flag to turn these off.

Regardless of what we do, maybe LAPACK/ScaLAPACK need a configure flag to turn them off on their side.

ScaLAPACK works fine with BLIS before Commit 37ca4fd. There doesn't seem like a way to turn those interfaces off in ScaLAPACK.

My only concern is whether this should be an option specific to those operations or if it should be a generic "ScaLAPACK compat" option in case something else comes up.

@ajaypanyala is [cz]syr2 affected?

Looks like it is.

Atleast on my end, I do not see any issues with [cz]syr2

It's because I didn't enable them in BLIS when I did [cz]syr and [cz]symv which was an oversight on my part. I've included all 3 in the fix.

@ajaypanyala please try the branch scalapack-compat and configure with the option --enable-scalapack-compat.

Using scalapack-compat branch with --enable-scalapack-compat worked. thanks!