On Sat, 5 Oct 2013, Matthew Knepley wrote: > On Sat, Oct 5, 2013 at 1:07 AM, Sonya Blade <[email protected]>wrote: > > > ---------------------------------------- > > > Date: Fri, 4 Oct 2013 23:48:10 -0500 > > > From: [email protected] > > > To: [email protected] > > > CC: [email protected] > > > Subject: Re: [petsc-users] Installation Error > > > > > > 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 > > > > Thank you, I'll try this > > > > Instead of intending only Win64 platform, how can I make the compilation > > for Petsc and Slepc > > compatible for both platforms Win32 and Win64 with only single > > compilation, is it possible at all? > > > > That will happen if you patch your sources/build with the latest 'maint' > branch of PETSc.
For source comatibility - yes - the above patch - or using 'maint' branch from git will work. For binary compatibility - if you have 32bit binaries - it should probably run on both win32 and win64 machines.. Satish
