Skip to content

Option --force-local is not forcing local execution #216

@victorusu

Description

@victorusu

I have ran reframe with the following command line options:

reframe.py -c cscs-checks/ -R -n hello_world_mpi_openmp_static_f90  -r --force-local

I cannot see the run phase on my terminal session and I am getting the following log file:

[2018-03-21T17:42:12] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: setting up paths
[2018-03-21T17:42:12] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: setting up the job descriptor
[2018-03-21T17:42:12] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: job scheduler backend: local
[2018-03-21T17:42:12] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: setting up performance logging
...
 entering stage: run 
[2018-03-21T17:42:15] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: executing OS command: sbatch /xxxxx/Work/reframe/stage/gpu/hello_world_mpi_openmp_static_f90/PrgEnv-cray/hello_world_mpi_openmp_static_f90_daint_gpu_PrgEnv-cray.sh
[2018-03-21T17:42:17] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: spawned job (jobid=6523122)
[2018-03-21T17:42:17] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: entering stage: wait
[2018-03-21T17:42:17] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: executing OS command: sacct -S 2018-03-21 -P -j 6523122 -o jobid,state,exitcode
[2018-03-21T17:42:17] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-cray: job state not matched (stdout follows)

The error is reproducible with the serial and async policies.
For the async policy I have:

[2018-03-21T17:46:16] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-gnu: entering stage: run 
[2018-03-21T17:46:16] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-gnu: executing OS command: sbatch /xxxxx/Work/reframe/stage/gpu/hello_world_mpi_openmp_static_f90/PrgEnv-gnu/hello_world_mpi_openmp_static_f90_daint_gpu_PrgEnv-gnu.sh
[2018-03-21T17:46:16] debug: hello_world_mpi_openmp_static_f90 on daint:gpu using PrgEnv-gnu: spawned job (jobid=6523171)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions