[petsc-users] problems after glibc upgrade to 2.17-157

Satish Balay balay at mcs.anl.gov
Wed Jan 4 11:57:27 CST 2017


On Wed, 4 Jan 2017, Satish Balay wrote:

> BTW - You have:
> 
> Machine platform:
> ('Linux', 'marclus4login3', '3.10.0-327.36.3.el7.x86_64', '#1 SMP Mon Oct 24 09:16:18 CDT 2016', 'x86_64', 'x86_64')
> 
> 
> So glibc is updated - but not kernel - so its a partial update? [or
> machine not rebooted after a major upgrade (7.2 -> 7.3) ?]
> 
> I wonder if thats the cause of problems..
> 
> On a CentOS7 box [not exactly SL - but] the following build with
> "icc (ICC) 16.0.3 20160415" goes through fine
> [I don't have IMPI here - so used --download-mpich]
> 
> >>>
> [centos at el7 ~]$ uname -a
> Linux el7.novalocal 3.10.0-514.2.2.el7.x86_64 #1 SMP Tue Dec 6 23:06:41 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
> [centos at el7 ~]$ rpm -q glibc
> glibc-2.17-157.el7_3.1.x86_64
> [balay at el7 petsc]$ ./configure --download-mpich --with-x=0 --with-mpe=0 --with-debugging=0 --download-superlu_dist --with-blas-lapack-dir=/soft/com/packages/intel/16/u3/mkl --download-parmetis --download-metis
> 
> <<<

Ops - I made a mistake here - didn't specify compilers. I can reproduce this issue on CentOS

>>>>>>>>
[balay at el7 benchmarks]$ icc sizeof.c 
[balay at el7 benchmarks]$ ./a.out 
long double : 16
double      : 8
int         : 4
char        : 1
short       : 2
long        : 8
long long   : 8
int *       : 8
size_t      : 8
[balay at el7 benchmarks]$ icc sizeof.c -lifcore
[balay at el7 benchmarks]$ ./a.out 
Segmentation fault
[balay at el7 benchmarks]$ icc sizeof.c -Bstatic -lifcore -Bdynamic
[balay at el7 benchmarks]$ ./a.out 
long double : 16
double      : 8
int         : 4
char        : 1
short       : 2
long        : 8
long long   : 8
int *       : 8
size_t      : 8
[balay at el7 benchmarks]$ 
<<<<<<

So I guess your best bet is static libraries..


Satish


More information about the petsc-users mailing list