On Cray PTL job submission fails while using "create_script" function inside test

Description

On Cray PTL job submission fails if we use create_script function to create a job script inside test, which contains select statement with below error:
Error:
PbsSubmitError: rc=5, rv=None, msg=['qsub: "-lresource=" cannot be used with "select" or "place", resource is: vntype']

I have used simple job script as:

j = Job(TEST_USER)
j.create_script("#PBS -l select=1:ncpus=1:vntype=cray_compute\n" +
"aprun -B sleep 10")
jid = self.server.submit(j)
self.server.expect(JOB, {'job_state': 'R'}, id=jid)

Acceptance Criteria

None

Status

Assignee

Sanket Borle

Reporter

Sanket Borle

Severity

None

OS

None

Start Date

None

Pull Request URL

None

Story Points

1

Components

Priority

Medium
Configure