Re: [deal.II] University cluster installation issue: compilers

2022-03-07 Thread Wolfgang Bangerth
On 3/7/22 12:22, Stephanie Sparks wrote: The #include 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 fir

Re: [deal.II] University cluster installation issue: compilers

2022-03-07 Thread Stephanie Sparks
Thank you Wolfgang! I added #include to the sc_io.c file and that fixed the error I was getting for that one. The #include declaration did not seem to work; however, as I still get the same error. Should I note this on the github issue? Thanks, Stephanie On Monday, March 7, 2022 at 7:54:42

Re: [deal.II] Multigrid in 3D questions

2022-03-07 Thread Lucas Myers
Hi Bruno, No, unfortunately I have not played with the parameter values. Hypre has a set of recommended parameter values for 3D problems, but I think some are not exposed to the deal.II interface so I have avoided digging into the source. I chose PETSc somewhat arbitrarily, so if you are more

Re: [deal.II] University cluster installation issue: compilers

2022-03-07 Thread Wolfgang Bangerth
On 3/4/22 16:51, Stephanie Sparks wrote: I did try to specify C99 as you suggested OK, good news that that worked at least. but I get a new error now: /home/saspark2/build2//tmp/unpack/p4est-2.3.2/sc/src/sc_io.c(581): warning #266: function "fileno" declared implicitly     retval = fsy

Re: [deal.II] University cluster installation issue: compilers

2022-03-07 Thread Stephanie Sparks
Thanks Wolfgang for that suggestion. I did try to specify C99 as you suggested but I get a new error now: /home/saspark2/build2//tmp/unpack/p4est-2.3.2/sc/src/sc_io.c(581): warning #266: function "fileno" declared implicitly retval = fsync (fileno (file)); ^ /home/saspar

Re: [deal.II] Re: Assemble function, long time

2022-03-07 Thread Bruno Turcksin
Hermes, The problem is that you are using a direct solver. Direct solvers require a lot of memory because the inverse of a sparse matrix is generally not sparse. If you use a LU decomposition, which I think MUMPS does, you need a dense matrix to store the LU decomposition. That's a lot of memory!