Re: [OMPI users] help with M1 chip macOS openMPI installation

2022-04-21 Thread George Bosilca via users
1. I am not aware of any outstanding OMPI issues with the M1 chip that
would prevent OMPI from compiling and running efficiently in an M1-based
setup, assuming the compilation chain is working properly.

2. M1 supports x86 code via Rosetta, an app provided by Apple to ensure a
smooth transition from the Intel-based to the M1-based laptop's line. I do
recall running an OMPI compiled on my Intel laptop on my M1 laptop to test
the performance of the Rosetta binary translator. We even had some
discussions about this, on the mailing list (or github issues).

3. Based on your original message, and their webpage, MARE2DEM is not
supporting any other compilation chain than Intel. As explained above, that
might not be by itself a showstopper, because you can run x86 code on the
M1 chip, using Rosetta. However, MARE2DEM relies on MKL, the Intel Math
Library, and that library will not run on a M1 chip.

  George.


On Thu, Apr 21, 2022 at 7:02 AM Jeff Squyres (jsquyres) via users <
users@lists.open-mpi.org> wrote:

> A little more color on Gilles' answer: I believe that we had some Open MPI
> community members work on adding M1 support to Open MPI, but Gilles is
> absolutely correct: the underlying compiler has to support the M1, or you
> won't get anywhere.
>
> --
> Jeff Squyres
> jsquy...@cisco.com
>
> 
> From: users  on behalf of Cici Feng via
> users 
> Sent: Thursday, April 21, 2022 6:11 AM
> To: Open MPI Users
> Cc: Cici Feng
> Subject: Re: [OMPI users] help with M1 chip macOS openMPI installation
>
> Gilles,
>
> Thank you so much for the quick response!
> openMPI installed by brew is compiled on gcc and gfortran using the
> original compilers by Apple. Now I haven't figured out how to use this gcc
> openMPI for the inversion software :(
> Given by your answer, I think I'll pause for now with the M1-intel
> compilers-openMPI route and switch to an intel cluster until someone
> figured out the M1 chip problem ~
>
> Thanks again for your help!
> Cici
>
> On Thu, Apr 21, 2022 at 5:59 PM Gilles Gouaillardet via users <
> users@lists.open-mpi.org> wrote:
> Cici,
>
> I do not think the Intel C compiler is able to generate native code for
> the M1 (aarch64).
> The best case scenario is it would generate code for x86_64 and then
> Rosetta would be used to translate it to aarch64 code,
> and this is a very downgraded solution.
>
> So if you really want to stick to the Intel compiler, I strongly encourage
> you to run on Intel/AMD processors.
> Otherwise, use a native compiler for aarch64, and in this case, brew is
> not a bad option.
>
>
> Cheers,
>
> Gilles
>
> On Thu, Apr 21, 2022 at 6:36 PM Cici Feng via users <
> users@lists.open-mpi.org> wrote:
> Hi there,
>
> I am trying to install an electromagnetic inversion software (MARE2DEM) of
> which the intel C compilers and open-MPI are considered as the
> prerequisite. However, since I am completely new to computer science and
> coding, together with some of the technical issues of the computer I am
> building all this on, I have encountered some questions with the whole
> process.
>
> The computer I am working on is a macbook pro with a M1 Max chip. Despite
> how my friends have discouraged me to keep working on my M1 laptop, I still
> want to reach out to the developers since I feel like you guys might have a
> solution.
>
> By downloading the source code of openMPI on the .org website and "sudo
> configure and make all install", I was not able to install the openMPI onto
> my computer. The error provided mentioned something about the chip is not
> supported or somewhat.
>
> I have also tried to install openMPI through homebrew using the command
> "brew install openmpi" and it worked just fine. However, since Homebrew has
> automatically set up the configuration of openMPI (it uses gcc and
> gfortran), I was not able to use my intel compilers to build openMPI which
> causes further problems in the installation of my inversion software.
>
> In conclusion, I think right now the M1 chip is the biggest problem of the
> whole installation process yet I think you guys might have some solution
> for the installation. I would assume that Apple is switching all of its
> chip to M1 which makes the shifts and changes inevitable.
>
> I would really like to hear from you with the solution of installing
> openMPI on a M1-chip macbook and I would like to thank for your time to
> read my prolong email.
>
> Thank you very much.
> Sincerely,
>
> Cici
>
>
>
>
>
>


Re: [OMPI users] help with M1 chip macOS openMPI installation

2022-04-21 Thread Jeff Squyres (jsquyres) via users
A little more color on Gilles' answer: I believe that we had some Open MPI 
community members work on adding M1 support to Open MPI, but Gilles is 
absolutely correct: the underlying compiler has to support the M1, or you won't 
get anywhere.

--
Jeff Squyres
jsquy...@cisco.com


From: users  on behalf of Cici Feng via users 

Sent: Thursday, April 21, 2022 6:11 AM
To: Open MPI Users
Cc: Cici Feng
Subject: Re: [OMPI users] help with M1 chip macOS openMPI installation

Gilles,

Thank you so much for the quick response!
openMPI installed by brew is compiled on gcc and gfortran using the original 
compilers by Apple. Now I haven't figured out how to use this gcc openMPI for 
the inversion software :(
Given by your answer, I think I'll pause for now with the M1-intel 
compilers-openMPI route and switch to an intel cluster until someone figured 
out the M1 chip problem ~

Thanks again for your help!
Cici

On Thu, Apr 21, 2022 at 5:59 PM Gilles Gouaillardet via users 
mailto:users@lists.open-mpi.org>> wrote:
Cici,

I do not think the Intel C compiler is able to generate native code for the M1 
(aarch64).
The best case scenario is it would generate code for x86_64 and then Rosetta 
would be used to translate it to aarch64 code,
and this is a very downgraded solution.

So if you really want to stick to the Intel compiler, I strongly encourage you 
to run on Intel/AMD processors.
Otherwise, use a native compiler for aarch64, and in this case, brew is not a 
bad option.


Cheers,

Gilles

On Thu, Apr 21, 2022 at 6:36 PM Cici Feng via users 
mailto:users@lists.open-mpi.org>> wrote:
Hi there,

I am trying to install an electromagnetic inversion software (MARE2DEM) of 
which the intel C compilers and open-MPI are considered as the prerequisite. 
However, since I am completely new to computer science and coding, together 
with some of the technical issues of the computer I am building all this on, I 
have encountered some questions with the whole process.

The computer I am working on is a macbook pro with a M1 Max chip. Despite how 
my friends have discouraged me to keep working on my M1 laptop, I still want to 
reach out to the developers since I feel like you guys might have a solution.

By downloading the source code of openMPI on the .org website and "sudo 
configure and make all install", I was not able to install the openMPI onto my 
computer. The error provided mentioned something about the chip is not 
supported or somewhat.

I have also tried to install openMPI through homebrew using the command "brew 
install openmpi" and it worked just fine. However, since Homebrew has 
automatically set up the configuration of openMPI (it uses gcc and gfortran), I 
was not able to use my intel compilers to build openMPI which causes further 
problems in the installation of my inversion software.

In conclusion, I think right now the M1 chip is the biggest problem of the 
whole installation process yet I think you guys might have some solution for 
the installation. I would assume that Apple is switching all of its chip to M1 
which makes the shifts and changes inevitable.

I would really like to hear from you with the solution of installing openMPI on 
a M1-chip macbook and I would like to thank for your time to read my prolong 
email.

Thank you very much.
Sincerely,

Cici







Re: [OMPI users] help with M1 chip macOS openMPI installation

2022-04-21 Thread Cici Feng via users
Gilles,

Thank you so much for the quick response!
openMPI installed by brew is compiled on gcc and gfortran using the
original compilers by Apple. Now I haven't figured out how to use this gcc
openMPI for the inversion software :(
Given by your answer, I think I'll pause for now with the M1-intel
compilers-openMPI route and switch to an intel cluster until someone
figured out the M1 chip problem ~

Thanks again for your help!
Cici

On Thu, Apr 21, 2022 at 5:59 PM Gilles Gouaillardet via users <
users@lists.open-mpi.org> wrote:

> Cici,
>
> I do not think the Intel C compiler is able to generate native code for
> the M1 (aarch64).
> The best case scenario is it would generate code for x86_64 and then
> Rosetta would be used to translate it to aarch64 code,
> and this is a very downgraded solution.
>
> So if you really want to stick to the Intel compiler, I strongly encourage
> you to run on Intel/AMD processors.
> Otherwise, use a native compiler for aarch64, and in this case, brew is
> not a bad option.
>
>
> Cheers,
>
> Gilles
>
> On Thu, Apr 21, 2022 at 6:36 PM Cici Feng via users <
> users@lists.open-mpi.org> wrote:
>
>> Hi there,
>>
>> I am trying to install an electromagnetic inversion software (MARE2DEM)
>> of which the intel C compilers and open-MPI are considered as the
>> prerequisite. However, since I am completely new to computer science and
>> coding, together with some of the technical issues of the computer I am
>> building all this on, I have encountered some questions with the whole
>> process.
>>
>> The computer I am working on is a macbook pro with a M1 Max chip. Despite
>> how my friends have discouraged me to keep working on my M1 laptop, I still
>> want to reach out to the developers since I feel like you guys might have a
>> solution.
>>
>> By downloading the source code of openMPI on the .org website and "sudo
>> configure and make all install", I was not able to install the openMPI onto
>> my computer. The error provided mentioned something about the chip is not
>> supported or somewhat.
>>
>> I have also tried to install openMPI through homebrew using the command
>> "brew install openmpi" and it worked just fine. However, since Homebrew has
>> automatically set up the configuration of openMPI (it uses gcc and
>> gfortran), I was not able to use my intel compilers to build openMPI which
>> causes further problems in the installation of my inversion software.
>>
>> In conclusion, I think right now the M1 chip is the biggest problem of
>> the whole installation process yet I think you guys might have some
>> solution for the installation. I would assume that Apple is switching all
>> of its chip to M1 which makes the shifts and changes inevitable.
>>
>> I would really like to hear from you with the solution of installing
>> openMPI on a M1-chip macbook and I would like to thank for your time to
>> read my prolong email.
>>
>> Thank you very much.
>> Sincerely,
>>
>> Cici
>>
>>
>>
>>
>>
>>


Re: [OMPI users] help with M1 chip macOS openMPI installation

2022-04-21 Thread Gilles Gouaillardet via users
Cici,

I do not think the Intel C compiler is able to generate native code for the
M1 (aarch64).
The best case scenario is it would generate code for x86_64 and then
Rosetta would be used to translate it to aarch64 code,
and this is a very downgraded solution.

So if you really want to stick to the Intel compiler, I strongly encourage
you to run on Intel/AMD processors.
Otherwise, use a native compiler for aarch64, and in this case, brew is not
a bad option.


Cheers,

Gilles

On Thu, Apr 21, 2022 at 6:36 PM Cici Feng via users <
users@lists.open-mpi.org> wrote:

> Hi there,
>
> I am trying to install an electromagnetic inversion software (MARE2DEM) of
> which the intel C compilers and open-MPI are considered as the
> prerequisite. However, since I am completely new to computer science and
> coding, together with some of the technical issues of the computer I am
> building all this on, I have encountered some questions with the whole
> process.
>
> The computer I am working on is a macbook pro with a M1 Max chip. Despite
> how my friends have discouraged me to keep working on my M1 laptop, I still
> want to reach out to the developers since I feel like you guys might have a
> solution.
>
> By downloading the source code of openMPI on the .org website and "sudo
> configure and make all install", I was not able to install the openMPI onto
> my computer. The error provided mentioned something about the chip is not
> supported or somewhat.
>
> I have also tried to install openMPI through homebrew using the command
> "brew install openmpi" and it worked just fine. However, since Homebrew has
> automatically set up the configuration of openMPI (it uses gcc and
> gfortran), I was not able to use my intel compilers to build openMPI which
> causes further problems in the installation of my inversion software.
>
> In conclusion, I think right now the M1 chip is the biggest problem of the
> whole installation process yet I think you guys might have some solution
> for the installation. I would assume that Apple is switching all of its
> chip to M1 which makes the shifts and changes inevitable.
>
> I would really like to hear from you with the solution of installing
> openMPI on a M1-chip macbook and I would like to thank for your time to
> read my prolong email.
>
> Thank you very much.
> Sincerely,
>
> Cici
>
>
>
>
>
>


[OMPI users] help with M1 chip macOS openMPI installation

2022-04-21 Thread Cici Feng via users
Hi there,

I am trying to install an electromagnetic inversion software (MARE2DEM) of
which the intel C compilers and open-MPI are considered as the
prerequisite. However, since I am completely new to computer science and
coding, together with some of the technical issues of the computer I am
building all this on, I have encountered some questions with the whole
process.

The computer I am working on is a macbook pro with a M1 Max chip. Despite
how my friends have discouraged me to keep working on my M1 laptop, I still
want to reach out to the developers since I feel like you guys might have a
solution.

By downloading the source code of openMPI on the .org website and "sudo
configure and make all install", I was not able to install the openMPI onto
my computer. The error provided mentioned something about the chip is not
supported or somewhat.

I have also tried to install openMPI through homebrew using the command
"brew install openmpi" and it worked just fine. However, since Homebrew has
automatically set up the configuration of openMPI (it uses gcc and
gfortran), I was not able to use my intel compilers to build openMPI which
causes further problems in the installation of my inversion software.

In conclusion, I think right now the M1 chip is the biggest problem of the
whole installation process yet I think you guys might have some solution
for the installation. I would assume that Apple is switching all of its
chip to M1 which makes the shifts and changes inevitable.

I would really like to hear from you with the solution of installing
openMPI on a M1-chip macbook and I would like to thank for your time to
read my prolong email.

Thank you very much.
Sincerely,

Cici