File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed
Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -702,6 +702,13 @@ void ADIOS2IOHandlerImpl::createDataset(
702702 " [ADIOS2] Creating a dataset in a file opened as read "
703703 " only is not possible." );
704704 }
705+ #if !openPMD_HAS_ADIOS_2_9
706+ if (parameters.joinedDimension .has_value ())
707+ {
708+ error::throwOperationUnsupportedInBackend (
709+ " ADIOS1" , " Joined Arrays require ADIOS2 >= v2.9" );
710+ }
711+ #endif
705712 if (!writable->written )
706713 {
707714 /* Sanitize name */
Original file line number Diff line number Diff line change @@ -452,6 +452,12 @@ void HDF5IOHandlerImpl::createDataset(
452452 " [HDF5] Creating a dataset in a file opened as read only is not "
453453 " possible." );
454454
455+ if (parameters.joinedDimension .has_value ())
456+ {
457+ error::throwOperationUnsupportedInBackend (
458+ " ADIOS1" , " Joined Arrays currently only supported in ADIOS2" );
459+ }
460+
455461 if (!writable->written )
456462 {
457463 /* Sanitize name */
Original file line number Diff line number Diff line change @@ -260,6 +260,12 @@ void JSONIOHandlerImpl::createDataset(
260260 " [JSON] Creating a dataset in a file opened as read only is not "
261261 " possible." );
262262 }
263+ if (parameter.joinedDimension .has_value ())
264+ {
265+ error::throwOperationUnsupportedInBackend (
266+ " ADIOS1" , " Joined Arrays currently only supported in ADIOS2" );
267+ }
268+
263269 if (!writable->written )
264270 {
265271 /* Sanitize name */
You can’t perform that action at this time.
0 commit comments