[torqueusers] Altix new cpuset
siri
didier.siri at univ-provence.fr
Tue Jun 6 05:30:54 MDT 2006
Hi,
I tried to compile the last version of torque on a SGI Altix (Suse
kernel 2.6) with cpuset option (adding #define PENABLE_DYNAMIC_CPUSETS
1 in pbs_config.h file). The compilation stops on resmom/start_exec.c
with the following errors :
gcc -g -I../include -I../../src/include -I./linux -DHAVE_CONFIG_H
-DPBS_MOM -DDEMUX=\"/usr/local/sbin/pbs_demux\"
-DRCP_PATH=\"/usr/local/sbin/pbs_rcp\" -c start_exec.c
start_exec.c: In function `TMomFinalizeChild':
start_exec.c:1764: error: `cpuset_NameList_t' undeclared (first use in
this function)
start_exec.c:1764: error: (Each undeclared identifier is reported only
once
start_exec.c:1764: error: for each function it appears in.)
start_exec.c:1764: error: `cpusetList' undeclared (first use in this
function)
start_exec.c:1765: error: `cpuset_CPUList_t' undeclared (first use in
this function)
start_exec.c:1765: error: `cpuList' undeclared (first use in this
function)
start_exec.c:1766: error: `cpuset_QueueDef_t' undeclared (first use in
this function)
start_exec.c:1766: error: `cpuQdef' undeclared (first use in this
function)
start_exec.c:2013: error: `CPUSET_CPU_EXCLUSIVE' undeclared (first use
in this function)
start_exec.c:2013: error: `CPUSET_MEMORY_LOCAL' undeclared (first use
in this function)
make[3]: *** [start_exec.o] Erreur 1
make[3]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src/resmom'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src/resmom'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src'
make: *** [all] Erreur 2
Torque uses the old version of cpuset library. I saw it exists an other
variable in start_exec.c file : PENABLE_DYNAMIC_CPUSETS2. Is it for the
new version of cpuset. When I try to compile with this option,
start_exec.c compilation stops with the following errors :
gcc -g -I../include -I../../src/include -I./linux -DHAVE_CONFIG_H
-DPBS_MOM -DDEMUX=\"/usr/local/sbin/pbs_demux\"
-DRCP_PATH=\"/usr/local/sbin/pbs_rcp\" -c start_exec.c
start_exec.c: In function `execute_dynamo':
start_exec.c:5159: error: `MAXIMAGES' undeclared (first use in this
function)
start_exec.c:5159: error: (Each undeclared identifier is reported only
once
start_exec.c:5159: error: for each function it appears in.)
start_exec.c:5245: error: `K5RSH' undeclared (first use in this
function)
make[3]: *** [start_exec.o] Erreur 1
make[3]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src/resmom'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src/resmom'
make[1]: *** [all] Erreur 2
make[1]: Leaving directory `/home/siri/batch/torque-2.1.0p0/src'
make: *** [all] Erreur 2
What is the solution to compile torque with the new cpuset library ??
Thank you.
Didier SIRI, Professeur
Laboratoire de Chimie Théorique et de Modélisation Moléculaire
UMR6517-CNRS
Université de Provence
Case 521-Faculté de Saint-Jérôme
Av. Esc. Normandie Niemen
13397 MARSEILLE Cedex 20
Tel : (33)-4-91-28-28-41
Fax : (33)-4-91-28-87-58
Port : 06-78-45-96-91
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 3111 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/torqueusers/attachments/20060606/5ce7285d/attachment.bin
More information about the torqueusers
mailing list