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 @@ -720,6 +720,13 @@ void ADIOS2IOHandlerImpl::createDataset(
720720 " [ADIOS2] Creating a dataset in a file opened as read "
721721 " only is not possible." );
722722 }
723+ #if !openPMD_HAS_ADIOS_2_9
724+ if (parameters.joinedDimension .has_value ())
725+ {
726+ error::throwOperationUnsupportedInBackend (
727+ " ADIOS1" , " Joined Arrays require ADIOS2 >= v2.9" );
728+ }
729+ #endif
723730 if (!writable->written )
724731 {
725732 /* 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