Some formatting and unimportant changes to samples
This commit is contained in:
@@ -19,8 +19,8 @@ main(void)
|
|||||||
fprintf(fp, "#BATCH --job-name=astaroth\n");
|
fprintf(fp, "#BATCH --job-name=astaroth\n");
|
||||||
fprintf(fp, "#SBATCH --account=project_2000403\n");
|
fprintf(fp, "#SBATCH --account=project_2000403\n");
|
||||||
fprintf(fp, "#SBATCH --time=00:14:59\n");
|
fprintf(fp, "#SBATCH --time=00:14:59\n");
|
||||||
fprintf(fp, "#SBATCH --mem=24000\n");
|
fprintf(fp, "#SBATCH --mem=32000\n");
|
||||||
fprintf(fp, "#SBATCH --partition=gputest\n");
|
fprintf(fp, "#SBATCH --partition=gpu\n");
|
||||||
|
|
||||||
// nprocs, nodes, gpus
|
// nprocs, nodes, gpus
|
||||||
const int max_gpus_per_node = 4;
|
const int max_gpus_per_node = 4;
|
||||||
|
@@ -74,7 +74,8 @@ main(void)
|
|||||||
int
|
int
|
||||||
main(void)
|
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;
|
return EXIT_FAILURE;
|
||||||
}
|
}
|
||||||
#endif // AC_MPI_ENABLES
|
#endif // AC_MPI_ENABLES
|
||||||
|
Reference in New Issue
Block a user