<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 3, 2022 at 6:12 PM Jed Brown <<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">"Evstafyeva,Tamara" <<a href="mailto:te307@cam.ac.uk" target="_blank">te307@cam.ac.uk</a>> writes:<br>
<br>
> Thanks for your prompt reply. I am attaching the makefile; the line for execution “make all -j 4”<br>
><br>
> I guess using both was my attempt at trying multiple things until they work – using either one or the other produced the same error for me.<br>
<br>
petsc.pc isn't being used here. What's probably happening is that Chombo's mk/Make.test has rules (not just variables) and those rules are replacing PETSc rules. Mark Adams (Cc'd) works with Chombo and will know for sure. </blockquote><div><br></div><div>It seems like you are trying to build a makefile system for Chombo, with PETSc, from scratch. I think you want to go through Chombo. They have worked out makefiles with PETSc and we don't want to try to recreate that.</div><div>It appears that you did not find any instructions on building Chombo with PETSc, including example makefiles. They exist, but I don't know anything about the Chombo distribution and support.<br></div><div>I would contact Chombo and see if they can help you.<br></div><div><br></div><div>I wish I could be of more help,</div><div>Good luck,</div><div>Mark</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'm mildly afraid of Chombo and would use Makefile.user to extract exactly the information you want from PETSc.<br>
<br>
Alternatively, include only ${PETSC_DIR}/lib/petsc/conf/variables from PETSc and append the variables as needed to Chombo. The downside of this is that some variables are not namespaced so there could be conflicts depending on Chombo's naming conventions.<br>
</blockquote></div></div>