This file is indexed.

/usr/share/doc/libgyoto6/examples/example-polish-doughnut.sbatch is in libgyoto6 1.2.0-2.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/bash
#SBATCH --job-name=Gyoto
#SBATCH --nodes=4 --ntasks-per-node=4

set -e

SCRATCH=/scratch/$USER/run.${SLURM_JOBID}

XMLFILE=$HOME/git/Gyoto/doc/examples/example-polish-doughnut.xml
FITSFILE=\!toto.fits

export LD_LIBRARY_PATH=/usr/local/lib:$HOME/usr/lib:$LD_LIBRARY_PATH
export PATH=$HOME/usr/bin:$PATH:$HOME/usr/lib/gyoto/3.0.1

mpirun -n 1 mkdir -p $SCRATCH
mpirun -n 1 cp $XMLFILE $SCRATCH/

mpirun -n 1 -wdir $SCRATCH ${HOME}/usr/bin/gyoto \
    --nprocesses=15 `basename $XMLFILE` $FITSFILE

mpirun -n 1 cp -a $SCRATCH $HOME/ && rm -Rf $SCRATCH

exit 0