NERSCPowering Scientific Discovery Since 1974

Intel uses very old version of libstdc++ by default

January 15, 2014 by Mike Stewart, NERSC USG (3 Comments)

Status:   Reported to Cray as bug 84319.

When PrgEnv-intel is loaded, the Intel compiler gets libstdc++ based on the default versions on the login node which are typically quite old.

This test case illustrates the problem on Edison:

> cat TestLibVersion.C
#include <iostream>
int main()
{
std::cout<<"libstdc++ version is "<< __GLIBCXX__ << std::endl;
}

> CC -o libver -std=c++11 libver.C
> ./libver

libstdc++ version is 20091019


Post your comment

You cannot post comments until you have logged in. Login Here.

Comments

  • Hi Mike, is there an update/workaround on this? This seems to be an issue also on computational nodes. Thank you, Matus

    Posted by Matus Martini, 26/02/2014 4:01pm (6 months ago)

  • Hi,

    Is there a recommended solution for this ?

    My mpich2 compiled with Intel ( I did do "module swap PrgEnv-pgi PrgEnv-intel") has got errors (when I "aprun" on it) :

    error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


    Kin

    Posted by Kin Yip, 31/01/2014 11:30am (7 months ago)

  • Hi,

    Is there a recommended solution for this ?

    My mpich2 compiled with Intel ( I did do "module swap PrgEnv-pgi PrgEnv-intel") has got errors (when I "aprun" on it) :

    error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory


    Kin

    Posted by Kin Yip, 31/01/2014 11:28am (7 months ago)

RSS feed for comments on this page | RSS feed for all comments