Hi! I am also trying to install Dealii on Apple M1 Monterey 12.2.1. I also 
got similar "failure with exit status: 2". May I ask what is the difference 
between the master version in this conversation and v9.3.3? Many thanks in 
advance.

On Friday, March 18, 2022 at 7:29:46 AM UTC-7 masou...@gmail.com wrote:

> I removed this Master version, and install 9.3.3 version, it worked!
> Many thanks Timo.
> On Friday, 18 March 2022 at 13:46:01 UTC Masoud Ahmadi wrote:
>
>> Thanks Timo.
>> I removed homebrew entirely, then reinstall it and just run:
>> brew install cmake open-mpi gcc
>>
>> Then I install the master version, this time the setup was completed; 
>> however, when I tried to run step-1 example, this happened:
>> [image: Screenshot 2022-03-18 at 12.30.12.png]
>> On Wednesday, 16 March 2022 at 15:17:09 UTC Timo Heister wrote:
>>
>>> > # SCALAPACK_LIBRARIES = /opt/homebrew/lib/libscalapack.dylib;-lm;- 
>>>
>>> It looks like you have a scalapack installation that got picked up and 
>>> caused the error. Can you do 
>>> cmake -D DEAL_II_WITH_SCALAPACK=OFF . 
>>> in the directory where you found the detailed.log? Follow that by 
>>> make install 
>>> (you can use -j to use more cores of course). 
>>>
>>>
>>> On Wed, Mar 16, 2022 at 9:42 AM Masoud Ahmadi <masou...@gmail.com> 
>>> wrote: 
>>> > 
>>> > I had removed candi, so I had to reinstall it. 
>>> > But again got the same error. 
>>> > The requested log file is attached. Please see. 
>>> > 
>>> > 
>>> > 
>>> > On Tuesday, 15 March 2022 at 13:00:35 UTC Timo Heister wrote: 
>>> >> 
>>> >> Can you please post your 
>>> /Users/masoud/dealii-candi/tmp/build/deal.II-master/detailed.log ? 
>>> >> 
>>> >> On Tue, Mar 15, 2022 at 7:18 AM Masoud Ahmadi <masou...@gmail.com> 
>>> wrote: 
>>> >>> 
>>> >>> Thanks Timo, 
>>> >>> 
>>> >>> I tried to switch to master, but again the same thing happened. 
>>> >>> So, now on the master branch of candi, same error. 
>>> >>> I attached the log file, please take a look. 
>>> >>> 
>>> >>> 
>>> >>> On Sunday, 13 March 2022 at 19:55:52 UTC Timo Heister wrote: 
>>> >>>> 
>>> >>>> What candi git branch are you on? You might need to switch to 
>>> master to make things work for now. 
>>> >>>> 
>>> >>>> Can you post how you execute candi.sh including the first few pages 
>>> of output? 
>>> >>>> 
>>> >>>> On Sun, Mar 13, 2022, 06:42 Masoud Ahmadi <masou...@gmail.com> 
>>> wrote: 
>>> >>>>> 
>>> >>>>> Dear Timo, 
>>> >>>>> 
>>> >>>>> No, I did not change anything; I did exactly what is explained in 
>>> the following link, step by step: 
>>> >>>>> https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX 
>>> >>>>> 
>>> >>>>> On Saturday, 12 March 2022 at 16:54:56 UTC Timo Heister wrote: 
>>> >>>>>> 
>>> >>>>>> Did you make any changes to candi.cfg? Can you also please post 
>>> how you execute candi.sh (what arguments)? 
>>> >>>>>> 
>>> >>>>>> On Mon, Mar 7, 2022, 12:23 Masoud Ahmadi <masou...@gmail.com> 
>>> wrote: 
>>> >>>>>>> 
>>> >>>>>>> Hi, 
>>> >>>>>>> 
>>> >>>>>>> I am trying to install dealii on a apple ARM M1 OSX, using the 
>>> following instructor: 
>>> >>>>>>> https://github.com/dealii/dealii/wiki/Apple-ARM-M1-OSX 
>>> >>>>>>> 
>>> >>>>>>> However, I get the following error: 
>>> >>>>>>> 
>>> >>>>>>> 
>>> >>>>>>> error: use of undeclared identifier 'H5Pset_dxpl_mpio' 
>>> >>>>>>> status = H5Pset_dxpl_mpio(plist_id, H5FD_MPIO_INDEPENDENT); 
>>> >>>>>>> ^ 
>>> >>>>>>> 
>>> /Users/masoud/dealii-candi/tmp/unpack/deal.II-v9.3.3/source/lac/scalapack.cc:3242:63:
>>>  
>>> warning: unused parameter 'filename' [-Wunused-parameter] 
>>> >>>>>>> ScaLAPACKMatrix<NumberType>::load_parallel(const std::string 
>>> &filename) 
>>> >>>>>>> ^ 
>>> >>>>>>> 
>>> /Users/masoud/dealii-candi/tmp/unpack/deal.II-v9.3.3/source/lac/scalapack.cc:2861:20:
>>>  
>>> error: use of undeclared identifier 'H5Pset_fapl_mpio' 
>>> >>>>>>> status = H5Pset_fapl_mpio(plist_id, tmp.grid->mpi_communicator, 
>>> info); 
>>> >>>>>>> ^ 
>>> >>>>>>> 
>>> /Users/masoud/dealii-candi/tmp/build/deal.II-v9.3.3/source/lac/scalapack.inst:10:16:
>>>  
>>> note: in instantiation of member function 
>>> 'dealii::ScaLAPACKMatrix<double>::save_parallel' requested here 
>>> >>>>>>> template class ScaLAPACKMatrix< double >; 
>>> >>>>>>> ^ 
>>> >>>>>>> 
>>> /Users/masoud/dealii-candi/tmp/unpack/deal.II-v9.3.3/source/lac/scalapack.cc:2861:20:
>>>  
>>> error: use of undeclared identifier 'H5Pset_fapl_mpio' 
>>> >>>>>>> status = H5Pset_fapl_mpio(plist_id, tmp.grid->mpi_communicator, 
>>> info); 
>>> >>>>>>> ^ 
>>> >>>>>>> 
>>> /Users/masoud/dealii-candi/tmp/build/deal.II-v9.3.3/source/lac/scalapack.inst:20:16:
>>>  
>>> note: in instantiation of member function 
>>> 'dealii::ScaLAPACKMatrix<float>::save_parallel' requested here 
>>> >>>>>>> template class ScaLAPACKMatrix< float >; 
>>> >>>>>>> ^ 
>>> >>>>>>> 1 warning and 3 errors generated. 
>>> >>>>>>> 
>>> >>>>>>> 
>>> >>>>>>> 
>>> >>>>>>> -- 
>>> >>>>>>> The deal.II project is located at http://www.dealii.org/ 
>>> >>>>>>> For mailing list/forum options, see 
>>> https://groups.google.com/d/forum/dealii?hl=en 
>>> >>>>>>> --- 
>>> >>>>>>> You received this message because you are subscribed to the 
>>> Google Groups "deal.II User Group" group. 
>>> >>>>>>> To unsubscribe from this group and stop receiving emails from 
>>> it, send an email to dealii+un...@googlegroups.com. 
>>> >>>>>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/dealii/5f96b566-3112-4dda-bb63-86e61b654156n%40googlegroups.com.
>>>  
>>>
>>> >>>>> 
>>> >>>>> -- 
>>> >>>>> The deal.II project is located at http://www.dealii.org/ 
>>> >>>>> For mailing list/forum options, see 
>>> https://groups.google.com/d/forum/dealii?hl=en 
>>> >>>>> --- 
>>> >>>>> You received this message because you are subscribed to the Google 
>>> Groups "deal.II User Group" group. 
>>> >>>>> To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to dealii+un...@googlegroups.com. 
>>> >>>>> 
>>> >>>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/dealii/957d0cc5-e3a8-4922-a770-794a3192a6a0n%40googlegroups.com.
>>>  
>>>
>>> >>> 
>>> >>> -- 
>>> >>> The deal.II project is located at http://www.dealii.org/ 
>>> >>> For mailing list/forum options, see 
>>> https://groups.google.com/d/forum/dealii?hl=en 
>>> >>> --- 
>>> >>> You received this message because you are subscribed to the Google 
>>> Groups "deal.II User Group" group. 
>>> >>> To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to dealii+un...@googlegroups.com. 
>>> >>> 
>>> >>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/dealii/6fcaf535-65c6-4d28-84ef-ccabd4e12833n%40googlegroups.com.
>>>  
>>>
>>> >> 
>>> >> 
>>> >> 
>>> >> -- 
>>> >> Timo Heister 
>>> >> http://www.math.clemson.edu/~heister/ 
>>> > 
>>> > -- 
>>> > The deal.II project is located at http://www.dealii.org/ 
>>> > For mailing list/forum options, see 
>>> https://groups.google.com/d/forum/dealii?hl=en 
>>> > --- 
>>> > You received this message because you are subscribed to the Google 
>>> Groups "deal.II User Group" group. 
>>> > To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to dealii+un...@googlegroups.com. 
>>> > To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/dealii/e4821e6f-0b25-43f5-8353-6d8903b523b0n%40googlegroups.com.
>>>  
>>>
>>>
>>>
>>>
>>> -- 
>>> Timo Heister 
>>> http://www.math.clemson.edu/~heister/ 
>>>
>>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/511d6e2a-1166-4f31-9ee6-4475a9236dcfn%40googlegroups.com.

Reply via email to