05-21-2012
I do not know SGE (are you talking about SafeGuard Easy or Sun Grid Engine, btw.?) but i can't imagine an application which controls how many processors it will use. This is a OS function and it would be a severe design flaw to attempt to do things the OS already provides for.
If you want to do that via OS means: that depends - on the OS, on the system (the hardware) used, etc.. As you didn't tell us anything about your environment at all there is no reasonable answer to your question.
Sorry, but this is all you'll get until you provide us with more information.
bakunin
10 More Discussions You Might Find Interesting
1. Solaris
I have an E15K running at 60% CPU usage on 16 CPUs.
I need to get rid of 6 CPUs, which is 38%.
Does that mean my CPU usage will go up to 98%?
I suspect the relationship between CPU numbers and usage is a bit more complicated. Can anyone give me any guidance on this please?
TIA (0 Replies)
Discussion started by: disturbed_uk
0 Replies
2. UNIX for Dummies Questions & Answers
Can anyone please let me know how do I reduce files into a specific number of files by cat'ing files?
For example:
15 files must be reduced to 1 or 5 or 9 (possible values 1 to 14) (5 Replies)
Discussion started by: aryanbelank
5 Replies
3. UNIX for Dummies Questions & Answers
Dear all,
I'm a new guy doing some quntum calculation with gaussian on my rocks clusters. Recently, my cluster upgraded to rocks 5.3, but something strange happened. Everything goes correct except a serious problem. when I summit my gaussian job with script to sge queue, the job does run,... (0 Replies)
Discussion started by: liuzhencc
0 Replies
4. Shell Programming and Scripting
Hi,
I have the following SGE submission (HPC calculation) script, which is just a Bash script:
#!/bin/bash -l
#$ -S /bin/bash
#$ -l h_rt=1:00:0
#$ -l mem=4G
#$ -N XXX
#$ -pe qlc 24
#$ -P XXX
#$ -wd /home/uccaxxx/Scratch/222PdT/3vac/c0001/
mpirun -m $TMPDIR/machines -np $NSLOTS... (2 Replies)
Discussion started by: crunchgargoyle
2 Replies
5. Shell Programming and Scripting
Hi,
I am very new to scripting and I wanted to write a unix shell script which can give me,
1)number of cpu's in a box
2)number of cores per cpu
3)total number of cores in abox (ie multiplying 1&2)
I am also trying to figure out how to check if hyper-threading is enabled in the... (8 Replies)
Discussion started by: steven12
8 Replies
6. Shell Programming and Scripting
Hello All,
I have created a script which will show the errors from a log file in between a particular section.
v1=$(sed -n "/Main Report/,/Main Report End/p" input | grep -i 'Unable to find'
v2=$(sed -n "/Main Report/,/Main Report End/p" input | grep -i 'Unable to add'
if
then
echo... (5 Replies)
Discussion started by: Vikram_Tanwar12
5 Replies
7. Shell Programming and Scripting
I have the following code to count the number of how many times the name occurred in one file. The code is working fine and the output is exactly what I want. The problem is the real code has more than 50 names in function listname which cause function name to have more than 50 case ,and function... (14 Replies)
Discussion started by: samsan
14 Replies
8. Shell Programming and Scripting
Hi,
I'm trying to edit my working bash script to an SGE script in order to submit it as a job to the cluster.
Currently I have:
#!/bin/bash
# Perform fastqc on files in a specified directory.
for ((j=1; j <=17; j++))
do
directory=/data4/una/batch"$j"/
... (0 Replies)
Discussion started by: una1992
0 Replies
9. Solaris
Hello,
I have few old V210/V240, running Solaris-8. I am trying to find, number of physical CPUs, number of cores and number of virtual processors. psrinfo is giving me confusing status.
It looks like, there are 2 physical CPUs, but psrinfo -p shows me just 1
bash-2.03$ psrinfo -v
Status of... (4 Replies)
Discussion started by: ron323232
4 Replies
10. Shell Programming and Scripting
Hello,
I'm working on a SGE cluster and trying to echo the variables passed to the qsub command.
My script is as follows
#!/bin/bash
#$ -V
#$ -cwd
#$ -pe make 10
if ; then
echo "Variable is not set"
else
echo "Variable says: $StatedUserName"
fi
and I run the... (1 Reply)
Discussion started by: nans
1 Replies
LEARN ABOUT DEBIAN
sge_shadowd
SGE_SHADOWD(8) Sun Grid Engine Administrative Commands SGE_SHADOWD(8)
NAME
sge_shadowd - Sun Grid Engine shadow master daemon
SYNOPSIS
sge_shadowd
DESCRIPTION
sge_shadowd is a "light weight" process which can be run on so-called shadow master hosts in a Sun Grid Engine cluster to detect failure of
the current Sun Grid Engine master daemon, sge_qmaster(8), and to start-up a new sge_qmaster(8) on the host on which the sge_shadowd runs.
If multiple shadow daemons are active in a cluster, they run a protocol which ensures that only one of them will start-up a new master dae-
mon.
The hosts suitable for being used as shadow master hosts must have shared root read/write access to the directory $SGE_ROOT/$SGE_CELL/com-
mon as well as to the master daemon spool directory (by default $SGE_ROOT/$SGE_CELL/spool/qmaster). The names of the shadow master hosts
need to be contained in the file $SGE_ROOT/$xQS_NAME_Sxx_CELL/common/shadow_masters.
RESTRICTIONS
sge_shadowd may only be started by root.
ENVIRONMENT VARIABLES
SGE_ROOT Specifies the location of the Sun Grid Engine standard configuration files.
SGE_CELL If set, specifies the default Sun Grid Engine cell. To address a Sun Grid Engine cell sge_shadowd uses (in the order of
precedence):
The name of the cell specified in the environment variable SGE_CELL, if it is set.
The name of the default cell, i.e. default.
SGE_DEBUG_LEVEL
If set, specifies that debug information should be written to stderr. In addition the level of detail in which debug infor-
mation is generated is defined.
SGE_QMASTER_PORT
If set, specifies the tcp port on which sge_qmaster(8) is expected to listen for communication requests. Most installations
will use a services map entry for the service "sge_qmaster" instead to define that port.
SGE_DELAY_TIME This variable controls the interval in which sge_shadowd pauses if a takeover bid fails. This value is used only when there
are multiple sge_shadowd instances and they are contending to be the master. The default is 600 seconds.
SGE_CHECK_INTERVAL
This variable controls the interval in which the sge_shadowd checks the heartbeat file (60 seconds by default).
SGE_GET_ACTIVE_INTERVAL
This variable controls the interval when a sge_shadowd instance tries to take over when the heartbeat file has not changed.
FILES
<sge_root>/<cell>/common
Default configuration directory
<sge_root>/<cell>/common/shadow_masters
Shadow master hostname file.
<sge_root>/<cell>/spool/qmaster
Default master daemon spool directory
<sge_root>/<cell>/spool/qmaster/heartbeat
The heartbeat file.
SEE ALSO
sge_intro(1), sge_conf(5), sge_qmaster(8), Sun Grid Engine Installation and Administration Guide.
COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions.
SGE 6.2u5 $Date$ SGE_SHADOWD(8)