Sponsored Content
Special Forums UNIX and Linux Applications Looking to reduce the number a cpus available for SGE Post 302644101 by olifu02 on Monday 21st of May 2012 09:58:56 AM
Old 05-21-2012
Looking to reduce the number a cpus available for SGE

Hey all
Im looking to reduce the number of cpus available on a certain node in our cluster available for jobs using SGE.

i.e. we have one node that has 24 cpus available for jobs on SGE, i would like to reduce that to 16. Thanks
 

10 More Discussions You Might Find Interesting

1. Solaris

CPU Usage to Number of CPUs - relationship

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

How to reduce multiple files into a specific number of files

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

g03 problems on rocks 5.3 with sge queue.

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

Request for help with SGE submission script manipulation

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

writing a simple script to get total number of cpus/cores in server

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

Reduce the number of lines in script

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

Reduce the number of lines by using Array

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

SGE submit script

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

Calculating number of CPUs in Solaris-8

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

Submit a qsub script SGE

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
SHARE_TREE(5)						   Sun Grid Engine File Formats 					     SHARE_TREE(5)

NAME
share_tree - Sun Grid Engine share tree file format DESCRIPTION
The share tree defines the long-term resource entitlements of users/projects and of a hierarchy of arbitrary groups thereof. The current share tree can be displayed via the qconf(1) -sstree option. The output follows the share_tree format description. A share tree can be created and an existing can be modified via the -astree and -mstree options to qconf(1). The -sst option shows a formatted share tree (tree view). Individual share tree nodes can be created, modified, deleted, or shown via the -astnode, -dstnode, -mstnode, and -sstn- ode options to qconf(1). Note, Sun Grid Engine allows backslashes () be used to escape newline ( ewline) characters. The backslash and the newline are replaced with a space (" ") character before any interpretation. FORMAT
The format of a share tree file is defined as follows: o A new node starts with the attribute id, and equal sign and the numeric identification number of the node. Further attributes of that node follow until another id-keyword is encountered. o The attribute type defines, if a sharetree node references a user (type=0), or a project (type=1) o The attribute childnodes contains a comma separated list of child nodes to this node. o The parameter name refers to an arbitrary name for the node or to a corresponding user (see user(5)) or project (see project(5)) if the node is a leaf node of the share tree. The name for the root node of the tree is "Root" by convention. o The parameter shares defines the share of the node among the nodes with the same parent node. o A user leaf node named 'default' can be defined as a descendant of a project(5)) node in the share tree. The default node defines the number of shares for users who are running in the project, but who do not have a user node defined under the project. The default user node is a convenient way of specifying a single node for all users which should receive an equal share of the project resources. The default node may be specified by itself or with other user(5)) nodes at the same level below a project. All users, whether explicitly specified as a user node or those which map to the 'default' user node must have a corresponding user(5)) object defined in order to get shares. Do not configure a user(5)) object named 'default'. EXAMPLES
Jobs of projects P1 and P2 get 50 shares, all other jobs get 10 shares. id=0 name=Root type=0 shares=1 childnodes=1,2,3 id=1 name=P1 type=1 shares=50 childnodes=NONE id=2 name=P2 type=1 shares=50 childnodes=NONE id=3 name=default type=0 shares=10 childnodes=NONE SEE ALSO
sge_intro(1), qconf(1), project(5), user(5). COPYRIGHT
See sge_intro(1) for a full statement of rights and permissions. SGE 6.2u5 $Date$ SHARE_TREE(5)
All times are GMT -4. The time now is 05:42 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy