1
1
Jeff Squyres 9f21ea437c java: clean up MPI Java configury
The Java configury is split into two parts:

1. Determine if we want MPI Java bindings.
2. Find the Java compiler (and related).

This commit does a few things:

- Move the "Find the Java compiler" step from OPAL to OMPI (because
  there is no Java in OPAL, and there doesn't appear to be any
  immanent danger that there will be).
  - As a direct consequence, remove the --enable-java CLI option
    (--enable-mpi-java still remains).  Enabling the MPI Java bindings
    and enabling Java are now considered the same thing (since there
    is no Java elsewhere in the code base, the different was
    meaningless).
- Only invoke the "Find the Java compiler" step if we actually want
  the MPI Java bindings.
- A few miscellaneous Java-related cleanups in configury (E.g., change
  testing "$foo" == "1" to $foo -eq 1, etc.

This commit is mostly s/opal/ompi/gi in many places in configury and
shifting code around.  But it looks bigger than it actually is because
of two reasons:

1. Some files were renamed:
   * ompi_setup_java.m4 -> ompi_setup_mpi_java.m4 (setup MPI Java bindings)
   * opal_setup_java.m4 -> ompi_setup_java.m4 (setup Java compiler)
2. Indenting level changed in (the new) ompi_setup_java.m4.

Signed-off-by: Jeff Squyres <jsquyres@cisco.com>
2018-05-15 15:15:22 -07:00
..
2018-05-15 15:15:22 -07:00
2018-05-15 15:15:22 -07:00

***************************************************************************

Note about the Open MPI Java bindings

The Java bindings in this directory are not part of the MPI specification,
as noted in the README.JAVA.txt file in the root directory. That file also
contains some information regarding the installation and use of the Java
bindings. Further details can be found in the paper [1].

We originally took the code from the mpiJava project [2] as starting point
for our developments, but we have pretty much rewritten 100% of it. The
original copyrights and license terms of mpiJava are listed below.

 [1] O. Vega-Gisbert, J. E. Roman, and J. M. Squyres. "Design and
     implementation of Java bindings in Open MPI". Parallel Comput.
     59: 1-20 (2016).

 [2] M. Baker et al. "mpiJava: An object-oriented Java interface to
     MPI". In Parallel and Distributed Processing, LNCS vol. 1586,
     pp. 748-762, Springer (1999).

***************************************************************************

            mpiJava - A Java Interface to MPI
            ---------------------------------
                    Copyright 2003

        Bryan Carpenter, Sung Hoon Ko, Sang Boem Lim
        Pervasive Technology Labs, Indiana University
        email {shko,slim,dbc}@grids.ucs.indiana.edu

                       Xinying Li
                   Syracuse University

                       Mark Baker
             CSM, University of Portsmouth
             email mark.baker@computer.org

      (Bugfixes/Additions, CMake based configure/build)
                      Blasius Czink
               HLRS, University of Stuttgart

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.