Quickly build a Java parallel development environment in Winindows 7 MPJ Express and the various issues that may be encountered in the analysis (PART1)
MPJ Express is a thread-safe Java version of the parallel messaging library that provides a complete implementation of the Mpijava 1.2 API specification. MPJ Express implements two communication devices in the MPJ library, the first of which is called Niodev, based on the Java NIO package. The second kind is called Mxdev, based on the Myrinet Express Library.
Based on this message store, users can use Java as a programming language to develop parallel programs. Especially with the popularity of high-performance platforms, MPJ Express is bound to be more important and widely used in the face of big data mining or processing tasks, or parallel computing or programming tasks. Of course, since MPJ Express is still not very stable, the latest version is the versions 0.43 (updated on July 18. 2014), so the use will still encounter such or such problems, this article will lead you to build a parallel development environment based on MPJ Express, and for some of the problems may occur in a detailed analysis.
System Basic requirements: 1) JAVA (including JRE and JDK) for Windows 7;2), 3) Eclipse
First, download the MPJ Express Compression pack. URL http://mpj-express.org/download.php
Click the section in the Red box to enter the download page as shown in.
Similarly, select the section in the Red box to start the download, unzip and wait after the download, such as.
Next, set the environment variables. Right-click My Computer (or computer) on the desktop, select Properties from the context menu, go to the interface shown, and select Advanced system settings (the section in the Red box) to enter the System Properties dialog box, select the Advanced tab, and then select environment variable (the section in the red box).
The next steps are very important, and many of the subsequent issues are related to this step. Suppose we save the extracted file under the path "D:\mpj-v0_43", then in the Environment Variables dialog box, create a new system variable mpj_home, the variable value is D:\mpj-v0_43.
Then increase the path search route, select path in the system variable, click the "Edit" button, append to the Variable Value section (as shown)
%mpj_home%\bin;
Then we test whether the environment configuration is successful. Select Run from the Start menu, enter CMD in the Run dialog that pops up, and click OK, as shown in.
Enter Mpjrun at the console prompt, and if all is normal, get the result as shown below.
Continue testing, enter a command similar to the following to get the result as shown, then everything is OK.
If an exception is thrown in the operation, ignore it. However, if there are other conditions, then jump directly to (this series of) PART3 section, the author in the PART3 part of some of the common problems to deal with the method.
not finished, to be continued ...
WIN7 Building Java Parallel development environment MPJ Express (PART1)