File tree Expand file tree Collapse file tree
fesom2_test_refactoring/xios/src/node Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ namespace xios {
494494 {
495495 closeAllFile ();
496496 registryOut->hierarchicalGatherRegistry () ;
497- if (server->intraCommRank ==0 ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
497+ if (server->intraCommRank ==0 && CXios::globalRegistry ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
498498 }
499499
500500 // ! Deallocate client buffers
@@ -534,7 +534,7 @@ namespace xios {
534534 if (hasServer && !hasClient)
535535 {
536536 registryOut->hierarchicalGatherRegistry () ;
537- if (server->intraCommRank ==0 ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
537+ if (server->intraCommRank ==0 && CXios::globalRegistry ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
538538 }
539539
540540 // ! Deallocate client buffers
Original file line number Diff line number Diff line change @@ -494,7 +494,7 @@ namespace xios {
494494 {
495495 closeAllFile ();
496496 registryOut->hierarchicalGatherRegistry () ;
497- if (server->intraCommRank ==0 ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
497+ if (server->intraCommRank ==0 && CXios::globalRegistry ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
498498 }
499499
500500 // ! Deallocate client buffers
@@ -534,7 +534,7 @@ namespace xios {
534534 if (hasServer && !hasClient)
535535 {
536536 registryOut->hierarchicalGatherRegistry () ;
537- if (server->intraCommRank ==0 ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
537+ if (server->intraCommRank ==0 && CXios::globalRegistry ) CXios::globalRegistry->mergeRegistry (*registryOut) ;
538538 }
539539
540540 // ! Deallocate client buffers
You can’t perform that action at this time.
0 commit comments