Commits

Satish Balay committed 4fe8b25 Merge

Merge branch 'balay/fix-default-compilers-for-download-mpi-with-url'

  • Participants
  • Parent commits ccd956b, 8626803

Comments (0)

Files changed (1)

File config/BuildSystem/config/setCompilers.py

       return 0
     if ('with-fc' in self.argDB and self.argDB['with-fc'] != '0') or 'FC' in self.argDB:
       return 0
-    if 'with-mpi' in self.argDB and self.argDB['with-mpi'] and self.argDB['with-mpi-compilers'] and not self.argDB['download-mpich'] == 1 and not self.argDB['download-openmpi'] == 1:
+    if self.argDB['download-mpich'] or self.argDB['download-openmpi']:
+      return 0
+    if 'with-mpi' in self.argDB and self.argDB['with-mpi'] and self.argDB['with-mpi-compilers']:
       return 1
     return 0