This file is indexed.

/usr/bin/mpjrun is in libmpj-java 0.44+dfsg-3.

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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
#!/bin/bash
export MPJ_HOME=/usr/share/mpj
allArguments="$@"  

# Checking if native device is being invoked

IS_NATIVE="false"
for i in $@; do 
  if [ "$i" == "native" ]; then
    IS_NATIVE="true"
  fi
done

if [ "$IS_NATIVE" == "false" ]; then
  java -jar $MPJ_HOME/lib/starter.jar "$@"	
else
  # Else, use natmpjdev
  version=`grep mpjexpress.version $MPJ_HOME/conf/mpjexpress.conf |cut -d = -f2`
  echo "MPJ Express ($version) is started in cluster configuration with native device"  
  MACHINESFILE=""
  CP=$MPJ_HOME/lib/mpj.jar                                                                              
  for i in $@; do                                                      
    case $i in
      -np)
        shift;                        
        NP="$1"                                                                        shift; 
        ;;
                                                                               
      -dev) 
	shift;                                                       
        DEV="$1"                                                                       shift;                                                         
        ;;

      -machinesfile)                                                                   shift;
        MACHINESFILE="$1"
        shift;
        ;;                                                                     

      -wdir)
        shift;
        WDIR="$1"
        shift;
        ;;                                                                     

      -cp)
        shift;
        CP=$CP:"$1"i
        shift;                                                         
        ;;
	
      -Djava.library.path=*)
	oldIFS=$IFS
	export IFS="="
	line="$1"
	for path in $line; do
          DJAVA_LIBRARY_PATH="$path"
	done    
	IFS=$oldIF
	shift;  
        ;;
       
    esac                                                                         done                                                                                      
  CLASS_NAME=$1
  shift;
  APP_ARGUMENTS=$@

  DJAVA_LIBRARY_PATH=$DJAVA_LIBRARY_PATH:"$MPJ_HOME/lib"

  MPIRUN_ARGS=" -np $NP";
  if [ "$MACHINESFILE" == "" ]; then
    MPIRUN_ARGS="$MPIRUN_ARGS";
  else
    MPIRUN_ARGS="$MPIRUN_ARGS -machinefile $MACHINESFILE";
  fi

  COMMAND_TO_RUN="mpirun $MPIRUN_ARGS java -cp $CP:. -Djava.library.path=$DJAVA_LIBRARY_PATH $CLASS_NAME 0 0 $DEV $APP_ARGUMENTS"
  #run the command
  $COMMAND_TO_RUN	  

fi