On Jan 11, 2011, at 4:55 PM, Lisandro Dalcin wrote:

> I think the two lines below (config/PETSc/packages/cuda.py ) are wrong:
> 
>      if self.scalartypes.precision == 'double':
>        self.setCompilers.addCompilerFlag('-arch sm_13')
> 
> What if your GPU is sm_20?

   This is a hack to get things to work. We've love for you to tell us the 
correct solution. Should it try to set the arch to the highest one supported by 
the system? (If so how do we find out the highest)?

  Thanks

   Barry


> 
> -- 
> Lisandro Dalcin
> ---------------
> CIMEC (INTEC/CONICET-UNL)
> Predio CONICET-Santa Fe
> Colectora RN 168 Km 472, Paraje El Pozo
> Tel: +54-342-4511594 (ext 1011)
> Tel/Fax: +54-342-4511169


Reply via email to