<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Specifying_Resources_for_Nodes</id>
	<title>Specifying Resources for Nodes - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?action=history&amp;feed=atom&amp;title=Specifying_Resources_for_Nodes"/>
	<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Specifying_Resources_for_Nodes&amp;action=history"/>
	<updated>2026-05-04T18:53:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.0</generator>
	<entry>
		<id>http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Specifying_Resources_for_Nodes&amp;diff=1384&amp;oldid=prev</id>
		<title>Michael: Created page with &quot;This example covers adding IB as a Boolean resource to LSF:   Type Boolean: Either a nodes has it (1) or doesnt (0)   ===== Add the Resource to LSF ===== * In file /etc/cfm/te...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.define-technology.com/mediawiki-1.35.0/index.php?title=Specifying_Resources_for_Nodes&amp;diff=1384&amp;oldid=prev"/>
		<updated>2012-12-06T16:09:44Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;This example covers adding IB as a Boolean resource to LSF:   Type Boolean: Either a nodes has it (1) or doesnt (0)   ===== Add the Resource to LSF ===== * In file /etc/cfm/te...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This example covers adding IB as a Boolean resource to LSF: &lt;br /&gt;
&lt;br /&gt;
Type Boolean: Either a nodes has it (1) or doesnt (0)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===== Add the Resource to LSF =====&lt;br /&gt;
* In file /etc/cfm/templates/lsf/default.lsf.shared, add to following line to the &amp;#039;&amp;#039;&amp;#039;RESOURCE&amp;#039;&amp;#039;&amp;#039; stanza.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Begin Resource&lt;br /&gt;
RESOURCENAME  TYPE    INTERVAL INCREASING  DESCRIPTION        # Keywords&lt;br /&gt;
...&lt;br /&gt;
ib            Boolean     ()    ()          (Infiniband Availability)&lt;br /&gt;
End Resource&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Assign Resource to Hosts =====&lt;br /&gt;
* In file /etc/cfm/templates/lsf/default.lsf.cluster, add the following after the &amp;#039;&amp;#039;&amp;#039;XXX_lsfmc_XXX&amp;#039;&amp;#039;&amp;#039; tag. NOTE: Nodes with the IB tag have to be listed individually.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Begin   Host&lt;br /&gt;
HOSTNAME  model    type        server r1m  mem  swp  RESOURCES    #Keywords&lt;br /&gt;
...&lt;br /&gt;
XXX_lsfmc_XXX   !   !   1   3.5   ()   ()   (mg)&lt;br /&gt;
cn109   !       !       1       3.5     ()      ()      (openmpi mpich2 mvapich ib)&lt;br /&gt;
cn110   !       !       1       3.5     ()      ()      (openmpi mpich2 mvapich ib)&lt;br /&gt;
cn111   !       !       1       3.5     ()      ()      (openmpi mpich2 mvapich ib)&lt;br /&gt;
cn112   !       !       1       3.5     ()      ()      (openmpi mpich2 mvapich ib)&lt;br /&gt;
...&lt;br /&gt;
End Host&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Restart LSF =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
addhost -u&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===== Submit a job requesting the resource =====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#BSUB -R &amp;#039;select[ib]&amp;#039;&lt;br /&gt;
&lt;br /&gt;
Sample IMB Script&lt;br /&gt;
#BSUB -n 48&lt;br /&gt;
#BSUB -R &amp;#039;select[ib]&amp;#039;&lt;br /&gt;
#BSUB -R &amp;#039;span[ptile=12]&amp;#039;&lt;br /&gt;
#BSUB -R &amp;#039;cu[maxcus=1]&amp;#039;&lt;br /&gt;
#BSUB -o IB.%J.out&lt;br /&gt;
#BSUB -e IB.%J.err&lt;br /&gt;
#BSUB -J v_IB&lt;br /&gt;
#BSUB -L /bin/bash&lt;br /&gt;
&lt;br /&gt;
. /etc/profile&lt;br /&gt;
module load PMPI/modulefile&lt;br /&gt;
&lt;br /&gt;
mpirun -prot -np $LSB_DJOB_NUMPROC /home/viglen/scratch/IMB_3.0/bin/imb-pmpi&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Michael</name></author>
	</entry>
</feed>