Partial write of unstructured MIXED element sets fails with CGNS > 3.3.1

Description

In CGNS 3.3.0/1 it was possible to write a MIXED element section in serial by calling cg_section_partial_write followed by multiple calls to cg_elements_partial_write. With the latest checkout of the develop branch this no longer seems possible, instead failing with the message "Element must be a fixed size".

This may be an intentional change, in which case there will be regression problems with existing MPI applications that use a host/slave approach for writing large meshes.

The attached reproducer demonstrates the inconsistency with CGNS 3.3.1/dev and HDF5 1.8.21.

Environment

Linux, Centos-7

Activity

Show:
Mickael PHILIT
November 2, 2018, 6:03 PM

Hello,

This is an intentional change.
The new function to call to write MIXED elements is
cg_poly_elements_partial_write
It requires an additional parameter that is a hash table array intended
exactly for quick access of large meshes.

Mickael

On Fri, Nov 2, 2018 at 6:14 PM David Gutzwiller (JIRA) <

David Gutzwiller
November 2, 2018, 6:08 PM
Edited

Ah, ok.

I'll stick with V3.3.1 for now and plan on making this update in my sources after the next release comes out.

Assignee

David Gutzwiller

Reporter

David Gutzwiller

Components

Priority

Major
Configure