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:
bang...@colostate.edu
www:
http://www.math.colostate.edu/~bangerth/