add libs property to IntelMkl and IntelParallelStudio (#10993)
* add libs property to IntelMkl and IntelParallelStudio * fix scalapack_libs when MPI is provided by intel-parallel-studio
This commit is contained in:

committed by
Gregory Lee

parent
03d39ed34c
commit
def5b23763
@@ -10,7 +10,7 @@
|
||||
import tempfile
|
||||
import re
|
||||
import inspect
|
||||
import xml.etree.ElementTree as ET
|
||||
import xml.etree.ElementTree as ElementTree
|
||||
import llnl.util.tty as tty
|
||||
|
||||
from llnl.util.filesystem import \
|
||||
@@ -227,7 +227,7 @@ def _filtered_components(self):
|
||||
#
|
||||
# https://software.intel.com/en-us/articles/configuration-file-format
|
||||
#
|
||||
xmltree = ET.parse('pset/mediaconfig.xml')
|
||||
xmltree = ElementTree.parse('pset/mediaconfig.xml')
|
||||
for entry in xmltree.getroot().findall('.//Abbr'): # XPath expression
|
||||
name_present = entry.text
|
||||
for name_requested in requested:
|
||||
@@ -790,7 +790,8 @@ def scalapack_libs(self):
|
||||
blacs_lib = 'libmkl_blacs'
|
||||
elif ('^mpich@2:' in spec_root or
|
||||
'^mvapich2' in spec_root or
|
||||
'^intel-mpi' in spec_root):
|
||||
'^intel-mpi' in spec_root or
|
||||
'^intel-parallel-studio' in spec_root):
|
||||
blacs_lib = 'libmkl_blacs_intelmpi'
|
||||
elif '^mpt' in spec_root:
|
||||
blacs_lib = 'libmkl_blacs_sgimpt'
|
||||
|
Reference in New Issue
Block a user