I installed abinit 8.10.3 by following commands:
Code: Select all
./configure --enable-netcdf --prefix=/xx/xx
make
make install
I have already put the PATH and LD_LIBRARY_PATH of the netcdf package in my bashrc file. So I guess this could work.
But when I ran the tests: ./runtests.py -j4, it reported that the test [v8][t57] was failed with following error message:
Code: Select all
[v8][t57][np=1]: fldiff.pl fatal error:
The diff analysis cannot be done: the number of lines to be analysed differ.
File /work/home/nsccsz10_zhouzz/abinit-8.10.3/tests/v8/Refs/t57.out: 1826 lines, 165
ignoredFile /work/home/nsccsz10_zhouzz/abinit-8.10.3/tests/Test_suite/v8_t57/t57.out: 1825 l
ines, 165 ignored [file=t57.out][v8][t57][np=1]Test was not expected to fail but subprocesses returned 1
--- !ERROR
src_file: m_eph_driver.F90
src_line: 639
mpi_rank: 0
message: |
netcdf support not enabled
...
YAML Error found in the stdout of [v8][t57][np=1]
--- !ERROR
src_file: m_eph_driver.F90
src_line: 639
mpi_rank: 0
message: |
netcdf support not enabled
...
I also tried to write the netcdf's include and lib path during the configure step, but it still does not work.
Code: Select all
./configure --enable-netcdf --with-netcdf-includes="-I/work/soft/mathlib/netcdf/4.4.0/gcc-8.1.0/include" --with-netcdf-libs="-L/work/soft/mathlib/netcdf/4.4.0/gcc-8.1.0/lib" --prefix=/work/home/nsccsz10_zhouzz/abinit-8.10.3/install
I have no idea why "netcdf support not enabled". Thanks for your any comment.
Wish you have a nice day.
Best regards,
Ziye