Some formatting and unimportant changes to samples

This commit is contained in:
jpekkila
2020-05-26 18:57:46 +03:00
parent c93b3265e6
commit ec59cdb973
2 changed files with 4 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ main(void)
fprintf(fp, "#BATCH --job-name=astaroth\n");
fprintf(fp, "#SBATCH --account=project_2000403\n");
fprintf(fp, "#SBATCH --time=00:14:59\n");
fprintf(fp, "#SBATCH --mem=24000\n");
fprintf(fp, "#SBATCH --partition=gputest\n");
fprintf(fp, "#SBATCH --mem=32000\n");
fprintf(fp, "#SBATCH --partition=gpu\n");
// nprocs, nodes, gpus
const int max_gpus_per_node = 4;

View File

@@ -74,7 +74,8 @@ main(void)
int
main(void)
{
printf("The library was built without MPI support, cannot run mpitest. Rebuild Astaroth with cmake -DMPI_ENABLED=ON .. to enable.\n");
printf("The library was built without MPI support, cannot run mpitest. Rebuild Astaroth with "
"cmake -DMPI_ENABLED=ON .. to enable.\n");
return EXIT_FAILURE;
}
#endif // AC_MPI_ENABLES