mirror of
https://github.com/Unidata/netcdf-c.git
synced 2025-01-18 15:55:12 +08:00
Added missing err_macros.h to tst_mpi_parallel.c
This commit is contained in:
parent
4111dcfe9e
commit
938b27bd84
@ -1,5 +1,5 @@
|
||||
/* This is a quickie tester for netcdf-4.
|
||||
|
||||
/* This is a quickie tester for netcdf-4.
|
||||
|
||||
This just excersizes MPI file I/O to make sure everything's working
|
||||
properly. If this doesn't work, netcdf/HDF5 parallel I/O also won't
|
||||
work.
|
||||
@ -8,6 +8,7 @@
|
||||
*/
|
||||
|
||||
#include <nc_tests.h>
|
||||
#include "err_macros.h"
|
||||
#include <mpi.h>
|
||||
|
||||
#define FILE "tst_mpi_parallel.bin"
|
||||
@ -26,7 +27,7 @@ main(int argc, char **argv)
|
||||
MPI_Comm_size(MPI_COMM_WORLD, &mpi_size);
|
||||
MPI_Comm_rank(MPI_COMM_WORLD, &my_rank);
|
||||
/*MPI_Get_processor_name(mpi_name, &mpi_namelen);*/
|
||||
/*printf("mpi_name: %s size: %d rank: %d\n", mpi_name,
|
||||
/*printf("mpi_name: %s size: %d rank: %d\n", mpi_name,
|
||||
mpi_size, my_rank);*/
|
||||
|
||||
if (my_rank == 0)
|
||||
|
Loading…
Reference in New Issue
Block a user