Repast HPC1.0.1 instance running Summary
☞Running repastHPC instances requires two prerequisites:
1. MPI
2. Boost Library
☞Preparation steps before running:
1. Install MPI (Procedure omitted)
2. Install the Boost Library
① Download the boost package ,:
Http://sourceforge.net/projects/boost/files/boost/1.44.0/
② Decompress the compressed package downloaded above and double-click the bootstrap. bat file in it. After this step, a "bjam" tool will be generated, which can be used to compile the boost library.
③ To compile boost, you need to let boost know where our MPI is located. Therefore, you need to modify the following file before compiling.
In the decompressed boost folder, press tools \ build \ v2 \ tools \ mpi. jam to find mpi. jam, and
Localcluster_pack_path_native = "C: \ Program Files \ Microsoft Compute Cluster Pack ";
Replace it with the directory where the currently installed MPI is located, as shown in figure
Localcluster_pack_path_native = "C: \ Program Files \ MPICH2 ";
④ Compile with the bjam tool generated in step 2 and use the following command (this step takes 30-40 minutes ):
Bjam -- with-mpi -- with-serialization -- with-filesystem -- with-system install
After completing this step, the compilation is completed, and the boost file is also copied to C: \ Boost,