sunqm / qcint

An optimized libcint branch for X86 architecture
GNU General Public License v3.0
28 stars 10 forks source link

qcint should have a different soname than libcint #20

Open susilehtola opened 1 year ago

susilehtola commented 1 year ago

See https://github.com/pyscf/pyscf/issues/1855

chillenb commented 4 months ago

Perhaps the SONAME of qcint can be changed so that pyscf built against libcint cannot dynamically load qcint?

susilehtola commented 3 months ago

Perhaps the SONAME of qcint can be changed so that pyscf built against libcint cannot dynamically load qcint?

Yes, definitely! This would be the correct solution.

chillenb commented 3 weeks ago

I have an idea related to this @sunqm

What do you think about cmakedefining SIMDD at build time? After all, the simd width is set when the library is built and should not be changed afterwards.

This would help to ensure that the correctness of an application linking qcint does not depend on the compile flags used to build it.