Page 1 of 1

Failing make check

Posted: Tue Aug 06, 2019 9:16 pm
by wcardoen
Hello,

I compiled abinit 8.10.3 successfully using the following command:
../../../srcdir/abinit/8.10.3/configure --prefix=/uufs/chpc.utah.edu/sys/installdir/abinit/8.10.3 \
--enable-gpu --enable-mpi \
--enable-openmp --enable-stdin --enable-xml CPP="gcc -E" CXXCPP="g++ -E" \
--with-gpu-prefix=/uufs/chpc.utah.edu/sys/installdir/cuda/10.1.168 --with-linalg-flavor="netlib+magma" \
--with-fft-flavor=fftw3-mkl --with-fft-libs="-lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core "
make - j 24
make install

When I invoke make check I get the following type of error:
make check-local
make[3]: Entering directory `/uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests'
[ -f "runtests.py" ] && ./runtests.py fast -o1 --no-colors --no-logo || ../../../../srcdir/abinit/8.10.3/tests/runtests.py fast -o1 --no-colors --no-logo --with-pickle=0
Running on notch004 -- system Linux -- ncpus 64 -- Python 2.7.5 -- runtests.py-0.6.0
Regenerating database...
Test_suite directory already exists. Files will be removed
Running 26 test(s) with MPI_nprocs=1, OMP_nthreads=1, py_nthreads=1...
[TIP] runtests.py is using 1 CPUs but your architecture has 64 CPUs
You may want to use python threads to speed up the execution
Use `runtests -jNUM` to run with NUM threads
Command /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/src/98_main/abinit < /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t00/t00.stdin > /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t00/t00.stdout 2> /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t00/t00.stderr
returned exit_code: 24

[fast][t00][np=1]: fldiff.pl fatal error:
Unable to open input file /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t00/t00.out [file=t00.out]
[fast][t00][np=1]Test was not expected to fail but subprocesses returned 24
forrtl: severe (24): end-of-file during read, unit 5, file /proc/247195/fd/0
Image PC Routine Line Source
abinit 0000000008BB30F6 Unknown Unknown Unknown
abinit 0000000008BE0B00 Unknown Unknown Unknown
abinit 00000000062BD1C7 Unknown Unknown Unknown
abinit 000000000040F915 Unknown Unknown Unknown
abinit 000000000040F492 Unknown Unknown Unknown
libc-2.17.so 00002AD64B00E3D5 __libc_start_main Unknown Unknown
abinit 000000000040F399 Unknown Unknown Unknown

No YAML Error found in [fast][t00][np=1]
Command /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/src/98_main/abinit < /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t01/t01.stdin > /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t01/t01.stdout 2> /uufs/chpc.utah.edu/sys/builddir/abinit/8.10.3/tests/Test_suite/fast_t01/t01.stderr
returned exit_code: 24

From the error message I infer that the code crashes because It can't read a file.
Any suggestions?

Thanks,

Wim

Re: Failing make check

Posted: Fri Aug 09, 2019 11:39 am
by ebousquet
Dear Wim,
And if you go in the test folder and run the python script yourself, does it works (./runtests.py ; please look at the different options by typing ./runtests.py -h)
Best wishes,
Eric