Discussion:
[OMPI users] error building Java api for openmpi-v4.0.x-201810090241-2124192 and openmpi-master-201810090329-e9e4d2a
Siegmar Gross
2018-10-09 07:07:29 UTC
Permalink
Hi,

today I've tried to build openmpi-v4.0.x-201810090241-2124192 and
openmpi-master-201810090329-e9e4d2a on my "SUSE Linux Enterprise Server
12.3 (x86_64)" with Sun C 5.15, gcc 6.4.0, Intel icc 18.0.3, and Portland
Group pgcc 18.4-0. Unfortunately, I get the following error for all seven
versions (Sun C still cannot built master due to undefined references as
I mentioned some days ago).

loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 129 tail -20
log.make.Linux.x86_64.64_gcc
Making all in java
make[3]: Entering directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
JAVAC MPI.class
JAVADOC doc
Creating destination directory: "doc/"
../../../../../openmpi-v4.0.x-201810090241-2124192/ompi/mpi/java/java/Comm.java:656:
error: tag not supported in the generated HTML version: tt
* <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
^
1 error
Makefile:2224: recipe for target 'doc' failed
make[3]: *** [doc] Error 1
make[3]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
Makefile:1743: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java'
Makefile:3521: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi'
Makefile:1896: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 130


I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.


Kind regards

Siegmar
Kawashima, Takahiro
2018-10-09 07:24:59 UTC
Permalink
What version of Java are you using?
Could you type "java -version" and show the output?

Takahiro Kawashima,
Fujitsu
Post by Siegmar Gross
today I've tried to build openmpi-v4.0.x-201810090241-2124192 and
openmpi-master-201810090329-e9e4d2a on my "SUSE Linux Enterprise Server
12.3 (x86_64)" with Sun C 5.15, gcc 6.4.0, Intel icc 18.0.3, and Portland
Group pgcc 18.4-0. Unfortunately, I get the following error for all seven
versions (Sun C still cannot built master due to undefined references as
I mentioned some days ago).
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 129 tail -20
log.make.Linux.x86_64.64_gcc
Making all in java
make[3]: Entering directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
JAVAC MPI.class
JAVADOC doc
Creating destination directory: "doc/"
error: tag not supported in the generated HTML version: tt
* <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
^
1 error
Makefile:2224: recipe for target 'doc' failed
make[3]: *** [doc] Error 1
make[3]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
Makefile:1743: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java'
Makefile:3521: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi'
Makefile:1896: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 130
I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.
Kawashima, Takahiro
2018-10-09 08:01:25 UTC
Permalink
Siegmar,

I think you are using Java 11 and it changed the default output HTML version.
I'll take a look. But downloading OpenJDK 11 takes time...
Probably the following patch will resolve the issue.

----------------------------------------------------------------
diff --git ompi/mpi/java/java/Comm.java ompi/mpi/java/java/Comm.java
index 7d11db6601..f51c28c798 100644
--- a/ompi/mpi/java/java/Comm.java
+++ b/ompi/mpi/java/java/Comm.java
@@ -653,7 +653,7 @@ public class Comm implements Freeable, Cloneable

/**
* Start a buffered mode, nonblocking send.
- * <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
+ * <p>Java binding of the MPI operation {@code MPI_IBSEND}.
* @param buf send buffer
* @param count number of items to send
* @param type datatype of each item in send buffer
----------------------------------------------------------------

Takahiro Kawashima,
MPI development team,
Fujitsu
Post by Kawashima, Takahiro
What version of Java are you using?
Could you type "java -version" and show the output?
Takahiro Kawashima,
Fujitsu
Post by Siegmar Gross
today I've tried to build openmpi-v4.0.x-201810090241-2124192 and
openmpi-master-201810090329-e9e4d2a on my "SUSE Linux Enterprise Server
12.3 (x86_64)" with Sun C 5.15, gcc 6.4.0, Intel icc 18.0.3, and Portland
Group pgcc 18.4-0. Unfortunately, I get the following error for all seven
versions (Sun C still cannot built master due to undefined references as
I mentioned some days ago).
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 129 tail -20
log.make.Linux.x86_64.64_gcc
Making all in java
make[3]: Entering directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
JAVAC MPI.class
JAVADOC doc
Creating destination directory: "doc/"
error: tag not supported in the generated HTML version: tt
* <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
^
1 error
Makefile:2224: recipe for target 'doc' failed
make[3]: *** [doc] Error 1
make[3]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
Makefile:1743: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java'
Makefile:3521: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi'
Makefile:1896: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 130
I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.
Kawashima, Takahiro
2018-10-09 09:15:55 UTC
Permalink
I confirmed the patch resolved the issue with OpenJDK 11.
I've created a PR for the master branch.
I'll also create PRs for release branches.
Thanks to your bug report!

https://github.com/open-mpi/ompi/pull/5870

Takahiro Kawashima,
Fujitsu
Post by Kawashima, Takahiro
Siegmar,
I think you are using Java 11 and it changed the default output HTML version.
I'll take a look. But downloading OpenJDK 11 takes time...
Probably the following patch will resolve the issue.
----------------------------------------------------------------
diff --git ompi/mpi/java/java/Comm.java ompi/mpi/java/java/Comm.java
index 7d11db6601..f51c28c798 100644
--- a/ompi/mpi/java/java/Comm.java
+++ b/ompi/mpi/java/java/Comm.java
@@ -653,7 +653,7 @@ public class Comm implements Freeable, Cloneable
/**
* Start a buffered mode, nonblocking send.
- * <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
----------------------------------------------------------------
Takahiro Kawashima,
MPI development team,
Fujitsu
Post by Kawashima, Takahiro
What version of Java are you using?
Could you type "java -version" and show the output?
Takahiro Kawashima,
Fujitsu
Post by Siegmar Gross
today I've tried to build openmpi-v4.0.x-201810090241-2124192 and
openmpi-master-201810090329-e9e4d2a on my "SUSE Linux Enterprise Server
12.3 (x86_64)" with Sun C 5.15, gcc 6.4.0, Intel icc 18.0.3, and Portland
Group pgcc 18.4-0. Unfortunately, I get the following error for all seven
versions (Sun C still cannot built master due to undefined references as
I mentioned some days ago).
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 129 tail -20
log.make.Linux.x86_64.64_gcc
Making all in java
make[3]: Entering directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
JAVAC MPI.class
JAVADOC doc
Creating destination directory: "doc/"
error: tag not supported in the generated HTML version: tt
* <p>Java binding of the MPI operation <tt>MPI_IBSEND</tt>.
^
1 error
Makefile:2224: recipe for target 'doc' failed
make[3]: *** [doc] Error 1
make[3]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java/java'
Makefile:1743: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi/mpi/java'
Makefile:3521: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
'/export2/src/openmpi-4.0.0/openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc/ompi'
Makefile:1896: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
loki openmpi-v4.0.x-201810090241-2124192-Linux.x86_64.64_gcc 130
I would be grateful, if somebody can fix the problem. Do you need anything
else? Thank you very much for any help in advance.
Loading...