Changeset 11729


Ignore:
Timestamp:
03/19/12 20:08:16 (13 years ago)
Author:
Eric.Larour
Message:

Detect presence of petsc for solving in parallel. Otherwise, run with 1 cpu only

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/m/model/solveparallel.m

    r11311 r11729  
    1111        md=loadresultsfromcluster(md);
    1212else
     13
     14        %In parallel mode, we need to make sure we have PETSC support, otherwise, we run with only one cpu:
     15        if ~ispetsc,
     16                disp('PETSC support not included, running on 1 cpu only!');
     17                cluster.np=1;
     18        end
    1319
    1420        %First, build a runtime name that is unique, that we will use to create
Note: See TracChangeset for help on using the changeset viewer.