Hi Daniel,

I am sorry for the late response. Thank you so much for your help! 

Yes, I am sure it is the same version. I tried VScode and this error 
disappeared for few days, and today I tried again and it re-appeared. 

Now it has 

1) mpi.h{Ln140, Col 27]: unknown type name 'MPI_Comm'
2) exceptions.h[Ln 1743, Col 12]: unknown type name 'DEAL_II_HOST_DEVICE'
3) all the errors in mpi.h in deal.II/base/mpi.h, identifier :MPI_Comm", 
"MPI_Request', "MPI_Group" "MPI_Datatype" .... undefined. 

I am not sure if these are related with deal.II or VScode. 

Sincere thanks and Best regards,
H

On Sunday, July 28, 2024 at 9:16:53 PM UTC-5 [email protected] wrote:

> Are you sure that you are using the same deal.II version for the
> examples as you installed? That macro should be defined in
> deal.II/base/numbers.h.
>
> Best,
> Daniel
>
> On Sun, Jul 28, 2024 at 7:02 PM H <[email protected]> wrote:
> >
> > Hi Everyone,
> >
> > I am new to the dealii. I use Mac M1 and installed dealii from candi. I 
> tried to run step-64 example and having an error of Unknown type name 
> 'DEAL_II_HOST_DEVICE'.
> >
> > May I ask why would this error show up?
> >
> > Sincerely,
> > H
> >
> > --
> > 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/6220756f-732a-4a71-a74a-e941b2207813n%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/ffab5850-3ad6-49ab-9aa1-b6e5b153efa0n%40googlegroups.com.

Reply via email to