Changeset 367
- Timestamp:
- Jan 12, 2012, 11:19:00 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/civ.m
r364 r367 1507 1507 return 1508 1508 end 1509 fprintf(fid,['/opt/matlab/R2011a/bin/matlab -nodisplay -nosplash -r "cd(''' path_civ ''');'... 1510 'civ_matlab(''' filename_xml ''',''' OutputFile '.nc'');exit"']); 1509 text_matlabscript=[... 1510 '#!/bin/bash \n'... 1511 '. /etc/sysprofile \n'... 1512 'matlab -nodisplay -nosplash -nojvm <<END_MATLAB \n'... 1513 'cd(''' path_civ '''); \n'... 1514 'civ_matlab(''' filename_xml ''',''' OutputFile '.nc''); \n'... 1515 'exit \n'... 1516 'END_MATLAB \n']; 1517 fprintf(fid,text_matlabscript); 1511 1518 fclose(fid); 1512 1519 if isunix … … 1580 1587 case 'oar-dispatch' %oar-dispatch.pl 1581 1588 ncores=str2double(... 1582 inputdlg('Number of cores (max 36)','oarsub parameter',1,{' 12'})...1589 inputdlg('Number of cores (max 36)','oarsub parameter',1,{'6'})... 1583 1590 ); 1584 1591 walltime_onejob=600;%seconds
Note: See TracChangeset
for help on using the changeset viewer.