Stephanie,

They told me to reinstall using intel/2019.4 as it is more compatible with the setup they have. However in this second installation I'm having issues with what I think might be the intel compilers in installing p4est and subsequently deal.ii. I'm able to install all the other packages that I need.

The issue you have here...

/home/saspark2/build2//tmp/unpack/p4est-2.3.2/src/p8est_connectivity.c(930): error: expected an expression
       for (int i=0; i<num_vertices*3; ++i)
            ^

...is that in traditional C, you cannot declare variables as part of a 'for' loop like you can in C++. See also

https://stackoverflow.com/questions/1287863/c-for-loop-int-initial-declaration
You can do that since the 1999 C standard, which means that most compilers now default to supporting this construct. Apparently the Intel compiler is 23 years behind the times :-( Can you choose which version of the Intel compiler you want to use? Maybe a newer version defaults to C99.

If you can't, can you try to do something like
  export CFLAGS="-std=c99"
(or whatever flag the Intel compiler wants to select a specific language standard) before you call the p4est configure script and before compiling p4est?

Best
 W.

--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 [email protected]
                           www: http://www.math.colostate.edu/~bangerth/

--
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/482bd634-2789-1421-b18d-a7b1584119ea%40colostate.edu.

Reply via email to