Skip to content

Commit

Permalink
Merge pull request #777 from band-a-prend/cmake_mpi_c
Browse files Browse the repository at this point in the history
CMake: fix -Wint-conversion warning (error if clang is used as MPIC_C)
  • Loading branch information
zbeekman committed Jan 12, 2024
2 parents df27aa6 + ade0422 commit f521b5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ int main(int argc, char** argv) {
char processor_name[MPI_MAX_PROCESSOR_NAME];
int name_len;
MPI_Get_processor_name(processor_name, &name_len);
printf('Hello world from processor %s, rank %d out of %d processors',
printf(\"Hello world from processor %s, rank %d out of %d processors\",
processor_name, world_rank, world_size);
MPI_Finalize();
}"
Expand Down

0 comments on commit f521b5f

Please sign in to comment.