Skip to content

render_jinja files are not executable #4

@lcdumort

Description

@lcdumort

The simple dynamic example does not seem to work.
The problem is that, when one renders the submit.sh file with jinja2, the resulting file is not executable and will therefore not be submitted due to a stepup check if the submit file is executable.

  testf = render_jinja(
      "dynamic_template_stepup_vasp.sh.j2",
      slurm_settings,
      f"{workdir}/slurmjob.sh"
  )
  print(testf.out[0])
  runsh(f"chmod +x {testf.out[0]}")

doesn't work either.

Current solution: downgrading to stepup 1.0.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions