This file is indexed.

/usr/lib/mpich/bin/tdevice is in mpich-bin 1.2.7-10ubuntu1.

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

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
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/bin/sh
#
#  Returns the default device for architecture
#  Usage: tdevice <architecture>
#
ARCH="$1"
DEVICE=""

# ch_p4 
case "$ARCH" in 
   sun4|solaris|IRIX|IRIX64|alpha|freebsd|LINUX|solaris86) DEVICE=ch_p4 ;;
   hpux)
       # Suggested by Gary Applegate (bigapple@wagner.convex.com)
       # Another possibility is to look at /lib/libail.sl
       if test -f /bin/sysinfo ; then
           DEVICE="ch_shmem"
       else
           DEVICE="ch_p4"
       fi
       ;;
   rs6000)
	# Now that IBM has an MPI, make that the default.
#       if test -f /usr/lpp/poe/bin/mpcc ; then
#           DEVICE="ch_mpl"
#       else
           DEVICE="ch_p4"
#       fi
       ;;
   paragon) DEVICE=nx ;;
   intelnx) DEVICE=ch_nx ;;
   meiko)   DEVICE=meiko ;;
   ncube)   DEVICE=ch_nc ;;
   *)       DEVICE=ch_p4 ;;
esac
echo $DEVICE
exit 0