Dear Max,

it appears that you don't have (or are not linking to) a working blas library 
(dcopy is part of blas) for arm64 machine...  Are you sure that homebrew is 
installing openblas correctly?  Does brew install openblas correctly, or does 
it complain somehow?

Yours,
Jerome.



________________________________________
From: Wannier <wannier-boun...@lists.quantum-espresso.org> on behalf of Maksim 
Borovkov <borov...@princeton.edu>
Sent: 21 March 2022 16:02
To: wannier@lists.quantum-espresso.org
Subject: [Wannier] Compiling wannier90 on macosx with arm64 architecture

Hi!

I'm trying to compile wannier on my MacBook Air with arm64 processor and 
receive a lot of errors like, for example, this


ld: can't map file, errno=22 file '/opt/homebrew/opt/openblas/lib' for 
architecture arm64


Undefined symbols for architecture arm64:

  "_dcopy_", referenced from:

      ___w90_comms_MOD_comms_scatterv_real_3 in comms.o


I'm wondering if someone tried to compile wannier on a similar machine and 
experienced similar problems? Is there a way out?


Thank you!


Best regards,

Max.


Maksim Borovkov

Graduate Student @ Princeton University

This email and any attachments are intended solely for the use of the named 
recipients. If you are not the intended recipient you must not use, disclose, 
copy or distribute this email or any of its attachments and should notify the 
sender immediately and delete this email from your system. UK Research and 
Innovation (UKRI) has taken every reasonable precaution to minimise risk of 
this email or any attachments containing viruses or malware but the recipient 
should carry out its own virus and malware checks before opening the 
attachments. UKRI does not accept any liability for any losses or damages which 
the recipient may sustain due to presence of any viruses.

_______________________________________________
Wannier mailing list
Wannier@lists.quantum-espresso.org
https://lists.quantum-espresso.org/mailman/listinfo/wannier

Reply via email to