Changeset 367


Ignore:
Timestamp:
Jan 12, 2012, 11:19:00 AM (12 years ago)
Author:
gostiaux
Message:

Batch on legi clusters works with civ matlab

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/civ.m

    r364 r367  
    15071507                            return
    15081508                        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);
    15111518                        fclose(fid);
    15121519                        if isunix
     
    15801587                case 'oar-dispatch' %oar-dispatch.pl
    15811588                    ncores=str2double(...
    1582                         inputdlg('Number of cores (max 36)','oarsub parameter',1,{'12'})...
     1589                        inputdlg('Number of cores (max 36)','oarsub parameter',1,{'6'})...
    15831590                        );
    15841591                    walltime_onejob=600;%seconds
Note: See TracChangeset for help on using the changeset viewer.