[petsc-dev] trilinos --with-batch issue

Barry Smith bsmith at mcs.anl.gov
Tue Apr 19 18:00:25 CDT 2016


> On Apr 19, 2016, at 5:45 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> 
> Barry,
> 
> I think all externalpackages should be checked/built during
> reconfigure stage - not during configure stage..

   Yes, WTF. I can't believe that --with-batch never worked with --download-xxx and no one told me! This is disgusting. 
  
    I guess because mira and hopper support the "pseudo" non-batch mode we don't utilize/test --with-batch enough anymore.
> 
> I'm not sure how to implement this though..

    That is the question! Should we be processing any packages if it still has to generate the batch program to be run?

  Barry



> 
> Satish
> 
> -----------
> $ git grep self.types.sizes
> config/BuildSystem/config/packages/SuiteSparse.py:    if self.framework.argDB['with-'+self.package] and self.defaultIndexSize == 64 and self.types.sizes['known-sizeof-void-p'] == 4:
> config/BuildSystem/config/packages/Trilinos.py:    if self.types.sizes['known-sizeof-void-p'] != 8:
> config/BuildSystem/config/packages/cuda.py:    if size != self.types.sizes['known-sizeof-void-p']:
> config/BuildSystem/config/packages/mpi4py.py:      if self.types.sizes['known-sizeof-void-p'] == 4:
> config/BuildSystem/config/packages/pARMS.py:    g.write('CFFLAGS    = ${CFDEFS} -DVOID_POINTER_SIZE_'+str(self.types.sizes['known-sizeof-void-p'])+'\n')
> config/BuildSystem/config/packages/petsc4py.py:    print 'xxx',self.types.sizes['known-sizeof-void-p']
> config/BuildSystem/config/packages/petsc4py.py:      if self.types.sizes['known-sizeof-void-p'] == 4:
> config/PETSc/options/libraryOptions.py:      max = pow(2,self.types.sizes['known-sizeof-char']*self.types.bits_per_byte)-1
> config/PETSc/options/libraryOptions.py:      max = pow(2,self.types.sizes['known-sizeof-short']*self.types.bits_per_byte)-1
> 
> 




More information about the petsc-dev mailing list