I think use_cgroups is still an experimental feature, isn't it? Are you already 
using cgroups outside of the GridEngine context? Have you tried this script in 
a cgroup context without GridEngine and does it do what you want it to do?
 Seems to me there's a lot of configuration that needs to be done outside of 
GridEngine before you can use it with GridEngine. 

Mfg,
Juan Jimenez
System Administrator, HPC
MDC Berlin / IT-Dept.
Tel.: +49 30 9406 2800


________________________________________
From: users-boun...@gridengine.org [users-boun...@gridengine.org] on behalf of 
Joshua Baker-LePain [j...@salilab.org]
Sent: Friday, March 24, 2017 20:31
To: users
Subject: [gridengine users] Some commands not generating any ouput when 
USE_CGROUPS set

I have a very odd issue with gridengine-8.1.9 on a new CentOS-7 cluster
I'm setting up.  Certain very basic commands don't generate any output
when USE_CGROUPS is set.  For example, here is a simple job script trying
to get basic info about a node:

#!/bin/bash
#
#$ -S /bin/bash
#$ -o $HOME/tmp/sgetmp
#$ -e $HOME/tmp/sgetmp
#$ -V

hostname
ldconfig -p
ps aufx
qstat -j $JOB_ID


After running, the SGE output file in ~/tmp/sgetmp contains the output of
the last 2 commands (ps and qstat), but not the first 2 (hostname and
ldconfig).  The error file is empty.  The order of the commands doesn't
matter -- no matter what, hostname and ldconfig don't generate any output.
Redirecting the output to a local file doesn't help.  Calling the commands
with their absolute paths doesn't help.  However, if I remove "USE_GROUPS"
from the execd_params, then I get the normal output of those commands.

Is this expected behavior?  Or is something wonky with the cgroups here?
Thanks for any insights.

--
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF
_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@gridengine.org
https://gridengine.org/mailman/listinfo/users

Reply via email to