No matter what parameters I use to build GROMACS, the regression test CommandLineUnitTests always fails at ParseCommonArgsTest.HandlesCompressedFiles.
Here is the error message:
[ RUN ] ParseCommonArgsTest.HandlesCompressedFiles
/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/src/gromacs/commandline/tests/pargs.cpp:416: Failure
Expected equality of these values:
expectedF
Which is: “/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.pdb.gz/ParseCommonArgsTest_HandlesCompressedFiles.pdb”
opt2fn(“-f”, nfile(), fnm)
Which is: 0x744af8
/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/src/gromacs/commandline/tests/pargs.cpp:417: Failure
Expected equality of these values:
expectedG
Which is: “/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.gro.Z/ParseCommonArgsTest_HandlesCompressedFiles.gro”
opt2fn(“-g”, nfile(), fnm)
Which is: 0x745038
[ FAILED ] ParseCommonArgsTest.HandlesCompressedFiles (7 ms)
I cannot resolve this error. Does anyone have an idea how to solve this problem?
Thank you in advance for your help.
It looks like an issue with our tests, but a bit hard to confirm since it appears to be very compiler/environment dependent.
Could you please try editing the /data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/src/gromacs/commandline/tests/pargs.cpp file, and replacing, in line 415:
First of all, thank you for the quick reply and solution.
Unfortunately, I still get an error message.
[RUN] ParseCommonArgsTest.HandlesCompressedFiles
/data/a/lore***/GROMACS/gromacs-2023.1/gromacs-2023.1/src/gromacs/commandline/tests/pargs.cpp:422: Failure
Expected equality of these values:
expectedF.u8string()
Which is: "/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.pdb.gz/ParseCommonArgsTest_HandlesCompressedFiles.pdb"
opt2fn("-f", nfile(), fnm)
This is: "/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.pdb"
/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/src/gromacs/commandline/tests/pargs.cpp:423: Fails
Expected equality of these values:
expectedG.u8string()
Which is: "/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.gro.Z/ParseCommonArgsTest_HandlesCompressedFiles.gro"
opt2fn("-g", nfile(), fnm)
This is: "/data/a/lore****/GROMACS/gromacs-2023.1/gromacs-2023.1/build_create_andy_gcc9ucx_nopme_hpcx/src/gromacs/commandline/tests/Testing/Temporary/ParseCommonArgsTest_HandlesCompressedFiles.gro"
[ FAILED ] ParseCommonArgsTest.HandlesCompressedFiles (6 ms)
Unfortunately that’s not it yet, does anyone have another idea?