<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-family:"comic sans ms",sans-serif">Thanks.</div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">./configure --download-hypre  --download-mpich works well. </span><br></div><div class="gmail_default" style="font-family:"comic sans ms",sans-serif"><span style="font-family:Arial,Helvetica,sans-serif">But when I run the follwoing:</span></div><div class="gmail_default"><font face="comic sans ms, sans-serif">make PETSC_DIR=/home/huq2090/petsc-3.10.2 PETSC_ARCH=arch-linux2-c-debug all</font><br></div><div class="gmail_default"><font face="comic sans ms, sans-serif"><br></font></div><div class="gmail_default"><font face="comic sans ms, sans-serif">I got following errors: </font></div><div class="gmail_default"><font face="comic sans ms, sans-serif">$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</font></div><div class="gmail_default"><font face="comic sans ms, sans-serif"><div class="gmail_default">CLINKER arch-linux2-c-debug/lib/libpetsc.so.3.10.2</div><div class="gmail_default">arch-linux2-c-debug/obj/mat/impls/baij/seq/baij.o: In function `MatCreate_SeqBAIJ':</div><div class="gmail_default">/home/huq2090/petsc-3.10.2/src/mat/impls/baij/seq/baij.c:3049: undefined reference to `MatConvert_AIJ_HYPRE'</div><div class="gmail_default">/usr/bin/ld: arch-linux2-c-debug/obj/mat/impls/baij/seq/baij.o: relocation R_X86_64_PC32 against undefined hidden symbol `MatConvert_AIJ_HYPRE' can not be used when making a shared object</div><div class="gmail_default">/usr/bin/ld: final link failed: Bad value</div><div class="gmail_default">collect2: error: ld returned 1 exit status</div><div class="gmail_default">gmakefile:86: recipe for target 'arch-linux2-c-debug/lib/libpetsc.so.3.10.2' failed</div><div class="gmail_default">make[2]: *** [arch-linux2-c-debug/lib/libpetsc.so.3.10.2] Error 1</div><div class="gmail_default">make[2]: Leaving directory '/home/huq2090/petsc-3.10.2'</div><div class="gmail_default">/home/huq2090/petsc-3.10.2/lib/petsc/conf/rules:81: recipe for target 'gnumake' failed</div><div class="gmail_default">make[1]: *** [gnumake] Error 2</div><div class="gmail_default">make[1]: Leaving directory '/home/huq2090/petsc-3.10.2'</div><div class="gmail_default">**************************ERROR*************************************</div><div class="gmail_default">  Error during compile, check arch-linux2-c-debug/lib/petsc/conf/make.log</div><div class="gmail_default">  Send it and arch-linux2-c-debug/lib/petsc/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov">petsc-maint@mcs.anl.gov</a></div><div class="gmail_default">********************************************************************</div><div class="gmail_default">makefile:30: recipe for target 'all' failed</div><div class="gmail_default">make: *** [all] Error 1</div><div>$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$</div><div><br></div><div>Again, the log file is attached herewith.</div><div><br></div><div>Note: I have moose installed in my laptop but I have commented out from bashrc file</div><div><div>#moose</div><div>#if [ -f /opt/moose/environments/moose_profile ]; then</div><div> #   . /opt/moose/environments/moose_profile</div><div>#fi</div></div><div><br></div><div>Thanks.</div><div>Sincerely,</div><div>Huq</div></font></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 4:59 PM Balay, Satish <<a href="mailto:balay@mcs.anl.gov">balay@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">As the message suggests - you don't have MPI installed - so run:<br>
<br>
./configure --download-hypre  --download-mpich<br>
<br>
Satish<br>
<br>
On Tue, 20 Nov 2018, Fazlul Huq via petsc-users wrote:<br>
<br>
> Hello PETSc Developers,<br>
> <br>
> I am trying to configure PETSc with ./configure --download-hypre<br>
> but I got the following message on terminal:<br>
> <br>
> ========================================================================<br>
>              Configuring PETSc to compile on your system<br>
> <br>
> =========================================================================<br>
> TESTING: check from<br>
> config.libraries(config/BuildSystem/config/libraries.py:158)<br>
> <br>
> *******************************************************************************<br>
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for<br>
> details):<br>
> -------------------------------------------------------------------------------<br>
> Unable to find mpi in default locations!<br>
> Perhaps you can specify with --with-mpi-dir=<directory><br>
> If you do not want MPI, then give --with-mpi=0<br>
> You might also consider using --download-mpich instead<br>
> *******************************************************************************<br>
> <br>
> The log file is attached herewith.<br>
> <br>
> Thanks.<br>
> Sincerely,<br>
> Huq<br>
> <br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><br><div><font face="comic sans ms, sans-serif">Fazlul Huq</font></div><div><font face="comic sans ms, sans-serif">Graduate Research Assistant</font></div><div><font face="comic sans ms, sans-serif">Department of Nuclear, Plasma & Radiological Engineering (NPRE)</font></div><div><font face="comic sans ms, sans-serif">University of Illinois at Urbana-Champaign (UIUC)</font></div><div><font face="comic sans ms, sans-serif">E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a></font></div></div></div></div></div></div></div>