[deal.II] Install error with p4est

40 views
Skip to first unread message

陈敏

unread,
Nov 13, 2021, 6:53:16 AM11/13/21
to dea...@googlegroups.com
Dear all,

I want to use partition mesh with p4est, but p4est is difficult to install.
Can anyone give me some instructions on install p4est?

I install p4est following the install instructions from https://dealii.org/current/external-libs/p4est.html, but still, some errors occur: 
grep: /home/chen/p4est-build/FAST/src/p4est_config.h: 没有那个文件或目录
Error: deal.II requires that p4est be built with zlib support. Please either ensure that zlib is installed in a standard location or add appropriate flags to LDFLAGS and CPPFLAGS to both calls to configure to describe where zlib's shared object files and headers are (e.g., LDFLAGS="-L/path/to/shared-objects/" and CPPFLAGS="-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL -I/path/to/headers/").

the config.log is here.

One more question is that how to configure the p4est to appoint the directory of zlib or the openmpi?

Best regards,
Chen
 
config.log

hkch...@gmail.com

unread,
Nov 13, 2021, 9:43:35 PM11/13/21
to deal.II User Group
Dear all,

Sorry for omitting a more detailed description, my platform is Ubuntu 20.04 and zlib install at /usr/local/zlib. I'm trying to install the p4est version2.8.
Now, I install p4est version2.2 and success, and compile the dealii with this p4est (version2.2). but the error occur when install the p4est version2.8 is weird, the same error occur for p4est version2.3.3

Best,
Chen

Wolfgang Bangerth

unread,
Nov 16, 2021, 12:35:51 PM11/16/21
to dea...@googlegroups.com
On 11/13/21 7:43 PM, hkch...@gmail.com wrote:
>
> Sorry for omitting a more detailed description, my platform is Ubuntu
> 20.04 and zlib install at /usr/local/zlib. I'm trying to install the
> p4est version2.8.
> Now, I install p4est version2.2 and success, and compile the dealii with
> this p4est (version2.2). but the error occur when install the p4est
> version2.8 is weird, the same error occur for p4est version2.3.3

I'm not sure any of us have tried with the newest p4est versions. We
probably need to try at some point. But in the meantime, you don't
actually need the latest version. (For example, I'm using p4est 2.0.2 on
my main machines.) So if you have something that works, go with it!

Best
W.


--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/
Reply all
Reply to author
Forward
0 new messages