[petsc-dev] PaStiX build broken

Garth N. Wells gnw20 at cam.ac.uk
Tue Nov 1 07:19:01 CDT 2016


I get a PaStiX build failure with '--download-pastix':

In file included from sopalin/src/murge.c:364:0,
                 from sopalin/src/zmurge.c:54:
sopalin/src/variable_csc.c: In function ‘vcsc_add_node’:
sopalin/src/variable_csc.c:138:13: error: non-floating-point argument
in call to function ‘__builtin_isnan’
             if (isnan(vcsc->values[COL-1][i*dof2 + ii])) {
             ^~
sopalin/src/variable_csc.c: In function ‘vcsc_add’:
sopalin/src/variable_csc.c:255:11: error: non-floating-point argument
in call to function ‘__builtin_isnan’
           if (isnan(vcsc->values[COL_NODE][idx])) {
           ^~
sopalin/src/variable_csc.c: In function ‘vcsc_to_cscd’:
sopalin/src/variable_csc.c:663:15: error: non-floating-point argument
in call to function ‘__builtin_isnan’
               if (!isnan(vcsc->values[MYCOL-1][dof2*iter2+iterdof])) {
               ^~
make: *** [sopalin/obj/i686_pc_linux/zmurge.o] Error 1
*******************************************************************************

>From the PaStIX changelog, it looks like it's fixed in PaStiX 5.2.3.
But, despite bumping the version in PaStiX.py cleaning everything out,
PETSc kept downloading 5.2.2.20. I have no idea where the build system
is getting 5.2.2.20 from.

Also, the doc at

    http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Mat/MATSOLVERPASTIX.html

seems inconsistent with config/BuildSystem/config/packages/PaStiX.py -
PaStiX doesn't depend on ParMETIS and METIS.

Garth



More information about the petsc-dev mailing list