[Wannier] Compiling wannier90 on macosx with arm64 architecture

Maksim Borovkov borovkov at princeton.edu
Mon Mar 21 17:56:48 CET 2022


Hi Jerome,

yes, I installed openmpi via homebrew. In fact, I commented lines

"COMMS=mpi
MPIF90=mpifort"

from the make.inc file. If I do not comment out those, I receive these
errors (please see the screenshot).

Is there a way to check independently if MPI installed via homebrew works?

Max

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

> Hello!  Can you describe what is your MPI system/installation?  (eg
> openmpi via homebrew?)  Does it work?
>
> J.
>
> ________________________________________
> From: Maksim Borovkov <borovkov at princeton.edu>
> Sent: 21 March 2022 16:24
> To: Jackson, Jerome (STFC,DL,SC)
> Cc: wannier at lists.quantum-espresso.org
> Subject: Re: [Wannier] Compiling wannier90 on macosx with arm64
> architecture
>
> 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<mailto: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<mailto:
> wannier-bounces at lists.quantum-espresso.org>> on behalf of Maksim Borovkov
> <borovkov at princeton.edu<mailto:borovkov at princeton.edu>>
> Sent: 21 March 2022 16:02
> To: wannier at lists.quantum-espresso.org<mailto:
> 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/64e176f0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2022-03-21 at 12.55.20 PM.png
Type: image/png
Size: 153246 bytes
Desc: not available
URL: <http://lists.quantum-espresso.org/pipermail/wannier/attachments/20220321/64e176f0/attachment-0001.png>


More information about the Wannier mailing list