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

COB-49: Check whether we use our custom OpenMPI configuration file

parent 4e0120ec
No related branches found
No related tags found
1 merge request!6Import cobalt2 into lofar4
#!/bin/bash -ve #!/bin/bash -ve
# Check whether we use our custom OpenMPI configuration file # Check whether we use our custom OpenMPI configuration file
fgrep 'OpenMPI parameters for cbt00X' /opt/openmpi/etc/openmpi-mca-params.conf || exit 1 MPI_BIN_DIR=`which mpirun`
MPI_ETC_DIR=`dirname $MPI_BIN_DIR`/../etc
fgrep 'Ansible managed: /etc/ansible/roles/cobalt2/templates/openmpi' $MPI_ETC_DIR/openmpi-mca-params.conf || exit 1
exit 0 exit 0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment