mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 11:13:46 +02:00
mpijavac: add page (#17583)
Co-authored-by: Machiavelli <145562237+MachiavelliII@users.noreply.github.com> Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
parent
8f89cfb287
commit
da795b26df
1 changed files with 25 additions and 0 deletions
25
pages/common/mpijavac.md
Normal file
25
pages/common/mpijavac.md
Normal file
|
@ -0,0 +1,25 @@
|
|||
# mpijavac
|
||||
|
||||
> Open MPI compiler wrapper for Java.
|
||||
> See also: `mpirun`.
|
||||
> More information: <https://docs.open-mpi.org/en/main/features/java.html#building-java-mpi-applications>.
|
||||
|
||||
- Compile a Java source file:
|
||||
|
||||
`mpijavac {{path/to/source_file.java}}`
|
||||
|
||||
- Pass application-specific classpaths to compiler:
|
||||
|
||||
`mpijavac -cp {{path/to/my/app.jar}} {{path/to/source_file.java}}`
|
||||
|
||||
- Show the flags necessary to build MPI Java applications:
|
||||
|
||||
`mpijavac --showme`
|
||||
|
||||
- Show the flags necessary to compile MPI Java applications:
|
||||
|
||||
`mpijavac --showme:compile`
|
||||
|
||||
- Show full invoked Java compiler command line:
|
||||
|
||||
`mpijavac {{path/to/source_file.java}} --showme`
|
Loading…
Add table
Reference in a new issue