ibm xlc #2

Supports: trusty
Add to new model

Description

IBM XL C/C++ for Linux is an industry standards-based programming tool used
to develop large and complex applications in the C and C++ programming
languages. Optimized for IBM Power Systems, including the latest POWER8
processors, XL C/C++ for Linux supports vector and parallel programming.
This compiler complies with the ISO C99 and ISO C++03 standards.


IBM XL C/C++ for Linux

Overview

IBM XL C/C++ for Linux, V13.1.3 is an advanced, high-performance compiler that can be used for developing complex,
computationally intensive programs, including inter-language calls with C and Fortran programs.

Information on the fully functional IBM XL C/C++ trial version for an evaluation period of 60 days is
available at: Trial Download.

To get more details about the product and useful additional resources, please visit
the Product Page and IBM Knowledge Center.

Note: This charm is specifically designed to run on Power architecture (ppc64le) systems only. It will not run on
AMD (amd64) or Intel (x86_64) based systems. Use uname -m to determine the architecture of your cloud instances.

For more information on Supported OS for IBM XL C/C++ please visit: OS Support.

Usage

The charm is for IBM XL C/C++ for Linux 13.1.3, Evaluation version. The charm will connect to an IBM repository containing
evaluation packages for IBM XL C/C++. It will install the version of XL C/C++ compiler as specified by the user or by default
the charm installs version 13.1.3. This software is governed by 2 license files:

  • IBM International License Agreement for Evaluation of Programs
    • PDF included in this charm at ./files/license-eval.pdf
  • IBM XL C/C++ for Linux V13.1.3, Evaluation License Information
    • PDF included in this charm at ./files/license.pdf

Note: Deploying this charm signifies your acceptance of the terms in the above 2 license files. If you
do not accept these terms, do not deploy this charm
.

Deploy

IBM XLC is a subordinate charm that can be related to a service which requires a C/C++ development environment.
To deploy the IBM XLC charm, follow the below steps:

juju deploy ibm-xlc

Note: By default the evaluation version 13.1.3 will be installed. If user sets an empty version config value, then
also by default charm will install version 13.1.3

At this point, IBM XLC is waiting for a relationship to some other service. It can be any service or some specific service which requires
C/C++ as this charm relates via the juju-info and xlc-compiler interfaces.

To test the deployment of this charm, you can deploy IBM XL C/C++ on the ubuntu unit as shown below:

juju deploy ubuntu
juju add-relation ubuntu ibm-xlc

This charm will deploy the IBM XL C/C++ compiler packages. It will also enable the manual pages and compiler error messages.
Manual pages are provided for the compiler invocation commands and other utilities that are supplied with the compiler.

The charm will also create sample C and C++ programs placed in the ./files/archives path. User can compile and run these sample programs
for testing purpose.

Installing IBM-XLC charm with new trial version of IBM XL C/C++

To install the IBM XL C/C++ charm with a new evaluation version available, run juju set command to set the evaluation version you want as shown below

   juju set ibm-xlc version="13.1.2"

This will uninstall the previous installation of XL C/C++ and install the evaluation version which user has specified.

Configuration

See config.yaml file for more information.

version

IBM XL C/C++ Compiler Version to be installed from repository. By default version 13.1.3 will be set

IBM XL C/C++ Information

(1) General Information

Information on IBM XL C/C++ available at the IBM Knowledge Center.

(2) Download Information

Information on downloading the fully functional trial for an evaluation period of 60 days is available at Trial Download.

(3) Contact Information

For issues with this charm, please contact IBM Juju Support Team jujusupp@us.ibm.com.

(4) Known Limitations

This charm makes use of Juju Status commands, and requires juju 1.24 or greater


Configuration

version
(string) IBM XL C/C++ Compiler Version to be installed from repository
13.1.3