Skip to content

Commit

Permalink
HPC virtualization clean-up
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Claudino <[email protected]>
  • Loading branch information
danclaudino committed Jul 25, 2024
1 parent 01c11aa commit ec7b050
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ add_compile_flags_if_supported(-Wno-maybe-uninitialized)
# Check MPI status
# if MPI_CXX_COMPILER is not empty and XACC_ENABLE_MPI is set
# turn MPI_ENABLED on
# Update: we don't really need to give the compiler
# Update: we don't really need to give the path to the compiler
# because if MPI is found, MPI_CXX_COMPILER is populated
if(XACC_ENABLE_MPI)
find_package(MPI)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,6 @@ void HPCVirtDecorator::execute(
// their quantum execution across the node sub-groups.

// Get the rank and size in the original communicator
auto start = std::chrono::high_resolution_clock::now();
int world_size, world_rank;
MPI_Comm_size(MPI_COMM_WORLD, &world_size);
MPI_Comm_rank(MPI_COMM_WORLD, &world_rank);
Expand Down

0 comments on commit ec7b050

Please sign in to comment.