Download Parallel Object Programming in C++ User and Installation Manual
Transcript
Installation Instructions 37 POP-C++ is available for Linux and MacOS. Download the version corresponding to the OS which run on the computer you want to install POP-C++. POP-C++ is currently not available for Windows. 5.3 Installation This section describe how to install POP-C++ without any special option. It's also possible to customize the installation. Customized installation is explained in more detail in the document: Advanced POP-C++ User Manual. 5.3.1 Preparing compilation After downloading the tar file, you must decompress it : tar -C <source dir> -zxf popcpp_<version.subversion>.tar.gz Note : You must check that you have R/W access to the <source dir> Then go to <source dir> cd <source dir> If you want have a POP-C++ with all default options, you can now configure the compilation files by entering the following command on a Linux operating system: ./configure and the following command on a MacOS operating system (only for POP-C++ version older that 2.5) ./configure CPPFLAGS=-DARCH_MAC Default options are : • <install dir> = /usr/local/popc (assuming you did note defined another directory in POPC_LOCATION ! ) Remember that you must have write access to this directory. If you want to install POP-C++ in another directory use use the parameter --prefix=<install dir>. ./configure --prefix=<install dir> or, if the variable POPC_LOCATION has been defined : ./configure --prefix=$POPC_LOCATION Several other parameters are available with the configure command but they are usually only useful for complex POP-C++ installation. More details about the available options can be found by typing the command : ./configure --help 5.3.2 Compiling POP-C++ tools When configured, you can compile POP-C++ tool by entering the command :