<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Fellow PETSc developers,<br>
<br>
If I try to configure PETSc with CUDA support on the ORNL Summit system using non-GNU compilers, I run into an error due to the following code in packages/cuda.py:<br>
<br>
<tt>  def configureTypes(self):</tt><tt><br>
</tt><tt>    import config.setCompilers</tt><tt><br>
</tt><tt>    if not config.setCompilers.Configure.isGNU(self.setCompilers.CC, self.log):</tt><tt><br>
</tt><tt>      raise RuntimeError('Must use GNU compilers with CUDA')<br>
  ...<br>
</tt><br>
Is this just because this code predates support for other host compilers with nvcc, or is there perhaps some more subtle reason that I, with my inexperience using CUDA, don't know about? I'm guessing that I just need to add support for using '-ccbin' appropriately
 to set the location of the non-GNU host compiler, but maybe there is something that I'm missing. I poked around in the petsc-dev mailing list archives and can find a few old threads on using non-GNU compilers, but I'm not sure what conclusions were reached.<br>
<br>
Best regards,<br>
Richard<br>
<br>
<br>
</body>
</html>