示例#1
0
def test_job_script_processes_per_node() -> None:
    job_desc = JobDescription()
    job_desc.mpi_processes_per_node = 4

    script = _job_desc_to_job_script(job_desc)

    assert '#SBATCH --ntasks-per-node=4' in script
示例#2
0
def test_job_script_processes_per_node() -> None:
    job_desc = JobDescription()
    job_desc.mpi_processes_per_node = 4

    script = _job_desc_to_job_script(job_desc)

    assert 'ppn=4' in script