If $cluster != 0 and $cpu_per_node != 0 then

258c258
<         myceil($description->count() / $cpu_per_node), "\n";
---
>         $description->count(), ":ppn=2\n";
496,497c496,497
<
< $remote_shell \$host "/bin/sh $cmd_script_name; echo \\\$? > $exit_prefix.\$counter" < $stdin &
---
>             my_host=`echo \$host | cut -d: -f1`
> $remote_shell \$my_host "/bin/sh $cmd_script_name; echo \\\$? > $exit_prefix.\$counter" < $stdin &

Regards,

--
Daniel Andrzejewski
student IT Administrator
Electrical Engineering and Computer Science
University of Tennessee
(865) 974 - 4388 (work)
(865) 274 - 1499 (cell)

"Investment in knowledge always pays the best interest" Benjamin Franklin
--


Daniel Andrzejewski wrote:
Hi Charles,

Thank you for your advice. I have modified pbs.pm file, which fixed the problem.

However, I encountered another problem:
in a job description file I specify how many nodes I want to request, e.g. 8
<count>8</count>
but I only get a half of that number.

All the compute nodes have 2 CPUs.

Right now (as I mentioned before) in pbs.pm file variable $cpu_per_node = 1. If I change it to 2, then I get 1/4 of the number of requested nodes (e.g. 8/4 = 2). Temporarily, I got a working solution, which is not perfect, because I can never get more then a half of the total number of nodes in the cluster.

Regards,



Reply via email to