Thank you David! Indeed that solves it. 

Regards,
Rahul

> On Jan 24, 2023, at 6:40 PM, Wells, David <[email protected]> wrote:
> 
> Hi Rahul,
> 
> This is a bug in deal.II - we wrote "long int" where we should have written 
> "types::suitesparse_index", which won't work on an ARM chip (apparently long 
> long means something different there).
> 
> I wrote a patch to fix this - see
> 
> https://github.com/dealii/dealii/pull/14720
> 
> Best,
> David Wells
> From: [email protected] <mailto:[email protected]> 
> <[email protected] <mailto:[email protected]>> on behalf of Rahul 
> Gopalan Ramachandran <[email protected] <mailto:[email protected]>>
> Sent: Tuesday, January 24, 2023 8:51 AM
> To: deal.II User Group <[email protected] 
> <mailto:[email protected]>>
> Subject: [deal.II] build error with AppleClang 14.0.0.14000029
>  
> Hello All,
> 
> There seems to be a compilation error popping up after updating the Apple 
> clang compilers with the new MacOs update (compiler : AppleClang 
> 14.0.0.14000029). Here is the error, 
> 
> /softwares/dealii-9.4.1/source/lac/sparse_direct.cc:104 
> <http://sparse_direct.cc:104/>:14: error: non-const lvalue reference to type 
> 'vector<long, allocator<long>>' cannot bind to a value of unrelated type 
> 'vector<types::suitesparse_index, allocator<long long>>'
>     tmp.swap(Ap);
> 
> I am reaching out to know if anyone else tried recompiling dealii after 
> updating to MacOs Ventura in a Apple Silicon machine? Any suggestions?
> 
> Regards,
> Rahul
> -- 
> 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] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/67dec931-8bb7-456f-89de-9f8d2ebf7bfcn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/dealii/67dec931-8bb7-456f-89de-9f8d2ebf7bfcn%40googlegroups.com?utm_medium=email&utm_source=footer>.
> -- 
> 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 a topic in the Google 
> Groups "deal.II User Group" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/dealii/geO2pl5YA6o/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to 
> [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dealii/MN2PR03MB4879263C5809AFEB496775C0EDC99%40MN2PR03MB4879.namprd03.prod.outlook.com
>  
> <https://groups.google.com/d/msgid/dealii/MN2PR03MB4879263C5809AFEB496775C0EDC99%40MN2PR03MB4879.namprd03.prod.outlook.com?utm_medium=email&utm_source=footer>.

-- 
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/D755A70F-0B49-4BA2-BF9B-7645DD39677B%40gmail.com.

Reply via email to