I was able to install p4est successfully by 

(1) setting CFLAGS="-std=c99"
(2) editing the sc_io.c file per the suggestion on the github issue page 
opened by Wolfgang
(3) defining the mathematical constants (specifically M_PI, M_PI_4, and 
M_SQRT2) in each script that used one (a partial list was added to the 
github issue for this).

Since the install worked I didn't try the older version.

Thanks all!

On Wednesday, March 9, 2022 at 1:24:09 PM UTC-7 Stephanie Sparks wrote:

> Hi Timo,
>
> I get the following: 
>
> icc version 19.0.4.243 (gcc version 4.8.5 compatibility)
>
> I'll try with an older version of p4est now.
>
> Stephanie
>
> On Wednesday, March 9, 2022 at 10:31:51 AM UTC-7 Timo Heister wrote:
>
>> Stephanie,
>>
>> What does "icc -v" return for you? I can compile p4est 2.3.2 with icc
>> version 19.1.1.217
>>
>> You can also try an older p4est release like 2.2 instead of having to
>> fix a bunch of bugs inside the codebase.
>>
>>
>>
>>
>> On Mon, Mar 7, 2022 at 2:57 PM Wolfgang Bangerth <[email protected]> 
>> wrote:
>> >
>> > On 3/7/22 12:22, Stephanie Sparks wrote:
>> > >
>> > > The #include <math.h> declaration did not seem to work; however, as I
>> > > still get the same error.
>> > >
>> > > Should I note this on the github issue?
>> >
>> > Yes, please do.
>> >
>> > You can just put
>> > #define M_PI 3.14159265358979323846264338327950288
>> > anywhere in that file (before the first place where it is used) then.
>> >
>> > 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/4892fe8a-1693-acb4-cb6d-7e62af782377%40colostate.edu
>> .
>>
>>
>>
>> --
>> 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/a8be4918-bbcf-4e8b-88ab-95c14326e16en%40googlegroups.com.

Reply via email to