This document provides implementation-specific information relating to the installation of dco/c++ base.
This implementation is considered suitable for operation on the computer systems detailed below:
hardware: Intel 64-bit systems and compatible operating system: Linux 64-bit editions C++ compiler: Any GNU >= 7.5 compatible compiler with GLIBC version >= 2.17
Please check the following URL:
https://www.nag.com/doc/inun/db04/l6ixnl/supplementary.html
for details of any new information related to the applicability or usage of this implementation. Details of any other systems on which it has been tested may also be found on this page.
   |- bin -|- (licence management tools)    |    |- case_studies -|- (more sophisticated examples from the    | | user guide, along with the corresponding CMakeLists.txt)    |    |- cmake -|- (auxiliary files required for building and testing with CMake)    |    |- doc -|- in.html (Installer's Note - this document)    | |- userguide.pdf (User Guide as pdf)    | |- nag_tsandcs.txt (terms and conditions)    | |- licence -|- * (licence management documentation) dbl6i04xnl_v440 -|    |    |- examples -|- (directories containing various example programs    | | from the user guide, along with the CMakeLists.txt)    |    |- include -|- *.hpp (C++ header files)    |    |- lib -|- libdcoc.a (static library file)    |    |- CMakeLists.txt -|- (used for building and testing)
Assuming you have downloaded the dco/c++ installer from our website, extract the installation materials using the following command:
tar xvzf dbl6i04xnl_v440.tgz
This will extract the files in.html, install.sh, dbl6i04xnl_v440.tar.gz and nag_tsandcs.txt.
You can then install the materials from the download directory by executing the shell script install.sh in a command window as:
./install.sh
By default, the dco/c++ materials are installed in
${HOME}/NAG/dbl6i04xnl_v440or the equivalent for your locale.
In order to enable the software, NAG will issue you with a licence key. The licence key is contained in a text file consisting of details of the software that will be enabled. For evaluation purposes a trial licence may be used. Before obtaining a full licence you need to know the Kusari hostid of the system on which you intend to use this product. How to do this is described below.
<PRODUCT_CODE> TRIAL <EXPIRY_DATE> "EMnxidA3oeoj0F1Yvi5ibxPjB7"
$HOME/nag.keyor
/opt/NAG/nag.keyor
/usr/local/NAG/nag.key
dbl6i04xnl_v440/licence.lic
setenv NAG_KUSARI_FILE dbl6i04xnl_v440/licence.licor in the Bourne shell, type:
NAG_KUSARI_FILE=dbl6i04xnl_v440/licence.lic export NAG_KUSARI_FILE
More sophisticated examples (case studies) are located in folders
cmake -S "<path-to-source>" -G "< A Makefiles Generator >"to generate the build system with the Makefiles generator of your choice. Then execute the corresponding build command to build all the available examples and case studies.
For example, on Linux, you can use make
and build using the following commands:
cmake -S ${HOME}/NAG/dbl6i04xnl_v440 make
ctestNote that there may be small differences between observed and reference results, depending on the environment.
ga1s
example, use the following:
make examples.ga1s ./examples/examples.ga1s