prepareScriptInit: Create initScript for module source execution

Description Usage Arguments Details Value Methods (by class) See Also

Description

Create initScript for module source execution

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## S3 method for class 'RModuleLanguage'
prepareScriptInit(moduleLanguage)

## S3 method for class 'bashModuleLanguage'
prepareScriptInit(moduleLanguage)

## S3 method for class 'python2ModuleLanguage'
prepareScriptInit(moduleLanguage)

## S3 method for class 'python3ModuleLanguage'
prepareScriptInit(moduleLanguage)

prepareScriptInit(moduleLanguage)

Arguments

moduleLanguage

moduleLanguage object

Details

For each module language supported, conduit should produce an initScript which produces a file ‘.languageVersion’ in the working directory. This file should contain four lines of text:

  1. the exact version of the language used for execution

  2. 1 if language did not meet minVersion, else 0

  3. 1 if language did not meet maxVersion, else 0

  4. 1 if language did not match version, else 0

Value

initScript character vector

Methods (by class)

See Also

getExecLanguageVersion


anhinton/conduit documentation built on May 10, 2019, 11:48 a.m.