typos
parent
c45cd4ab70
commit
fdd8f08a7b
|
@ -7,10 +7,10 @@ clear
|
|||
close all
|
||||
drawnow
|
||||
|
||||
Octave = exist('OCTAVE_VERSION','var') ~= 0;
|
||||
|
||||
if Octave
|
||||
if isOctave
|
||||
confirm_recursive_rmdir(0);
|
||||
page_screen_output(0); % do not buffer output
|
||||
page_output_immediately(1); % do not buffer output
|
||||
end
|
||||
|
||||
folder = fileparts( mfilename( 'fullpath' ) );
|
||||
|
@ -42,6 +42,7 @@ for o=1:numel(options)
|
|||
% execute function
|
||||
disp( [datestr(now) ' executing: ' folders(f).name '/' scripts(s).name] );
|
||||
[~,fname] = fileparts( scripts(s).name );
|
||||
fflush(1); % flush stdout
|
||||
pass = feval( fname, options{o}, 'run_testsuite' );
|
||||
end
|
||||
end
|
||||
|
|
|
@ -11,26 +11,26 @@ function RunOpenEMS(Sim_Path, Sim_File, opts, Settings)
|
|||
%
|
||||
% opts: list of openEMS options
|
||||
% possible options:
|
||||
% --disable-dumps Disable all field dumps for faster simulation
|
||||
% --debug-material Dump material distribution to a vtk file for debugging
|
||||
% --debug-PEC Dump metal distribution to a vtk file for debugging
|
||||
% --debug-operator Dump operator to vtk file for debugging
|
||||
% --debug-boxes Dump e.g. probe boxes to vtk file for debugging
|
||||
% --debug-CSX Write CSX geometry file to debugCSX.xml
|
||||
% --engine=<type> Choose engine type
|
||||
% --engine=fastest fastest available engine (default)
|
||||
% --engine=basic basic FDTD engine
|
||||
% --engine=sse engine using sse vector extensions
|
||||
% --engine=sse_compressed engine using compressed operator + sse vector extensions
|
||||
% --engine=MPI engine using compressed operator + sse vector extensions + MPI parallel processing
|
||||
% --engine=multithreaded engine using compressed operator + sse vector extensions + MPI + multithreading
|
||||
% --numThreads=<n> Force use n threads for multithreaded engine
|
||||
% --no-simulation only run preprocessing; do not simulate
|
||||
% --disable-dumps Disable all field dumps for faster simulation
|
||||
% --debug-material Dump material distribution to a vtk file for debugging
|
||||
% --debug-PEC Dump metal distribution to a vtk file for debugging
|
||||
% --debug-operator Dump operator to vtk file for debugging
|
||||
% --debug-boxes Dump e.g. probe boxes to vtk file for debugging
|
||||
% --debug-CSX Write CSX geometry file to debugCSX.xml
|
||||
% --engine=<type> Choose engine type
|
||||
% --engine=fastest fastest available engine (default)
|
||||
% --engine=basic basic FDTD engine
|
||||
% --engine=sse engine using sse vector extensions
|
||||
% --engine=sse_compressed engine using compressed operator + sse vector extensions
|
||||
% --engine=MPI engine using compressed operator + sse vector extensions + MPI parallel processing
|
||||
% --engine=multithreaded engine using compressed operator + sse vector extensions + MPI + multithreading
|
||||
% --numThreads=<n> Force use n threads for multithreaded engine
|
||||
% --no-simulation only run preprocessing; do not simulate
|
||||
%
|
||||
% Additional global arguments
|
||||
% --showProbeDiscretization Show probe discretization information
|
||||
% --nativeFieldDumps Dump all fields using the native field components
|
||||
% -v,-vv,-vvv Set debug level: 1 to 3
|
||||
% --showProbeDiscretization Show probe discretization information
|
||||
% --nativeFieldDumps Dump all fields using the native field components
|
||||
% -v,-vv,-vvv Set debug level: 1 to 3
|
||||
%
|
||||
%
|
||||
% settings: list of Matlab settings
|
||||
|
@ -125,7 +125,7 @@ if (enable_ssh)
|
|||
end
|
||||
|
||||
% create a tmp working dir
|
||||
[status, result] = unix([ssh_command ' ' ssh_options ' ' Settings.SSH.host ' "mktemp -d /tmp/openEMS_XXXXXXXXXXXX"']);
|
||||
[status, result] = unix([ssh_command ' ' ssh_options ' ' Settings.SSH.host ' "mktemp -d /tmp/openEMS_XXXXXXXXXXXX"']);
|
||||
if (status~=0)
|
||||
disp(result);
|
||||
error('openEMS:RunOpenEMS','mktemp failed to create tmp directory!');
|
||||
|
@ -147,7 +147,7 @@ if (enable_ssh)
|
|||
else
|
||||
append_unix = [];
|
||||
end
|
||||
status = unix([ssh_command ' ' ssh_options ' ' Settings.SSH.host ' "cd ' ssh_work_path ' && ' Settings.SSH.bin ' ' Sim_File ' ' opts '"' append_unix]);
|
||||
status = unix([ssh_command ' ' ssh_options ' ' Settings.SSH.host ' "cd ' ssh_work_path ' && ' Settings.SSH.bin ' ' Sim_File ' ' opts '"' append_unix]);
|
||||
if (status~=0)
|
||||
disp(result);
|
||||
error('openEMS:RunOpenEMS','ssh openEMS failed!');
|
||||
|
|
|
@ -34,9 +34,9 @@ dir = fileparts( filename );
|
|||
openEMS_Path = [dir filesep '../..' filesep];
|
||||
|
||||
if isunix
|
||||
openEMS_Path = [openEMS_Path 'openEMS.sh'];
|
||||
openEMS_Path = [openEMS_Path 'openEMS.sh'];
|
||||
else
|
||||
openEMS_Path = [openEMS_Path 'openEMS'];
|
||||
openEMS_Path = [openEMS_Path 'openEMS'];
|
||||
end
|
||||
|
||||
command = [openEMS_Path ' ' opts];
|
||||
|
|
Loading…
Reference in New Issue