FermiQC / Fermi.jl

Fermi quantum chemistry program
MIT License
134 stars 24 forks source link

TBLIS issue #132

Open MarkoHorbatsch opened 2 years ago

MarkoHorbatsch commented 2 years ago

Hi,

I tried to use Fermi on two Macs [M1 first, then Intel] both under Julia 1.6 and 1.8.

the failure on the Intel-Mac worries me, it's running Catalina, so that should be stable.

Fermi doesn't compile, because

Precompiling project... ✗ TBLIS ✗ Fermi 0 dependencies successfully precompiled in 4 seconds (103 already precompiled) 2 dependencies errored. To see a full report either run import Pkg; Pkg.precompile() or load the packages Testing Running tests... ERROR: LoadError: InitError: could not load library "/Users/marko/.julia/artifacts/bad39b751ed9b819c0e04ac492bb388e5b494858/lib/libtblis.0.dylib"

what am I doing wrong?

thanks.

marko

gustavojra commented 1 year ago

Hi @MarkoHorbatsch,

You are not doing anything wrong, I was having similar issues with TBLIS on mac. Unfortunately, I believe the problem is upstream.

TBLIS has been removed as dependency for that reason, but I haven't released a new tag. I should do it asap. If you still want to use TBLIS for tensor contractions within Fermi, you can simply import the blicontractor library, which will overwrite the necessary functions from TensorOperatos.jl