Skip to content
Snippets Groups Projects
Commit 4cba20f2 authored by Marco Ratto's avatar Marco Ratto
Browse files

Fixed bug in parallel_test

parent 0e5fed4b
Branches
No related tags found
No related merge requests found
...@@ -581,13 +581,13 @@ for Node=1:length(DataInput) % To obtain a recoursive function remove the 'for' ...@@ -581,13 +581,13 @@ for Node=1:length(DataInput) % To obtain a recoursive function remove the 'for'
RealCPUnbr=''; RealCPUnbr='';
% keyboard; % keyboard;
RealCPUnbr=GiveCPUnumber(de0,OStargetUnix); RealCPUnbr=GiveCPUnumber(de0);
% Questo controllo penso che si possa MIGLIORARE!!!!! % Questo controllo penso che si possa MIGLIORARE!!!!!
if isempty (RealCPUnbr) && Environment==0, if isempty (RealCPUnbr) && Environment==0,
[si0 de0]=system(['psinfo \\',DataInput(Node).ComputerName]); [si0 de0]=system(['psinfo \\',DataInput(Node).ComputerName]);
end end
RealCPUnbr=GiveCPUnumber(de0,OStargetUnix); RealCPUnbr=GiveCPUnumber(de0);
if isempty (RealCPUnbr) if isempty (RealCPUnbr)
% An error occurred when we try to know the Cpu/Cores % An error occurred when we try to know the Cpu/Cores
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment