displayparallel

PURPOSE ^

DISPLAYPARALLEL - display parallel computation parameters

SYNOPSIS ^

function displayparallel(md)

DESCRIPTION ^

DISPLAYPARALLEL - display parallel computation parameters

   To avoid clobbering display.m with every field from model md, 
   we create this routine that displays all fields related to
   parallel computation from model md, only if requested.

   Usage:
      displayparallel(md)

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 function displayparallel(md)
0002 %DISPLAYPARALLEL - display parallel computation parameters
0003 %
0004 %   To avoid clobbering display.m with every field from model md,
0005 %   we create this routine that displays all fields related to
0006 %   parallel computation from model md, only if requested.
0007 %
0008 %   Usage:
0009 %      displayparallel(md)
0010 
0011 disp(sprintf('      ''%s''','parallelisation'));
0012 disp(sprintf('         cluster: %s      (set to ''cluster_name'' to run in cluster, ''none'' to run serially)',md.cluster));
0013 disp(sprintf('         np: %i      (number of CPUS requested on cluster)',md.np));
0014 disp(sprintf('         %s','''ice'''));
0015 disp(sprintf('            scheduler_configuration: %s      (name of cluster configuration used from Parallel Matlab toolbox)',md.scheduler_configuration));
0016 disp(sprintf('         %s','''cielo'''));
0017 disp(sprintf('            exclusive: %i      (set to 1 if CPUS used are not to be shared with other users, 0 otherwise)',md.exclusive));
0018 disp(sprintf('            time: %i      (amount of time requested on cluster)',md.time)); 
0019 disp(sprintf('            alloc_cleanup: %i      (allocation cleanup before starting a job, default 1)',md.alloc_cleanup)); 
0020 disp(sprintf('            waitonlock: %i      (wait for batch results 1, or return 0. default is to return )',md.waitonlock)); 
0021 disp(sprintf('      ''%s''','solver options'));
0022 disp(sprintf('         %s','''ice'''));
0023 disp(sprintf('            solver_type: %s      (solver type for Ice: ''lu'' or ''cholesky'')',md.solver_type));
0024 disp(sprintf('         %s','''cielo'''));
0025 disp(sprintf('            solverstring: %s (solver string for Petsc. See solversetto... routines. Default is asm)',md.solverstring));

Generated on Sun 29-Mar-2009 20:22:55 by m2html © 2003