<div dir="ltr"><div dir="ltr">On Thu, Mar 5, 2020 at 7:17 AM Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I updated to OS X Catalina and I get this error. I opened Xcode and in updated some stuff and I reinstalled mpich with homebrew. Any ideas?<div></div></div></blockquote><div><br></div><div>The -lSystem library is not where it expects.</div><div><br></div><div>Running Executable WITHOUT threads to time it out<br>Executing: /usr/local/Cellar/mpich/3.3.2/bin/mpif90  -o /var/folders/sw/67cq0mmx43g93vrb5xkf1j7c0000gn/T/petsc-ZdkBf4/config.setCompilers/conftest    /var/folders/sw/67cq0mmx43g93vrb5xkf1j7c0000gn/T/petsc-ZdkBf4/config.setCompilers/conftest.o <br>Possible ERROR while running linker: exit code 1<br>stderr:<br>ld: library not found for -lSystem<br>collect2: error: ld returned 1 exit status<br>          Error testing Fortran compiler: Cannot compile/link FC with /usr/local/Cellar/mpich/3.3.2/bin/mpif90.<br>           MPI installation /usr/local/Cellar/mpich/3.3.2/bin/mpif90 is likely incorrect.<br>  Use --with-mpi-dir to indicate an alternate MPI.<br>            Deleting "FC"<br><br></div><div>I am guessing the uninstall was not "unny" enough. I have never found Homebrew an improvement over installing by hand.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</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"><div dir="ltr"><div>Thanks,</div><div>Mark</div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>