<div dir="ltr">Hi,<br><br>I need to install PETSc and its dependencies to a linux system, which does not allow git clone from online. Thus I need to install all the dependencies by having their source files. First I downloaded and installed all the dependencies by relying on PETSc on my local linux (which means I used --download=triangle), then tar all of them, and brought them to the cluster. <br><br>There is an issue with Triangle. I can do make (or cmake using the CMakeList file that Triangle 1.6 provides, although PETSc --download provides Triangle 1.3) and can get "libtriangle.a". But during the PETSc configure step, it fails with the error message below:<br><br>{$Triangle_Home}/build/libtriangle.a(triangle.c.o): In function `poolinit':<br>triangle.c:(.text+0x15aa): undefined reference to `PetscTrMalloc'<br>{$Triangle_Home}/build/libtriangle.a(triangle.c.o): In function `pooldeinit':<br>triangle.c:(.text+0x1708): undefined reference to `PetscTrFree'<br>...<br><br>It seems that I need to let Triangle know that it will be used by PETSc to enable those functions when I install Triangle. Is this correct understanding? If so, how can I configure, install, and link Triangle with PETSc? <br><br>I have seen some PETSc related commands in configure.py in the root directory of Triangle downloaded by PETSc, but it is not clear how this python script is related or can be used by user like me. <br><br>Thanks,<br>Mike<br></div>