Compilation error with umfpack.c
Hi, I am working with the development version of petsc and updated the files recently. After reconfiguration, make gave the following errors. libfast in: /usr/local/lib/petsc-dev/src/mat/impls/aij/seq/umfpack umfpack.c(312): error: identifier "UMFPACK_ORDERING" is undefined ierr = PetscViewerASCIIPrintf(viewer," Control[UMFPACK_ORDERING]: %s (not using the PETSc ordering)\n",UmfpackOrderingTypes[(int)lu->Control[UMFPACK_ORDERING]]);CHKERRQ(ierr); ^ umfpack.c(431): error: identifier "UMFPACK_ORDERING" is undefined ierr = PetscOptionsEList("-mat_umfpack_ordering","Internal ordering method","None",UmfpackOrderingTypes,sizeof UmfpackOrderingTypes/sizeof UmfpackOrderingTypes[0],UmfpackOrderingTypes[(int)lu->Control[UMFPACK_ORDERING]],&idx,&flg);CHKERRQ(ierr); ^ compilation aborted for umfpack.c (code 2) /usr/bin/ar: umfpack.o: No such file or directory I've sent the entire make.log and configure.log to petsc_maint which also includes few other minor warnings in hypre.c and supportgraph (backwards compatibility). The compiler used is ifort through openmpi wrappers. It looks like a header definition UMFPACK_ORDERING might be missing. I see that umfpack.h only has UMFPACK_ORDERING_USED. Am am not sure whether I should update the umfpack externalpackage or the code to get this working. Any help would be appreciated. Vijay
participants (1)
-
Vijay S. Mahadevan