adding source and scripts for ompi testing scripts

provided scripts:
* ompi_connectivity.sh
* ompi_hello.sh
* ompi_ring.sh
This commit is contained in:
2024-08-26 18:27:55 +02:00
parent c23bdece04
commit f038f8ce5c
24 changed files with 726 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# This is a simple example of a SGE batch script
#$ -pe mpi-rr 4-20
#$ -l low
# request Bourne shell as shell for job
#$ -S /bin/bash
#
# print hostname
hostname
# print date and time
date
if [ "X$PE_HOSTFILE" != "X" ]; then
# print pe_hostfile
cat $PE_HOSTFILE
# Run ompi_connectivity
echo Starting OpenMPI job.
mpirun -v /data/gridengine/local/examples/jobsbin/ompi_connectivity_`/usr/bin/lsb_release -cs`
fi
# print date and time again
date

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# This is a simple example of a SGE batch script
#$ -pe mpi-rr 4-20
#$ -l low
# request Bourne shell as shell for job
#$ -S /bin/bash
#
# print hostname
hostname
# print date and time
date
if [ "X$PE_HOSTFILE" != "X" ]; then
# print pe_hostfile
cat $PE_HOSTFILE
# Run ompi_hello
echo Starting OpenMPI job.
mpirun -v /data/gridengine/local/examples/jobsbin/ompi_hello_$(/usr/bin/lsb_release -cs)
fi
# print date and time again
date

View File

@@ -0,0 +1,23 @@
#!/bin/bash
# This is a simple example of a SGE batch script
#$ -pe mpi-rr 4-20
#$ -l low
# request Bourne shell as shell for job
#$ -S /bin/bash
#
# print hostname
hostname
# print date and time
date
if [ "X$PE_HOSTFILE" != "X" ]; then
# print pe_hostfile
cat $PE_HOSTFILE
# Run ompi_ring
echo Starting OpenMPI job.
mpirun -v /data/gridengine/local/examples/jobsbin/ompi_ring_`/usr/bin/lsb_release -cs`
fi
# print date and time again
date