To install JOMP

To install JOMP - is written to MyFile.java. You can then...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
To install JOMP, put jomp1.0b.jar in a suitable directory and add the file jomp1.0b.jar to your CLASSPATH. Compiling using JOMP Use the following command to compile a file using JOMP: java jomp.compiler.Jomp MyFile where MyFile.jomp is your input file. Note, that the input file MUST have the .jomp extension, but that you do not enter this extension on the command line. The output
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: is written to MyFile.java. You can then compile this file using your Java compiler, e.g.: javac MyFile.java Note that the JOMP compiler requires Java 1.2 Platform support. Executing JOMP programs in parallel To execute an application in file MyFile.class in parallel, use the following command: java -Djomp.threads=n MyFile...
View Full Document

Ask a homework question - tutors are online