Skip to content

[package list]

GMP

License information

Since version 6, GMP is distributed under the dual licenses, GNU Lesser General Public License(LGPL) version 3 and GNU General Public License (GPL) version 2. These licenses make the library free to use, share, and improve, and allow you to pass on the result. The GNU licenses give freedoms, but also set firm restrictions on the use with non-free programs.

From LUMI/23.12 on, the license information can also be found in $EBROOTGMP/share/licenses/GMP after loading the module.

Pre-installed modules (and EasyConfigs)

To access module help and find out for which stacks and partitions the module is installed, use module spider GMP/<version>.

EasyConfig:

Technical documentation

EasyBuild support

There is a difference in settings:

  • The CSCS version does not enable the C++ interfaces

  • Different toolchain options:

    • CSCS: toolchainopts = {'lowopt': True}, and further down the EasyConfig file -mcmodel=large is added to the C compiler flags.

    • EasyBuilders: toolchainopts = {'precise': True, 'pic': True}

    One of the differences is that with the CSCS EasyConfig -O1 is used while with the EasyBuilders EasyConfig -O2 --ftree-vectorize is used. As the manual suggests to use -O2 with gcc when compiling GMP, we followed the EasyBuilders settings. However, we do keep the the -mcmodel=large flag as it was likely added from experiences that are still valid.

Differences between toolchains

  • cpeAMD generates an unused option warning when -mcmodel=large is used so it is omitted from the options in the cpeAMD version.

Version 6.2.1 from CPE 21.06 on

  • The EasyConfig file is a mix of the CSCS one and one at use in the University of Antwerpen with more built-in checks, and some further sanity checks were added.

  • Check in the log files for the results of the test suite: Grep for "Testsuite", and there are multiple such tables.

  • We still have problems with cpeAMD.

  • For LUMI/23.12, license information was added to the installation.

Version 6.3.0 from LUMI/24.03 on

  • Straightforward port of the 6.2.1 EasyConfig for LUMI/23.12.

Archived EasyConfigs

The EasyConfigs below are additonal easyconfigs that are not directly available on the system for installation. Users are advised to use the newer ones and these archived ones are unsupported. They are still provided as a source of information should you need this, e.g., to understand the configuration that was used for earlier work on the system.