This function is not implemented in Fortran. I will add it and let you know.
Jose


> El 10 ene 2018, a las 17:11, Samuel Lanthaler <[email protected]> 
> escribió:
> 
> Hi there,
> 
> I'm stuck getting a call to the SLEPC routine 
> "NEPNLEIGSSetSingularitiesFunction" to work from within Fortran.
> To be more precise: To get started with the solution of a non-linear 
> eigenvalue-problem, I am first trying to write a Fortran version of 
> slepc-3.8.1/.../nep/examples/tutorials/ex27.c, and then use it as a template 
> for my own code. But I haven't gotten far...
> 
> Let me attach the source of the current state of my attempt to translate 
> ex27.c to Fortran code. When trying to compile the attached source, my 
> compiler complains:
> 
> nleigs.o: In function `MAIN__':
> nleigs.f90:(.text+0x213): undefined reference to 
> `nepnleigssetsingularitiesfunction_'
> 
> Does someone maybe see what I'm doing wrong? Do I maybe need to add a USE 
> statement in addition to
> 
> USE slepcsys
> USE slepcnep
> 
> ?
> I'm quite confused about the C++ pointers and how to deal with them when 
> calling C++ functions from Fortran, so I don't really understand what's going 
> on here. I will greatly appreciate your help!
> 
> Thanks,
> Samuel
> <nleigs.f90>

Reply via email to