NERSCPowering Scientific Discovery Since 1974

Intel uses very old version of libstdc++ by default

January 15, 2014 by Mike Stewart, NERSC USG (0 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

No one has commented on this page yet.

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