<div dir="ltr"><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><div class="gmail_default" style="font-family:comic sans ms,sans-serif">I did that and I got the following error:</div><div class="gmail_default" style="font-family:comic sans ms,sans-serif"><br></div><div class="gmail_default" style="font-family:comic sans ms,sans-serif">**************************ERROR*************************************<br> Error during compile, check arch-linux2-c-debug/lib/petsc/conf/make.log<br> Send it and arch-linux2-c-debug/lib/petsc/conf/configure.log to <a href="mailto:petsc-maint@mcs.anl.gov" target="_blank">petsc-maint@mcs.anl.gov</a><br>********************************************************************<br></div><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">Huq</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 30, 2018 at 10:55 AM Jed Brown <<a href="mailto:jed@jedbrown.org">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fazlul Huq <<a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a>> writes:<br>
<br>
> I have run:<br>
><br>
> jimmy@dave:~/projects/petsc$ ./configure --download-hyper<br>
> &<br>
> jimmy@dave:~/projects/petsc$ ./configure --download-ml<br>
<br>
The package name is hypre, not hyper. And you need to pass both at once<br>
if you want both libraries to be available.<br>
<br>
> At the end I got following message:<br>
><br>
> xxx=========================================================================xxx<br>
> Configure stage complete. Now build PETSc libraries with (gnumake build):<br>
> make PETSC_DIR=/home/jimmy/projects/petsc PETSC_ARCH=arch-linux2-c-debug<br>
> all<br>
> xxx=========================================================================xxx<br>
><br>
> Am I ready to use it now or do I need no make it first?<br>
<br>
As the message says, you need to issue that command to build.<br>
<br>
> Or do I need to edit .bashrc file with,<br>
><br>
> export PETSC_DIR=/home/jimmy/projects/petsc<br>
> &<br>
> export PETSC_ARCH=arch-linux2-c-debug all<br>
><br>
> And then run make from command window?<br>
><br>
> Thanks.<br>
> Huq<br>
><br>
><br>
> On Thu, Aug 30, 2018 at 9:40 AM Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br>
><br>
>> You would configure PETSc with --download-hypre and --download-ml (this<br>
>> part of Trilinos can be installed on its own). Then run your<br>
>> application with run-time options like -pc_type hypre or -pc_type ml.<br>
>> See the user's manual and/or tutorials.<br>
>><br>
>> Fazlul Huq <<a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a>> writes:<br>
>><br>
>> > Hello Petsc developers,<br>
>> ><br>
>> > 1. I want to integrate petsc with hyper and trilinos cause I want to<br>
>> solve<br>
>> > some problems using multigrid. I know, I need to download and install<br>
>> > both of them and then configure petsc with hyper and trilinos to use them<br>
>> > with petsc. But, I don't know how to configure petsc with hyper and<br>
>> > trilinos or any other package. Is it like, running some command from<br>
>> > terminal or editing .bashrc file? Currently, this is the .bashrc file<br>
>> > regarding petsc in my desktop:<br>
>> ><br>
>> > export PETSC_DIR=/home/jimmy/projects/petsc<br>
>> ><br>
>> > 2. Can I use c programming routine in petsc code and make and run it? If<br>
>> > yes then what is the procedure? Last day I tried to do that but I got<br>
>> error<br>
>> > message while making the file.<br>
>> ><br>
>> > Thanks.<br>
>> ><br>
>> > --<br>
>> ><br>
>> > Fazlul Huq<br>
>> > Graduate Research Assistant<br>
>> > Department of Nuclear, Plasma & Radiological Engineering (NPRE)<br>
>> > University of Illinois at Urbana-Champaign (UIUC)<br>
>> > E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a><br>
>><br>
><br>
><br>
> -- <br>
><br>
> Fazlul Huq<br>
> Graduate Research Assistant<br>
> Department of Nuclear, Plasma & Radiological Engineering (NPRE)<br>
> University of Illinois at Urbana-Champaign (UIUC)<br>
> E-mail: <a href="mailto:huq2090@gmail.com" target="_blank">huq2090@gmail.com</a><br>
</blockquote></div><br clear="all"><br>-- <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>