QMCPACK
test_hdf_parallel.cpp File Reference
+ Include dependency graph for test_hdf_parallel.cpp:

Go to the source code of this file.

Functions

 TEST_CASE ("hdf_archive_parallel", "[hdf]")
 

Function Documentation

◆ TEST_CASE()

TEST_CASE ( "hdf_archive_parallel"  ,
""  [hdf] 
)

Definition at line 26 of file test_hdf_parallel.cpp.

References OHMMS::Controller, hdf_archive::create(), qmcplusplus::okay, qmcplusplus::REQUIRE(), and hdf_archive::writeEntry().

27 {
29  hdf_archive hd(c);
30  hd.create("test_communicate.hdf");
31  int i = 23;
32  bool okay = hd.writeEntry(i, "int");
33  REQUIRE(okay);
34 }
class to handle hdf file
Definition: hdf_archive.h:51
Communicate * Controller
Global Communicator for a process.
Definition: Communicate.cpp:35
Wrapping information on parallelism.
Definition: Communicate.h:68
REQUIRE(std::filesystem::exists(filename))