Changeset 25133


Ignore:
Timestamp:
06/24/20 11:02:24 (5 years ago)
Author:
jdquinn
Message:

CHG: Partitioner now returns tuple

Location:
issm/trunk-jpl/test/NightlyRun
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/test/NightlyRun/test218.py

    r25044 r25133  
    7373#partitioning
    7474npart = md.mesh.numberofvertices
    75 partition = partitioner(md, 'package', 'linear', 'npart', npart) - 1
     75partition = partitioner(md, 'package', 'linear', 'npart', npart)[0] - 1
    7676
    7777#Dakota options
  • issm/trunk-jpl/test/NightlyRun/test235.py

    r25044 r25133  
    3939#partitioning
    4040npart = 20
    41 partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on') - 1
     41partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on')[0] - 1
    4242
    4343#variables
  • issm/trunk-jpl/test/NightlyRun/test244.py

    r25046 r25133  
    6969#partitioning
    7070npart = md.mesh.numberofelements
    71 partition = partitioner(md, 'package', 'linear', 'type', 'element', 'npart', npart) - 1
     71partition = partitioner(md, 'package', 'linear', 'type', 'element', 'npart', npart)[0] - 1
    7272
    7373#variables
  • issm/trunk-jpl/test/NightlyRun/test250.py

    r25044 r25133  
    3737#partitioning
    3838npart = md.mesh.numberofvertices
    39 partition = partitioner(md, 'package', 'linear', 'npart', npart) - 1
     39partition = partitioner(md, 'package', 'linear', 'npart', npart)[0] - 1
    4040
    4141#variables
  • issm/trunk-jpl/test/NightlyRun/test251.py

    r25044 r25133  
    3838#partitioning
    3939npart = md.mesh.numberofvertices
    40 partition = partitioner(md, 'package', 'linear', 'npart', npart) - 1
     40partition = partitioner(md, 'package', 'linear', 'npart', npart)[0] - 1
    4141
    4242#variables
  • issm/trunk-jpl/test/NightlyRun/test412.py

    r25044 r25133  
    2020#partitioning
    2121npart = md.mesh.numberofvertices
    22 partition = partitioner(md, 'package', 'linear', 'npart', npart) - 1
     22partition = partitioner(md, 'package', 'linear', 'npart', npart)[0] - 1
    2323md.qmu.isdakota = 1
    2424
  • issm/trunk-jpl/test/NightlyRun/test413.py

    r25044 r25133  
    2424#partitioning
    2525npart = 20
    26 partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on') - 1
     26partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on')[0] - 1
    2727
    2828#variables
  • issm/trunk-jpl/test/NightlyRun/test414.py

    r25044 r25133  
    3333#partitioning
    3434npart = 20
    35 partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on') - 1
     35partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on')[0] - 1
    3636
    3737#variables
  • issm/trunk-jpl/test/NightlyRun/test418.py

    r25132 r25133  
    3737# - Run valgrind and fix the above
    3838#
    39 partition, md = partitioner(md, 'package', 'chaco', 'npart', npart) - 1
     39partition, md = partitioner(md, 'package', 'chaco', 'npart', npart)
     40partition -= 1
    4041
    4142vector = np.arange(1, 1 + md.mesh.numberofvertices, 1).reshape(-1, 1)
  • issm/trunk-jpl/test/NightlyRun/test444.py

    r25102 r25133  
    6767#partitioning
    6868npart = 10
    69 partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on') - 1
     69partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on')[0] - 1
    7070md.qmu.isdakota = 1
    7171
  • issm/trunk-jpl/test/NightlyRun/test445.py

    r25107 r25133  
    3636#partitioning
    3737npart = 10
    38 partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on') - 1
     38partition = partitioner(md, 'package', 'chaco', 'npart', npart, 'weighting', 'on')[0] - 1
    3939md.qmu.isdakota = 1
    4040
Note: See TracChangeset for help on using the changeset viewer.