Skip to content
Snippets Groups Projects
Commit f0f0ca61 authored by Jorrit Schaap's avatar Jorrit Schaap
Browse files

COB-49: use selected mipcc and mpirun. Do no write intermediate files in source dir.

parent b5b60959
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
#!/bin/bash -ve
source ../../validation_utils.sh
check_running_on_cobalt2
/opt/openmpi/bin/mpicc mpi-hello-world.c -o mpi-hello-world
/opt/openmpi/bin/mpirun --tag-output -H localhost,localhost ./mpi-hello-world | sort | fgrep 'Hello world' | wc -l | grep '^2$'
mpicc `dirname $0`/mpi-hello-world.c -o /tmp/mpi-hello-world || exit 1
mpirun --tag-output -H localhost,localhost /tmp/mpi-hello-world | sort | fgrep 'Hello world' | wc -l | grep '^2$'
exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment