-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/05/14 20:41, Lucas St wrote:

> Hi forum

Hello!

> I have send a job to my cluster using the sbatch command, but now
> when I check the queue status I get this
> 
> [root@master ~]# squeue JOBID PARTITION     NAME     USER     ST
> TIME  NODES NODELIST(REASON) 14     debug          ssrun.sh
> user1    CG 0:00      1 node_1
> 
> Why the status of the task is always CG?

CG means completing, and is the state a job is in after it has
finished executing and is (AIUI) cleaning up.  The squeue manual page
says:

# CG  COMPLETING      Job is in the process of completing.
#                     Some processes on some nodes may still be active.

If these are jobs that are meant to run for a while then you'll want
to look at your output files and see why it's finishing so quickly.

> , and why when I executes
> 
> [root@master ~]# scancel job 14 scancel: error: Invalid job_id job
> 
> says: error: Invalid job_id job
> 
> How can I cancel this job?

You can't as it is no longer running, so cancelling it doesn't make sense.

Hope that helps,
Chris
- -- 
 Christopher Samuel        Senior Systems Administrator
 VLSCI - Victorian Life Sciences Computation Initiative
 Email: [email protected] Phone: +61 (0)3 903 55545
 http://www.vlsci.org.au/      http://twitter.com/vlsci

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.14 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlNwCnwACgkQO2KABBYQAh+OMQCgihaMyZXcoje3JL+q9DsQNBjv
VxwAn0oxB6ixIAlprpYeEXTf87CXci2E
=+R9e
-----END PGP SIGNATURE-----

Reply via email to