<< Previous question   Table of contents   MOSIX home   Next question >>
Question:
How to run JAVA programs
Answer:
JAVA supports (shared-memory) threads (the "CLONE_VM" system-call),
which is not suitable for distributed-memory architectures (clusters).
This means that JAVA jobs can be queued and assigned by MOSIX to nodes
only as regular Linux processes (with the "mosrun -E" flag).
A JAVA job should be started by:
> mosrun -E -b java job
MOSIX will assign each job to the best node in the local cluster.