|
| | __init__ (self, *args, **kwargs) |
| |
| | OutputPath (self, libpath, modulepath=None) |
| |
| | Settings (self, user, key="", host='129.247.54.37', port=22, use_cache=True, **kwargs) |
| |
| | Environment (self, path="", bash="", args="", method="source") |
| |
| | Postprocessing (self, cmdstring="") |
| |
| | Build (self, cmdstring, run="ifort", path="", lib="", linkedIn="", **kwargs) |
| |
| | create (self, **kwargs) |
| |
| | __posix__ (self, **kwargs) |
| |
| | AddIncludePath (self, includes) |
| |
| | AddDependencyPath (self, dependencies) |
| |
| | UseLibraries (self, libs) |
| |
| | SourcePath (self, path) |
| |
| | Preprocessing (self, cmdstring='', inend='', outend='', copyfiles=[], replace={'!DEC$ IF':'#IF','!DEC$ ELSE':'#ELSE','!DEC$ ENDIF':'#ENDIF'}) |
| |
| | run (cls, **kwargs) |
| |
| | __new__ (cls, *args, **kwargs) |
| |
| | recover (cls, *args) |
| |
| | classify (cls, *args, **kwargs) |
| |
| | jsonify (self) |
| |
| | update (self, **kwargs) |
| |
| | __repr__ (self) |
| |
| | __str__ (self) |
| |
| | __getstate__ (self) |
| |
| | __setstate__ (self, _dict) |
| |
|
| str | intermediate_wrapper = "" |
| | Wrapper interface file for 3rd party FORTRAN code.
|
| |
| str | wrapper_source = "" |
| |
| str | wrapper_module = "pyx_module.f90" |
| |
| str | MakeObjectKind = 'SSH' |
| | String identifier of current instance.
|
| |
| str | libname = "lib"+self.buildid + self.architecture |
| | Name of library, assembled using BuildID.
|
| |
| str | buildname = self.buildid+'_ssh' |
| | Temporary build name.
|
| |
| str | export = "export CPATH=$CPATH" |
| | Environment variables to be set prior to the execution of the build command.
|
| |
| | incremental = kwargs.get('incremental', False) |
| | Define if the input should be compiled exactly as provided.
|
| |
| list | linkedIn = [] |
| | List of libraries which should be statically linked in.
|
| |
| tuple | temps = () |
| | Blank version of tuple to store temporary file names scheduled for removal.
|
| |
| str | environment = "" |
| | Load an additional library prior to execution of all commands.
|
| |
| list | libdirs = [] |
| | Blank version of list containing library directories.
|
| |
| | outmodule = modulepath + posixpath.sep |
| | Output path for module or header files.
|
| |
| | outlibs = libpath + posixpath.sep |
| | Output path for library files.
|
| |
| | ssh_client = kwargs.get("client"); |
| | Remote workspace.
|
| |
| | workspace = kwargs.get("workspace",posixpath.join(sftp.getcwd(),"")); sftp.close() |
| | Remote workspace.
|
| |
| str | postcmd = cmdstring |
| | Command executed during post-build event.
|
| |
| | libs = list(Utility.ArbitraryFlattening(self.libs)) |
| |
| | path2exe = run |
| | (Intel Fortran) Compiler Path
|
| |
| list | incremental = [x for x in self.srcs if os.path.splitext(x)[1].lower() in (".for", ".f95", ".f", ".f90")] |
| |
| str | exe |
| |
| str | makecmd = posixpath.join(self.path2exe,self.exe)+" -c "+ cmd + cmdstring |
| | Remote (Intel) Compiler command.
|
| |
| str | linkcmd = "" |
| | Remote Linker command.
|
| |
| | scrtdir = self.scrtdir) |
| |
| | precmd = '': |
| |
| | verbose |
| |
| | srcs |
| |
| str | command = self.environment + self.export + " && cd "+self.workspace+ " && " + self.makecmd |
| |
| | buildid = BuildID |
| | Base string of build object.
|
| |
| list | srcs = [] |
| | Source file or folders.
|
| |
| list | bare = not BuildID and not self.srcs |
| |
| | stype = kwargs.get("stype",'Fortran') |
| | Source file type.
|
| |
| | verbose = verbose |
| | Level of verbosity of the current build object.
|
| |
| | hasFoss = kwargs.get("foss", Utility.GetExecutable("choco") or Utility.GetPlatform() in ["linux"] or kwargs.get("bash",False)) |
| | Toggle between free open source software and commercial 3rd party libraries.
|
| |
| | scrtdir = os.getcwd() |
| | Current scratch directory
|
| |
| | srcdir = os.getcwd() |
| | Default search directory for source files.
|
| |
| | outdir = os.getcwd() |
| | Default search directory for output.
|
| |
| _, self.intelpath, self.iniCompiler | intelpath = content |
| | Path to Intel Fortran Compiler (read from Paths.log or empty).
|
| |
| tuple | temps = () |
| | Tuple of data to be removed after job completion.
|
| |
| list | incdirs = [] |
| | List of include directories.
|
| |
| list | libdirs = [] |
| | List of library directories.
|
| |
| list | libs = [] |
| | List of actual libraries (by name) used during linking.
|
| |
| list | copyfiles = [] |
| | List of files to be copied to the output directory after finish.
|
| |
| str | iniCompiler = "" |
| | Default initialization of compiler script.
|
| |
| bool | setarch = True if kwargs.get('arch', None) in ['x86', 'x64'] else False |
| | Define the architecture for the build directly by using the keyword argument "arch".
|
| |
| | msvsc = kwargs.get("msvsc",'vs2015') |
| | Default version of Microsoft visual studio used by the Intel Fortran Compiler.
|
| |
| str | architecture = 'x86' |
| | Processor architecture.
|
| |
| str | postcmd = "" |
| | Post build command.
|
| |
| | buildname = self.temps + (inputfile, ) |
| |
| str | precmd = self.iniCompiler+" "+cmdstring |
| | Command executed during pre-build event.
|
| |
| | compargs = cmdstring |
| | Command line arguments passed in by the user.
|
| |
| str | makecmd = self.iniCompiler+" "+os.path.join(self.path2exe,self.exe)+" "+ cmd + cmdstring |
| | Command executed during build event.
|
| |
| | mkl_dependency |
| |
Base class for all build events requiring a SSH connection.
Inherited class for all builds using SSH connection.
Inherited from Make.