As described in issue #247, versions of sh>2.* have been causing the isca python front-end to fail. This is because sh>2.* has changed the default return type of some of its commands, returning str types rather than sh.RunningCommand.
This fix adds a new function to check the type of sh outputs and only asks for .stdout when a sh.RunningCommand type is returned. This should allow the front end to function with versions of sh=1.* and sh=2.*.
Also included here are new environment files and template files for running with intel compilers on Exeter's new maths2 machine. They are included here for my own convenience, but should be of use to others.
As described in issue #247, versions of
sh>2.*
have been causing the isca python front-end to fail. This is becausesh>2.*
has changed the default return type of some of its commands, returningstr
types rather thansh.RunningCommand
.This fix adds a new function to check the type of sh outputs and only asks for
.stdout
when ash.RunningCommand
type is returned. This should allow the front end to function with versions ofsh=1.*
andsh=2.*
.Also included here are new environment files and template files for running with intel compilers on Exeter's new maths2 machine. They are included here for my own convenience, but should be of use to others.