<div dir="ltr">On Sat, Oct 5, 2013 at 1:07 AM, Sonya Blade <span dir="ltr"><<a href="mailto:sonyablade2010@hotmail.com" target="_blank">sonyablade2010@hotmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">----------------------------------------<br>
> Date: Fri, 4 Oct 2013 23:48:10 -0500<br>
> From: <a href="mailto:balay@mcs.anl.gov">balay@mcs.anl.gov</a><br>
> To: <a href="mailto:sonyablade2010@hotmail.com">sonyablade2010@hotmail.com</a><br>
> CC: <a href="mailto:petsc-users@mcs.anl.gov">petsc-users@mcs.anl.gov</a><br>
> Subject: Re: [petsc-users] Installation Error<br>
<div><div class="h5">><br>
> On Sat, 5 Oct 2013, Sonya Blade wrote:<br>
><br>
>> Dear All,<br>
>><br>
>> I'm receiving the following errors when I'm trying to install the<br>
>> the slepc library, I'm attaching the following error messages and content<br>
>> of the configure.log file residing in slepc-3.4.2\arch-mswin-c-debug\conf folder<br>
>><br>
>> /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'<br>
><br>
> You'll need the following patch to get petsc working with cygwin64/gcc [configure and build with this patch]<br>
><br>
> <a href="https://bitbucket.org/petsc/petsc/commits/e4773d96ef73f1e0b315c5b0194cae499d71e207" target="_blank">https://bitbucket.org/petsc/petsc/commits/e4773d96ef73f1e0b315c5b0194cae499d71e207</a><br>
><br>
> Sr you can edit PETSC_ARCH/include/petscconf.h and remove the flag PETSC_HAVE_FENV_H and rebuild<br>
> the libraries.<br>
><br>
> Satish<br>
<br>
</div></div>Thank you, I'll try this <br>
<br>
Instead of intending only Win64 platform, how can I make the compilation for Petsc and Slepc <br>
compatible for both platforms Win32 and Win64 with only single compilation, is it possible at all?<br></blockquote><div><br></div><div>That will happen if you patch your sources/build with the latest 'maint' branch of PETSc.</div>
<div><br></div><div> Thanks,</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
REgards, </blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener
</div></div>