Skip to content
Snippets Groups Projects
Commit 00b9ccaa authored by Chichi Lalescu's avatar Chichi Lalescu
Browse files

add call to fftw_mpi_init

I had no idea this function existed. I think
parent 83a64c02
Branches
Tags 1.3.0
No related merge requests found
...@@ -69,6 +69,8 @@ class code(base): ...@@ -69,6 +69,8 @@ class code(base):
MPI_Init(&argc, &argv); MPI_Init(&argc, &argv);
MPI_Comm_rank(MPI_COMM_WORLD, &myrank); MPI_Comm_rank(MPI_COMM_WORLD, &myrank);
MPI_Comm_size(MPI_COMM_WORLD, &nprocs); MPI_Comm_size(MPI_COMM_WORLD, &nprocs);
fftw_mpi_init();
fftwf_mpi_init();
if (argc != 2) if (argc != 2)
{ {
std::cerr << "Wrong number of command line arguments. Stopping." << std::endl; std::cerr << "Wrong number of command line arguments. Stopping." << std::endl;
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment