Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix a couple of minor issues with IOR output #493

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/aiori-aio.c
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ static void aio_initialize(aiori_mod_opt_t * param){
if(io_setup(o->max_pending, & o->ioctx) != 0){
ERRF("Couldn't initialize io context %s", strerror(errno));
}
printf("%d\n", (o->max_pending));

o->iocbs = malloc(sizeof(struct iocb *) * o->granularity);
o->iocbs_pos = 0;
Expand Down
10 changes: 5 additions & 5 deletions src/ior.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,16 @@ int ior_main(int argc, char **argv)
out_logfile = stdout;
out_resultfile = stdout;

/*
* check -h option from commandline without starting MPI;
*/
tests_head = ParseCommandLine(argc, argv, MPI_COMM_WORLD);

/* start the MPI code */
MPI_CHECK(MPI_Init(&argc, &argv), "cannot initialize MPI");

MPI_CHECK(MPI_Comm_rank(MPI_COMM_WORLD, &rank), "cannot get rank");

/*
* check -h option from commandline without starting MPI;
*/
tests_head = ParseCommandLine(argc, argv, MPI_COMM_WORLD);

/* set error-handling */
/*MPI_CHECK(MPI_Errhandler_set(mpi_comm_world, MPI_ERRORS_RETURN),
"cannot set errhandler"); */
Expand Down