<div dir="ltr">Maybe configure should not warn if environment variables are empty? Or at least special-case MAKEFLAGS such that `make reconfigure` does not print the confusing message? What do you think, Satish?</div><br><div class="gmail_quote"><div dir="ltr">On Sat, 1 Dec 2018 at 22:23, Hapla  Vaclav via petsc-dev <<a href="mailto:petsc-dev@mcs.anl.gov">petsc-dev@mcs.anl.gov</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word;line-break:after-white-space">
... except that it somehow passes this MAKEFLAGS= to configure, resulting in the confusing message ...<br>
<div><br>
<blockquote type="cite">
<div>1. 12. 2018 v 17:33, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" target="_blank">stefano.zampini@gmail.com</a>>:</div>
<br class="m_1167717032744948694Apple-interchange-newline">
<div>
<div dir="auto">Make reconfigure is equivalent to rerun the configure script</div>
<br>
<div class="gmail_quote">
<div dir="ltr">Il giorno Sab 1 Dic 2018, 18:09 Hapla Vaclav <<a href="mailto:vaclav.hapla@erdw.ethz.ch" target="_blank">vaclav.hapla@erdw.ethz.ch</a>> ha scritto:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
... but this is apparently not caused by your merge.<br>
<br>
Is it just normal behavior of make reconfigure?<br>
I didn't know about this, I always call the reconfigure script directly.<br>
<br>
Vaclav<br>
<br>
> 1. 12. 2018 v 16:04, Hapla Vaclav <<a href="mailto:vaclav.hapla@erdw.ethz.ch" rel="noreferrer" target="_blank">vaclav.hapla@erdw.ethz.ch</a>>:<br>
> <br>
> Thanks, you're right.<br>
> <br>
> However,<br>
> <br>
> $ make reconfigure <br>
> ===============================================================================<br>
>             Configuring PETSc to compile on your system                       <br>
> ===============================================================================<br>
> ===============================================================================<br>
>                          ***** WARNING: MAKEFLAGS (set to ) found in environment variables - ignoring<br>
>                        use ./configure MAKEFLAGS=$MAKEFLAGS if you really want to use that value ******            ===============================================================================
<br>
> <br>
> although I have no such variable set in my shell.<br>
> <br>
> Vaclav<br>
> <br>
>> 1. 12. 2018 v 15:36, Stefano Zampini <<a href="mailto:stefano.zampini@gmail.com" rel="noreferrer" target="_blank">stefano.zampini@gmail.com</a>>:<br>
>> <br>
>> I have added a new package that gets built after petsc. You have to run <br>
>> <br>
>> make reconfigure<br>
>> <br>
>> Il giorno Sab 1 Dic 2018, 16:52 Hapla Vaclav <<a href="mailto:vaclav.hapla@erdw.ethz.ch" rel="noreferrer" target="_blank">vaclav.hapla@erdw.ethz.ch</a>> ha scritto:<br>
>> Hi Stefano<br>
>> <br>
>> After pulling latest master, I get the following at the end of make output:<br>
>> make[1]: *** No rule to make target 'mfem-build', needed by 'all-gnumake-local'.  Stop.<br>
>> make[1]: Leaving directory '/scratch/petsc-dev-1'<br>
>> Now to check if the libraries are working do:<br>
>> make PETSC_DIR=/scratch/petsc-dev-1 PETSC_ARCH=arch-linux-gcc check<br>
>> <br>
>> Do you think you could remove that line for non-mfem builds? I think it looks like an error for a user.<br>
>> <br>
>> Vaclav<br>
> <br>
<br>
</blockquote>
</div>
</div>
</blockquote>
</div>
<br>
</div>

</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">Lisandro Dalcin<br>============<br>Research Scientist<br>Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)<br>Extreme Computing Research Center (ECRC)<br>King Abdullah University of Science and Technology (KAUST)<br><a href="http://ecrc.kaust.edu.sa/" target="_blank">http://ecrc.kaust.edu.sa/</a><br><br>4700 King Abdullah University of Science and Technology<br>al-Khawarizmi Bldg (Bldg 1), Office # 0109<br>Thuwal 23955-6900, Kingdom of Saudi Arabia<br><a href="http://www.kaust.edu.sa" target="_blank">http://www.kaust.edu.sa</a><br><br>Office Phone: +966 12 808-0459</div>