[petsc-dev] Titan error

Barry Smith bsmith at mcs.anl.gov
Mon Jun 8 17:50:54 CDT 2015


  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?

  Barry

> On Jun 8, 2015, at 5:32 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> BTW, it looks like you can configure PETSc from a home directory now on Titan.
> 
> I still get this same permissions error when I try the installation with the prefix.
> 
> Mark
> 
> On Fri, Jun 5, 2015 at 4:24 PM, Mark Adams <mfadams at lbl.gov> wrote:
> 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.
> 
> Treb, I just configured in a normal way and copied the directory into my home direcory.  So try:
> 
> make PETSC_DIR=/autofs/nccs-svm1_home1/adams/petsc_treb PETSC_ARCH=arch-titan-opt64idx-pgi
> 
> Mark
> 
> On Fri, Jun 5, 2015 at 9:56 AM, Mark Adams <mfadams at lbl.gov> wrote:
> 
> 
> On Thu, Jun 4, 2015 at 10:53 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> 
>   Hmm,
> 
> You do not have write permissions to the --prefix directory /autofs/na3_home1/adams/petsc_master_opt64idx_pgi
>                           You will be prompted for the sudo password for any external package installs
>                       ===============================================================================
> 
> Do you have write permission for this directory?
> 
> To test if you have write permission it does the following code:
> 
> def setInstallDir(self):
>     ''' setup installDir to either prefix or if that is not set to PETSC_DIR/PETSC_ARCH'''
>     self.installSudo        = ''
>     self.installSudoMessage = ''
>     if self.framework.argDB['prefix']:
>       self.dir = self.framework.argDB['prefix']
>       try:
>         os.makedirs(os.path.join(self.dir,'PETScTestDirectory'))
>         os.rmdir(os.path.join(self.dir,'PETScTestDirectory'))
>       except:
>         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'
> 
> 
> Can you make a directory in /autofs/na3_home1/adams/ ?
> 
> This is my home directory:
> 
> env003/petsc> ll -a /autofs/na3_home1/adams/
> total 20544
> drwxr-xr-x   39 adams users    12288 May 16 07:21 .
> drwxr-xr-x 5027 root  root    163840 May 22 16:05 ..
> drwxr-xr-x    6 adams adams     4096 Jan  9 07:26 .allinea
> 
> THis script worked a few months ago.  I will try to build with a prefix, just to see if that is the only problem.
> 
>  
> 
> 
>   Barry
> 
> > On Jun 4, 2015, at 9:43 PM, Mark Adams <mfadams at lbl.gov> wrote:
> >
> > Yet again, this one does have a slightly amusing and slightly baffling error message though.
> > Mark
> > <configure.log>




More information about the petsc-dev mailing list