Bugzilla – Bug 4785
globus-scheduler-provider-fork return wrong information - Solved
Last modified: 2006-10-17 16:08:01
You need to log in before you can comment on or make changes to this bug.
Hi, I have installed the version 4.0.2 of globus and I have a centrino processor and the operating system is ubuntu. The problem is that globus detects two processors in my computer while there is only one. I have analized the script $GLOBUS_LOCATION/libexec/globus-scheduler-provider-fork and I have concluded that the number of processors is equal to the number of times that the word 'processors' occurs in the file /proc/cpuinfo. In my case, I have the following content in /proc/cpuinfo: processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 9 model name : Intel(R) Pentium(R) M processor 1400MHz ... As we can see, the word 'processors' appears twice but I have only one processor. So, I have changed the script globus-scheduler-provider-fork at the line 77: where before there was: ... if ($line =~ /processor/) { $total_nodes++; } ... now is: ... if ($line =~ /^processor(\s)+\:/) { $total_nodes++; } ... This means that the number of processors is equal to the number of lines which begin by the word 'processor'. And now, it works fine.
Thank you very much for reporting this problem. It's now fixed in CVS HEAD and the 4_0_branch and will be in upcoming public releases.