<div dir="ltr"><div dir="ltr">On Wed, Nov 18, 2020 at 8:07 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 get this error (sudo not found on KNL at NERSC). I run this on a computer node. I will start doing this on a login node but if there is an easy fix let me know.<div></div></div></blockquote><div><br></div><div>Okay, this happens a few levels down. Here is the error:</div><div><br></div><div>TEST setInstallDir from PETSc.options.installDir(/global/u2/m/madams/petsc_install/petsc/config/PETSc/options/installDir.py:39)<br>TESTING: setInstallDir from PETSc.options.installDir(config/PETSc/options/installDir.py:39)<br>   setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH<br>          Error trying to to test write permissions on directory [Errno 30] Read-only file system: '/global/common/software/m1041/petsc_install/petsc_knl_intel/PETScTestDirectory'<br>            Defined make macro "PREFIXDIR" to "/global/common/software/m1041/petsc_install/petsc_knl_intel"<br></div><div> </div><div>It makes you use sudo because it cannot write to the prefix directory.</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div><br></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>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>