<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 4, 2015 at 10:53 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><br>
Hmm,<br>
<br>
You do not have write permissions to the --prefix directory /autofs/na3_home1/adams/petsc_master_opt64idx_pgi<br>
You will be prompted for the sudo password for any external package installs<br>
===============================================================================<br>
<br>
Do you have write permission for this directory?<br>
<br>
To test if you have write permission it does the following code:<br>
<br>
def setInstallDir(self):<br>
''' setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH'''<br>
self.installSudo = ''<br>
self.installSudoMessage = ''<br>
if self.framework.argDB['prefix']:<br>
self.dir = self.framework.argDB['prefix']<br>
try:<br>
os.makedirs(os.path.join(self.dir,'PETScTestDirectory'))<br>
os.rmdir(os.path.join(self.dir,'PETScTestDirectory'))<br>
except:<br>
self.installSudoMessage = 'You do not have write permissions to the --prefix directory '+self.dir+'\nYou will be prompted for the sudo password for any external package installs'<br>
<br>
<br>
Can you make a directory in /autofs/na3_home1/adams/ ?<br></blockquote><div><br></div><div>This is my home directory:</div><div><br></div><div><div>env003/petsc> ll -a /autofs/na3_home1/adams/</div><div>total 20544</div><div>drwxr-xr-x 39 adams users 12288 May 16 07:21 .</div><div>drwxr-xr-x 5027 root root 163840 May 22 16:05 ..</div><div>drwxr-xr-x 6 adams adams 4096 Jan 9 07:26 .allinea</div></div><div><br></div><div>THis script worked a few months ago. I will try to build with a prefix, just to see if that is the only problem.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
<br>
Barry<br>
<span class=""><br>
> On Jun 4, 2015, at 9:43 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
><br>
> Yet again, this one does have a slightly amusing and slightly baffling error message though.<br>
> Mark<br>
</span>> <configure.log><br>
<br>
</blockquote></div><br></div></div>