Skip to content

Conversation

@hppritcha
Copy link
Member

Adding support for java in the prrte ompi schizo requires that
the component know where the OMPI libs (libmpi_java.so) are installed.

Signed-off-by: Howard Pritchard [email protected]

Adding support for java in the prrte ompi schizo requires that
the component know where the OMPI libs (libmpi_java.so) are installed.

Signed-off-by: Howard Pritchard <[email protected]>
hppritcha added a commit to hppritcha/prrte that referenced this pull request Aug 23, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
hppritcha added a commit to hppritcha/prrte that referenced this pull request Aug 23, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
hppritcha added a commit to hppritcha/prrte that referenced this pull request Aug 23, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
hppritcha added a commit to hppritcha/prrte that referenced this pull request Aug 23, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
@hppritcha hppritcha merged commit 8fbfe4c into open-mpi:main Aug 23, 2022
rhc54 pushed a commit to openpmix/prrte that referenced this pull request Aug 23, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
rhc54 pushed a commit to rhc54/prrte that referenced this pull request Aug 24, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
(cherry picked from commit 75511d4)
rhc54 pushed a commit to openpmix/prrte that referenced this pull request Aug 24, 2022
Put into prte a convenience feature for java open mpi apps that was present with orte.

Without this support, java users need to know about the name of the
jar file for ompi java classes and the support library used by
these classes.

Namely this PR avoids users having to do something like this on the java command line:

mpirun -np 4 java -classpath /home/me/ompi-er/install_main_java/lib/mpi.jar:. -Djava.library.path=/home/me/ompi-er/install_main_java/lib Hello

Related to open-mpi/ompi#10701

Signed-off-by: Howard Pritchard <[email protected]>
(cherry picked from commit 75511d4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants