Changeset 1012 for trunk/src


Ignore:
Timestamp:
Oct 4, 2017, 3:52:56 PM (6 years ago)
Author:
g7moreau
Message:
  • No more quote in module load command
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/series.m

    r1011 r1012  
    19201920                        matlab_version = matlab_ver.Version;
    19211921                        cmd=[...
    1922                             '#!/bin/bash \n'...
    1923                             'source /etc/profile \n'...
    1924                             'module load matlab/''' matlab_version ''' \n'...% CHOICE OF MATLAB VERSION
     1922                            '#!/bin/bash\n'...
     1923                            'source /etc/profile\n'...
     1924                            'module load matlab/' matlab_version '\n'...% CHOICE OF MATLAB VERSION
    19251925                            'time_start=$(date +%%s)\n'...
    19261926                            'matlab -nodisplay -nosplash -nojvm -logfile ''' filelog_global ''' <<END_MATLAB\n'...
    1927                             'addpath(''' path_series '''); \n'...
    1928                             'addpath(''' Param.Action.ActionPath '''); \n'];
     1927                            'addpath(''' path_series ''');\n'...
     1928                            'addpath(''' Param.Action.ActionPath ''');\n'];
    19291929                        for iprocess=1:NbProcess
    1930                             cmd=[cmd '' Param.Action.ActionName  '( ''' filexml{iprocess} '''); \n'];
     1930                            cmd=[cmd '' Param.Action.ActionName  '(''' filexml{iprocess} ''');\n'];
    19311931                        end
    1932                         cmd=[cmd  'exit \n' 'END_MATLAB\n'...
     1932                        cmd=[cmd  'exit\n' 'END_MATLAB\n'...
    19331933                            'time_end=$(date +%%s)\n'...
    19341934                            'echo "global time = " $(($time_end - $time_start)) >> ''' filelog_global '''\n'];
     
    19921992                matlab_version = matlab_ver.Version;
    19931993                cmd=[...
    1994                     '#!/bin/bash \n'...
    1995                     'source /etc/profile \n'...
    1996                     'module load matlab/''' matlab_version ''' \n'...% CHOICE OF MATLAB VERSION
     1994                    '#!/bin/bash\n'...
     1995                    'source /etc/profile\n'...
     1996                    'module load matlab/' matlab_version '\n'...% CHOICE OF MATLAB VERSION
    19971997                    'matlab -nodisplay -nosplash -nojvm -singleCompThread -logfile ''' filelog{iprocess} ''' <<END_MATLAB\n'...
    1998                     'addpath(''' path_series '''); \n'...
    1999                     'addpath(''' Param.Action.ActionPath '''); \n'...
    2000                     '' Param.Action.ActionName  '( ''' filexml{iprocess} '''); \n'...
    2001                     'exit' '\n'...
     1998                    'addpath(''' path_series ''');\n'...
     1999                    'addpath(''' Param.Action.ActionPath ''');\n'...
     2000                    '' Param.Action.ActionName  '(''' filexml{iprocess} ''');\n'...
     2001                    'exit\n'...
    20022002                    'END_MATLAB\n'];
    20032003            end
Note: See TracChangeset for help on using the changeset viewer.