- Timestamp:
- Oct 4, 2017, 3:52:56 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/series.m
r1011 r1012 1920 1920 matlab_version = matlab_ver.Version; 1921 1921 cmd=[... 1922 '#!/bin/bash 1923 'source /etc/profile 1924 'module load matlab/' '' matlab_version '''\n'...% CHOICE OF MATLAB VERSION1922 '#!/bin/bash\n'... 1923 'source /etc/profile\n'... 1924 'module load matlab/' matlab_version '\n'...% CHOICE OF MATLAB VERSION 1925 1925 'time_start=$(date +%%s)\n'... 1926 1926 'matlab -nodisplay -nosplash -nojvm -logfile ''' filelog_global ''' <<END_MATLAB\n'... 1927 'addpath(''' path_series '''); 1928 'addpath(''' Param.Action.ActionPath '''); 1927 'addpath(''' path_series ''');\n'... 1928 'addpath(''' Param.Action.ActionPath ''');\n']; 1929 1929 for iprocess=1:NbProcess 1930 cmd=[cmd '' Param.Action.ActionName '( ''' filexml{iprocess} ''');\n'];1930 cmd=[cmd '' Param.Action.ActionName '(''' filexml{iprocess} ''');\n']; 1931 1931 end 1932 cmd=[cmd 'exit 1932 cmd=[cmd 'exit\n' 'END_MATLAB\n'... 1933 1933 'time_end=$(date +%%s)\n'... 1934 1934 'echo "global time = " $(($time_end - $time_start)) >> ''' filelog_global '''\n']; … … 1992 1992 matlab_version = matlab_ver.Version; 1993 1993 cmd=[... 1994 '#!/bin/bash 1995 'source /etc/profile 1996 'module load matlab/' '' matlab_version '''\n'...% CHOICE OF MATLAB VERSION1994 '#!/bin/bash\n'... 1995 'source /etc/profile\n'... 1996 'module load matlab/' matlab_version '\n'...% CHOICE OF MATLAB VERSION 1997 1997 'matlab -nodisplay -nosplash -nojvm -singleCompThread -logfile ''' filelog{iprocess} ''' <<END_MATLAB\n'... 1998 'addpath(''' path_series '''); 1999 'addpath(''' Param.Action.ActionPath '''); 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'... 2002 2002 'END_MATLAB\n']; 2003 2003 end
Note: See TracChangeset
for help on using the changeset viewer.