[petsc-dev] No rule to make target 'mfem-build'

Lisandro Dalcin dalcinl at gmail.com
Sun Dec 2 03:57:21 CST 2018


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?

On Sat, 1 Dec 2018 at 22:23, Hapla Vaclav via petsc-dev <
petsc-dev at mcs.anl.gov> wrote:

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

-- 
Lisandro Dalcin
============
Research Scientist
Computer, Electrical and Mathematical Sciences & Engineering (CEMSE)
Extreme Computing Research Center (ECRC)
King Abdullah University of Science and Technology (KAUST)
http://ecrc.kaust.edu.sa/

4700 King Abdullah University of Science and Technology
al-Khawarizmi Bldg (Bldg 1), Office # 0109
Thuwal 23955-6900, Kingdom of Saudi Arabia
http://www.kaust.edu.sa

Office Phone: +966 12 808-0459
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20181202/922a6042/attachment-0001.html>


More information about the petsc-dev mailing list