Open gaow opened 6 years ago
@gaow It seems to me that 2 is most essential.
Do we need 3? (Can't the user just set $PATH
before running dsc
? Likewise for other environment variables.)
When would 1 be necessary, or useful?
Do we need 3?
At module level we do. This is like a more general version of running source activate
for a particular module.
When would 1 be necessary, or useful?
I guess not ... I proposed that because I had in mind some software has this irritating behavior that they write some output / log etc to current work directory. An immediate one I can think of is STAR
the RNA seq aligner. But I agree it is a corner case and there might be other ways around it.
I guess not ... I proposed that because I had in mind some software has this irritating behavior that they write some output / log etc to current work directory.
@gaow I agree, that can be annoying, but I think the solution should be within the software, and doesn't need to be directly addressed by DSC.
It has been proposed that we add a
--config
switch that points to a file to define various system environment needed to run DSC. The point here is to separate benchmark definition with execution environments.Currently there are two places to configure DSC: in section
DSC
and in@CONF
for each module. Configurations specified in these places are mostly "portable" because they specify what software packages to use, where (in relative path) other script file and executables are located, etc. Additionally there is a configuration file for cluster that defines how DSC submits to a cluster system and the specifications for each module. See here for an example.Here I propose that we generalize cluster configuration and allow for module specific configuration, as well as global configurations. But we'll have to be careful with what we'd like to configure. I will list potential configurable items below and we should add to this list and evaluate before implement. Note that all these configures can be either global or module specific.
Rscript
andpython3
in systemPATH
)python2
,julia
, evenmatlab
but these interpreters will not provide "seamless" support as we've done for default R and Python. Rather, scripts will be executed as shell commands.