[Wannier] Compiling wannier90 on macosx with arm64 architecture

Maksim Borovkov borovkov at princeton.edu
Mon Mar 21 17:24:31 CET 2022


Hi Jerome,

Thank you for your reply! I checked the openblas, it's installed correctly,
and I also put the proper path into the make.inc file. I still receive some
arm64 related issues:

Undefined symbols for architecture arm64:

  "_mpi_abort_", referenced from:

      ___w90_io_MOD_io_error in io.o

  "_mpi_comm_rank_", referenced from:

      ___w90_io_MOD_io_error in io.o

  "_mpi_comm_size_", referenced from:

      ___w90_io_MOD_io_error in io.o

ld: symbol(s) not found for architecture arm64

Those are the only errors so far. Any ideas what those could be?

Best,
Max

On Mon, Mar 21, 2022 at 12:13 PM Jerome Jackson - STFC UKRI <
jerome.jackson at stfc.ac.uk> wrote:

> 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-bounces at lists.quantum-espresso.org> on behalf of
> Maksim Borovkov <borovkov at princeton.edu>
> Sent: 21 March 2022 16:02
> To: wannier at 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.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/wannier/attachments/20220321/40241f2d/attachment-0001.html>


More information about the Wannier mailing list