def sanity_check_step(self): """Custom sanity check paths for ifort.""" shlib_ext = get_shared_lib_ext() binprefix = 'bin/intel64' libprefix = 'lib/intel64' if LooseVersion(self.version) >= LooseVersion('2011'): if LooseVersion(self.version) <= LooseVersion('2011.3.174'): binprefix = 'bin' elif LooseVersion(self.version) >= LooseVersion('2013_sp1'): binprefix = 'bin' else: libprefix = 'compiler/lib/intel64' bins = ['ifort'] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append('idb') libs = ['ifcore.a', 'ifcore.%s' % shlib_ext, 'iomp5.a', 'iomp5.%s' % shlib_ext] custom_paths = { 'files': [os.path.join(binprefix, x) for x in bins] + [os.path.join(libprefix, 'lib%s' % l) for l in libs], 'dirs': [], } custom_commands = ["which ifort"] IntelBase.sanity_check_step(self, custom_paths=custom_paths, custom_commands=custom_commands)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" shlib_ext = get_shared_lib_ext() binprefix = 'bin/intel64' libprefix = 'lib/intel64' if LooseVersion(self.version) >= LooseVersion('2011'): if LooseVersion(self.version) <= LooseVersion('2011.3.174'): binprefix = 'bin' elif LooseVersion(self.version) >= LooseVersion('2013_sp1'): binprefix = 'bin' else: libprefix = 'compiler/lib/intel64' bins = ['ifort'] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append('idb') libs = [ 'ifcore.a', 'ifcore.%s' % shlib_ext, 'iomp5.a', 'iomp5.%s' % shlib_ext ] custom_paths = { 'files': [os.path.join(binprefix, x) for x in bins] + [os.path.join(libprefix, 'lib%s' % l) for l in libs], 'dirs': [], } custom_commands = ["which ifort"] IntelBase.sanity_check_step(self, custom_paths=custom_paths, custom_commands=custom_commands)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" binprefix = 'bin/intel64' libprefix = 'lib/intel64' if LooseVersion(self.version) >= LooseVersion('2011'): if LooseVersion(self.version) <= LooseVersion('2011.3.174'): binprefix = 'bin' elif LooseVersion(self.version) >= LooseVersion('2013_sp1'): binprefix = 'bin' else: libprefix = 'compiler/lib/intel64' bins = ['ifort'] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append('idb') custom_paths = { 'files': [os.path.join(binprefix, x) for x in bins] + [ os.path.join(libprefix, 'lib%s' % x) for x in ['ifcore.a', 'ifcore.so', 'iomp5.a', 'iomp5.so'] ], 'dirs': [], } IntelBase.sanity_check_step(self, custom_paths=custom_paths)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" binprefix = "bin/intel64" libprefix = "lib/intel64/lib" if LooseVersion(self.version) >= LooseVersion("2011"): if LooseVersion(self.version) <= LooseVersion("2011.3.174"): binprefix = "bin" elif LooseVersion(self.version) >= LooseVersion("2013_sp1"): binprefix = "bin" libprefix = "lib/intel64/lib" else: libprefix = "compiler/lib/intel64/lib" bins = ["ifort"] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append("idb") custom_paths = { 'files': ["%s/%s" % (binprefix, x) for x in bins] + ["%s%s" % (libprefix, x) for x in ["ifcore.a", "ifcore.so", "iomp5.a", "iomp5.so"]], 'dirs': [], } IntelBase.sanity_check_step(self, custom_paths=custom_paths)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" binprefix = "bin/intel64" libprefix = "lib/intel64/lib" if LooseVersion(self.version) >= LooseVersion("2011"): if LooseVersion(self.version) <= LooseVersion("2011.3.174"): binprefix = "bin" elif LooseVersion(self.version) >= LooseVersion("2013_sp1"): binprefix = "bin" libprefix = "lib/intel64/lib" else: libprefix = "compiler/lib/intel64/lib" bins = ["ifort"] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append("idb") custom_paths = { 'files': ["%s/%s" % (binprefix, x) for x in bins] + [ "%s%s" % (libprefix, x) for x in ["ifcore.a", "ifcore.so", "iomp5.a", "iomp5.so"] ], 'dirs': [], } IntelBase.sanity_check_step(self, custom_paths=custom_paths)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" shlib_ext = get_shared_lib_ext() binprefix = 'bin/intel64' libprefix = 'lib/intel64' if LooseVersion(self.version) >= LooseVersion('2011'): if LooseVersion(self.version) <= LooseVersion('2011.3.174'): binprefix = 'bin' elif LooseVersion(self.version) >= LooseVersion('2013_sp1'): binprefix = 'bin' else: libprefix = 'compiler/lib/intel64' bins = ['ifort'] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append('idb') libs = ['ifcore.a', 'ifcore.%s' % shlib_ext, 'iomp5.a', 'iomp5.%s' % shlib_ext] custom_paths = { 'files': [os.path.join(binprefix, x) for x in bins] + [os.path.join(libprefix, 'lib%s' % l) for l in libs], 'dirs': [], } # make very sure that expected 'compilers_and_libraries_<VERSION>/linux' subdir is there for recent versions, # since we rely on it being there in make_module_req_guess if self.comp_libs_subdir: custom_paths['dirs'].append(self.comp_libs_subdir) custom_commands = ["which ifort"] IntelBase.sanity_check_step(self, custom_paths=custom_paths, custom_commands=custom_commands)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" binprefix = 'bin/intel64' libprefix = 'lib/intel64' if LooseVersion(self.version) >= LooseVersion('2011'): if LooseVersion(self.version) <= LooseVersion('2011.3.174'): binprefix = 'bin' elif LooseVersion(self.version) >= LooseVersion('2013_sp1'): binprefix = 'bin' else: libprefix = 'compiler/lib/intel64' bins = ['ifort'] if LooseVersion(self.version) < LooseVersion('2013'): # idb is not shipped with ifort anymore in 2013.x versions (it is with icc though) bins.append('idb') custom_paths = { 'files': [os.path.join(binprefix, x) for x in bins] + [os.path.join(libprefix, 'lib%s' % x) for x in ['ifcore.a', 'ifcore.so', 'iomp5.a', 'iomp5.so']], 'dirs': [], } IntelBase.sanity_check_step(self, custom_paths=custom_paths)
def sanity_check_step(self): """Custom sanity check paths for ifort.""" binprefix = "bin/intel64" libprefix = "lib/intel64/lib" if LooseVersion(self.version) >= LooseVersion("2011"): if LooseVersion(self.version) <= LooseVersion("2011.3.174"): binprefix = "bin" else: libprefix = "compiler/lib/intel64/lib" custom_paths = { 'files': ["%s/%s" % (binprefix, x) for x in ["ifort", "idb"]] + ["%s%s" % (libprefix, x) for x in ["ifcore.a", "ifcore.so", "iomp5.a", "iomp5.so"]], 'dirs': [] } IntelBase.sanity_check_step(self, custom_paths=custom_paths)