Hi Timo,

The output I get is:

#        DEAL_II_WITH_HDF5 set up with external dependencies

#            HDF5_DIR = /Users/fr714/dealii-candi-basic/hdf5-1.10.7

#            HDF5_INCLUDE_DIRS = 
/Users/fr714/dealii-candi-basic/hdf5-1.10.7/include

#            HDF5_USER_INCLUDE_DIRS = 
/Users/fr714/dealii-candi-basic/hdf5-1.10.7/include

#            HDF5_LIBRARIES = 
/Users/fr714/dealii-candi-basic/hdf5-1.10.7/lib/libhdf5_hl.dylib;/Users/fr714/dealii-candi-basic/hdf5-1.10.7/lib/libhdf5.dylib

Best,

Fred

On Tuesday, April 5, 2022 at 4:54:41 PM UTC+1 Timo Heister wrote:

> Can you post the output of "grep HDF5 detailed.log" in the directory 
> /Users/fr714/dealii-candi-basic/tmp/unpack/deal.II-v9.3.3/ please?
>
>
> On Tuesday, April 5, 2022 at 9:18:01 AM UTC-4 [email protected] wrote:
>
>> I also have the same issue, irrespective of whether I try to compile 
>> using the v9.3.3 or the master version of deal.ii. I'm on Apple M1 Monterey 
>> 12.3.
>>
>> Here's the compilation error for source/base/hdf5.cc:
>>
>> In file included from 
>> /Users/fr714/dealii-candi-basic/tmp/unpack/deal.II-v9.3.3/source/base/hdf5.cc:20:
>>
>> /Users/fr714/dealii-candi-basic/tmp/unpack/deal.II-v9.3.3/include/deal.II/base/hdf5.h:1470:30:
>>  
>> error: use of undeclared identifier 'H5Pset_dxpl_mpio'
>>
>>           const herr_t ret = H5Pset_dxpl_mpio(plist, 
>> H5FD_MPIO_COLLECTIVE);
>>
>>                              ^
>>
>> /Users/fr714/dealii-candi-basic/tmp/unpack/deal.II-v9.3.3/include/deal.II/base/hdf5.h:1502:21:
>>  
>> error: use of undeclared identifier 'H5Pget_mpio_actual_io_mode'
>>
>>               ret = H5Pget_mpio_actual_io_mode(plist, &io_mode);
>>
>>                     ^
>>
>> /Users/fr714/dealii-candi-basic/tmp/unpack/deal.II-v9.3.3/include/deal.II/base/hdf5.h:1505:17:
>>  
>> error: use of undeclared identifier 'H5Pget_mpio_no_collective_cause'
>>
>>                 H5Pget_mpio_no_collective_cause(plist,
>>
>>                 ^
>>
>> 3 errors generated.
>>
>> Seems odd as the correct version of hdf5 and all associated libraries 
>> seems to be found OK in the configuration step.
>>
>> On Friday, April 1, 2022 at 8:09:31 AM UTC+1 [email protected] wrote:
>>
>>> 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 [email protected] 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 <[email protected]> 
>>>>>> 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 <[email protected]> 
>>>>>> 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 <[email protected]> 
>>>>>> 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 <[email protected]> 
>>>>>> 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 [email protected]. 
>>>>>> >>>>>>> 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 [email protected]. 
>>>>>> >>>>> 
>>>>>> >>>>> 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 [email protected]. 
>>>>>> >>> 
>>>>>> >>> 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 [email protected]. 
>>>>>> > 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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/d7772b7c-6b7b-4cf2-b2f2-931907d7516dn%40googlegroups.com.

Reply via email to