rundir is supposed to contain a directory with the experiment name. This is nonstandard, the rundir in the EC-Earth community is the directory where the ifs and nemo executables run. So my proposed change is to skip the joining of the rundir argument with the expname argument everywhere.