[petsc-users] Installation Error

Satish Balay balay at mcs.anl.gov
Fri Oct 4 23:48:10 CDT 2013


On Sat, 5 Oct 2013, Sonya Blade wrote:

> Dear All,
> 
> I'm receiving the following errors when I'm trying to install the 
> the slepc library, I'm attaching the following error messages and content 
> of the configure.log file residing in slepc-3.4.2\arch-mswin-c-debug\conf folder 
> 
> /cygdrive/d/TEST_FOLDER_asus/petsc-3.4.2/arch-mswin-c-debug/lib/libpetsc.a(fp.c.o):fp.c:(.rdata$.refptr._fe_dfl_env[.refptr._fe_dfl_env]+0x0): undefined reference to `_fe_dfl_env'

You'll need the following patch to get petsc working with cygwin64/gcc [configure and build with this patch]

https://bitbucket.org/petsc/petsc/commits/e4773d96ef73f1e0b315c5b0194cae499d71e207

Sr you can edit PETSC_ARCH/include/petscconf.h and remove the flag PETSC_HAVE_FENV_H and rebuild
the libraries.

Satish


More information about the petsc-users mailing list