Grid icon indicating copy to clipboard operation
Grid copied to clipboard

Problem making tests

Open joelgiedt opened this issue 4 years ago • 2 comments

I downloaded Grid using git clone https://github.com/paboyle/Grid

My configure script is run with ../configure CXX=mpiicpc CC=mpiicc --enable-precision=double --enable-simd=AVX --enable-comms=mpi-auto

The compiler is [giedt@login005 build]$ mpiicpc --version icpc (ICC) 19.0.5.281 20190815 Copyright (C) 1985-2019 Intel Corporation. All rights reserved.

The platform is [giedt@login005 Grid]$ cat /proc/cpuinfo | grep 'model name' | uniq model name : Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz

The system is Bridges at PSC.

The library libGrid.a builds fine, as well as the default tests that are built with just running "make". But when I run "make tests" I run into problems. There is a problem with the compiler figuring out the peekLocalSite template classes in the Test_checker.cc compilation. The output is in make.tests.log below. Other useful files are also attached. I'm not sure if I just need to provide the compiler with some option to work around this issue.

make.tests.log make.V=1.log config.log grid.configure.summary.txt

joelgiedt avatar Jul 02 '20 14:07 joelgiedt

I am suspicious of the

icpc version 19.0.5.281 (gcc version 4.8.5 compatibility)

that I see in your config.log. I obtain different build & test behavior (on a different system) by loading a more recent gcc for the Intel compilers to play with:

$ mpiicpc -v | grep -v Copyright mpiicpc for the Intel(R) MPI Library 2019 Update 3 for Linux* icpc version 19.0.3.192 (gcc version 4.8.5 compatibility) $ module load gcc/8 $ mpiicpc -v | grep -v Copyright mpiicpc for the Intel(R) MPI Library 2019 Update 3 for Linux* icpc version 19.0.3.192 (gcc version 8.4.0 compatibility)

I've never worked on Bridges, so I'm not sure how their system to arrange this is set up.

daschaich avatar Jul 29 '20 09:07 daschaich

Certainly recommend a more recent gcc underneath. Continuous integration build logs are available (pick guest) at

paboyle avatar Mar 04 '21 21:03 paboyle