General Usage ============= DynPkgs builds and installs all DynRes software in the ``software/build`` and ``software/install`` directories respectively. ******************** DynPkgs Environments ******************** Environments are used for consistent management of DynPkgs Packages. It is the recommended way to work with the DynRes software stack. The list of available environments can be found :ref:`here `. Additionally custom environments can be defined. 1. Installing Environments: --------------------------- An environent can be installed with the following command: .. code-block:: console user@host:~# dynpkgs env_install [environent] To reinstall (i.e., recompile) all packages of the environent the following command can be used. .. code-block:: console user@host:~# dynpkgs env_reinstall [environent] 2. Deploying Environments ------------------------- An environent can be installed with the following command: .. code-block:: console user@host:~# dynpkgs env_deploy [--nodes=NUM_NODES] [environent] .. code-block:: console (environment) user@host:~# ... .. code-block:: console (environment) user@host:~# exit .. code-block:: console user@host:~# The --nodes option can be used to specify the number of nodes to deploy the environment on. **************** DynPkgs Packages **************** A DynPkgs package define the installation and environment setting of a single software package. While DynPkgs Environments are the preferred way to manage DynPkgs packages, sometimes the development process requires individual management of packages. The list of available packages can be found :ref:`here `. Additionally, custom packages can be defined. 1. Installing Packages ---------------------- Install a package: .. code-block:: console user@host:~# dynpkgs pkg_install [package] Reinstall a package: .. code-block:: console user@host:~# dynpkgs pkg_reinstall [package] 1. (Un)Loading Packages ----------------------- Load a package (i.e. set required environment variables): .. code-block:: console user@host:~# dynpkgs pkg_load [package] Unload a package (i.e. unset required environment variables): .. code-block:: console user@host:~# dynpkgs pkg_unload [package]