<div dir="ltr">Well, it does work. They changed the directory structure and my configure scripts were out of date. (I did not manually check the path name this time.)<div>Mark</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 8, 2015 at 6:50 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Did you do as Satish suggested and follow the steps we use to test for write access by creating the directory; first in the shell and then from python? Did it work?<br>
<span class="HOEnZb"><font color="#888888"><br>
Barry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
> On Jun 8, 2015, at 5:32 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
><br>
> BTW, it looks like you can configure PETSc from a home directory now on Titan.<br>
><br>
> I still get this same permissions error when I try the installation with the prefix.<br>
><br>
> Mark<br>
><br>
> On Fri, Jun 5, 2015 at 4:24 PM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
> This works without prefix. I tried prefixing to the compute directories, where I run config, and got the same error. Config thinks that it does not have permission. I did see a password prompt at one point.<br>
><br>
> Treb, I just configured in a normal way and copied the directory into my home direcory. So try:<br>
><br>
> make PETSC_DIR=/autofs/nccs-svm1_home1/adams/petsc_treb PETSC_ARCH=arch-titan-opt64idx-pgi<br>
><br>
> Mark<br>
><br>
> On Fri, Jun 5, 2015 at 9:56 AM, Mark Adams <<a href="mailto:mfadams@lbl.gov">mfadams@lbl.gov</a>> wrote:<br>
><br>
><br>
> On Thu, Jun 4, 2015 at 10:53 PM, Barry Smith <<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>> wrote:<br>
><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>
><br>
> This is my home directory:<br>
><br>
> env003/petsc> ll -a /autofs/na3_home1/adams/<br>
> total 20544<br>
> drwxr-xr-x 39 adams users 12288 May 16 07:21 .<br>
> drwxr-xr-x 5027 root root 163840 May 22 16:05 ..<br>
> drwxr-xr-x 6 adams adams 4096 Jan 9 07:26 .allinea<br>
><br>
> THis script worked a few months ago. I will try to build with a prefix, just to see if that is the only problem.<br>
><br>
><br>
><br>
><br>
> Barry<br>
><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>
> > <configure.log><br>
<br>
</div></div></blockquote></div><br></div>