qlat.QarFile.has¶
- QarFile.has(self, string fn)¶
Check if an entry exists in this QAR archive (regular file or otherwise). # When the QAR was opened via
open_qar_info, this method returns a truthyGobbleon non-rank-0 nodes. Broadcast the result from rank 0 withq.bcast_pyto avoid a control-flow desync between MPI ranks:# has_entry = q.bcast_py(qar_ws.has(fn))