MFNSetScaleFactor and MFNGetScaleFactor not declared in this scope

Issue #10 resolved
Jack Hale created an issue

Trying to compile PETSc/SLEP/petsc4py/slepc4py from master branches results in the following error:

In file included from src/SLEPc.c:3:0:
src/slepc4py.SLEPc.c: In function 'PyObject* __pyx_pf_8slepc4py_5SLEPc_3MFN_30getScaleFactor(PySlepcMFNObject*)':
src/slepc4py.SLEPc.c:40018:99: error: 'MFNGetScaleFactor' was not declared in this scope
   __pyx_t_1 = __pyx_f_8slepc4py_5SLEPc_CHKERR(MFNGetScaleFactor(__pyx_v_self->mfn, (&__pyx_v_sval))); if (unlikely(__pyx_t_1 == -1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 218; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                                                                   ^
src/slepc4py.SLEPc.c: In function 'PyObject* __pyx_pf_8slepc4py_5SLEPc_3MFN_32setScaleFactor(PySlepcMFNObject*, PyObject*)':
src/slepc4py.SLEPc.c:40142:96: error: 'MFNSetScaleFactor' was not declared in this scope
   __pyx_t_2 = __pyx_f_8slepc4py_5SLEPc_CHKERR(MFNSetScaleFactor(__pyx_v_self->mfn, __pyx_v_sval)); if (unlikely(__pyx_t_2 == -1)) {__pyx_filename = __pyx_f[14]; __pyx_lineno = 232; __pyx_clineno = __LINE__; goto __pyx_L1_error;}
                                                                                                ^
error: command 'mpicxx' failed with exit status 1

Currently I have fixed this by commenting out the appropriate lines. I am willing to submit a pull request with a permanent patch, but I am unfamiliar with the MFN interface so am looking for some advice on how to proceed.

Comments (3)

  1. Log in to comment