> This is not a bug, but a weakness of the present build system.
>
> The " make check" command has to be launched from the tob builddir directory instaed that from test.
> this will be corrected in the forthcoming release.
I have the same problem running from the top build directory:
cryptoperthite 64-bit gmake check
Making check in flib
gmake[1]: Entering directory '/home/rmason/Software/BigDFT/64-bit/flib'
Making check in src
gmake[2]: Entering directory '/home/rmason/Software/BigDFT/64-bit/flib/src'
test -e "../../includes" || /usr/bin/install -c -d -m 755 ../../includes
for mod in "yaml_strings.mod dictionaries.mod dictionaries_base.mod f_enums.mod f_precisions.mod yaml_output.mod yaml_parse.mod metadata_interfaces.mod module_f_malloc.mod dynamic_memory.mod randomdata.mod memory_profiling.mod f_utils.mod f_input_file.mod f_refcnts.mod f_trees.mod exception_callbacks.mod time_profiling.mod" ; do \
/usr/bin/install -c -m 644 $mod ../../includes ; \
done
gmake[2]: Leaving directory '/home/rmason/Software/BigDFT/64-bit/flib/src'
Making check in tests
gmake[2]: Entering directory '/home/rmason/Software/BigDFT/64-bit/flib/tests'
gmake yaml_test
gmake[3]: Entering directory '/home/rmason/Software/BigDFT/64-bit/flib/tests'
gmake[3]: 'yaml_test' is up to date.
gmake[3]: Leaving directory '/home/rmason/Software/BigDFT/64-bit/flib/tests'
export PYTHONPATH=/opt/lib/root:/opt/lib/root: ; \
export LD_LIBRARY_PATH=:/opt/local/lib:/opt/lib/root:/opt/lib:/opt/local/lib:/opt/lib/root:/opt/lib ; \
python ../../../bigdft-1.7.7/tests/fldiff_yaml.py --label yaml_test -t ../../../bigdft-1.7.7/tests/tols-BigDFT.yaml \
-r /home/rmason/Software/BigDFT/64-bit/../bigdft-1.7.7/flib/tests/yaml_test.ref.yaml -d yaml_test.out.yaml --output yaml_test.report.yaml
Traceback (most recent call last):
File "../../../bigdft-1.7.7/tests/fldiff_yaml.py", line 356, in <module>
open(args.ref, "r").read(), Loader=yaml.CLoader)]
AttributeError: 'module' object has no attribute 'CLoader'
Makefile:628: recipe for target 'yaml_test.report.yaml' failed
gmake[2]: *** [yaml_test.report.yaml] Error 1
gmake[2]: Leaving directory '/home/rmason/Software/BigDFT/64-bit/flib/tests'
Makefile:397: recipe for target 'check-recursive' failed
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory '/home/rmason/Software/BigDFT/64-bit/flib'
Makefile:532: recipe for target 'check-recursive' failed
gmake: *** [check-recursive] Error 1
Hello,
Luigi Genovese <email address hidden> writes:
> This is not a bug, but a weakness of the present build system.
>
> The " make check" command has to be launched from the tob builddir directory instaed that from test.
> this will be corrected in the forthcoming release.
I have the same problem running from the top build directory:
cryptoperthite 64-bit gmake check rmason/ Software/ BigDFT/ 64-bit/ flib' rmason/ Software/ BigDFT/ 64-bit/ flib/src' base.mod f_enums.mod f_precisions.mod yaml_output.mod yaml_parse.mod metadata_ interfaces. mod module_f_malloc.mod dynamic_memory.mod randomdata.mod memory_ profiling. mod f_utils.mod f_input_file.mod f_refcnts.mod f_trees.mod exception_ callbacks. mod time_profiling.mod" ; do \ rmason/ Software/ BigDFT/ 64-bit/ flib/src' rmason/ Software/ BigDFT/ 64-bit/ flib/tests' rmason/ Software/ BigDFT/ 64-bit/ flib/tests' rmason/ Software/ BigDFT/ 64-bit/ flib/tests' /opt/lib/ root:/opt/ lib/root: ; \ PATH=:/ opt/local/ lib:/opt/ lib/root: /opt/lib: /opt/local/ lib:/opt/ lib/root: /opt/lib ; \ ./bigdft- 1.7.7/tests/ fldiff_ yaml.py --label yaml_test -t ../../. ./bigdft- 1.7.7/tests/ tols-BigDFT. yaml \ Software/ BigDFT/ 64-bit/ ../bigdft- 1.7.7/flib/ tests/yaml_ test.ref. yaml -d yaml_test.out.yaml --output yaml_test. report. yaml ../bigdft- 1.7.7/tests/ fldiff_ yaml.py" , line 356, in <module> yaml.CLoader) ] report. yaml' failed report. yaml] Error 1 rmason/ Software/ BigDFT/ 64-bit/ flib/tests' rmason/ Software/ BigDFT/ 64-bit/ flib'
Making check in flib
gmake[1]: Entering directory '/home/
Making check in src
gmake[2]: Entering directory '/home/
test -e "../../includes" || /usr/bin/install -c -d -m 755 ../../includes
for mod in "yaml_strings.mod dictionaries.mod dictionaries_
/usr/bin/install -c -m 644 $mod ../../includes ; \
done
gmake[2]: Leaving directory '/home/
Making check in tests
gmake[2]: Entering directory '/home/
gmake yaml_test
gmake[3]: Entering directory '/home/
gmake[3]: 'yaml_test' is up to date.
gmake[3]: Leaving directory '/home/
export PYTHONPATH=
export LD_LIBRARY_
python ../../.
-r /home/rmason/
Traceback (most recent call last):
File "../../
open(args.ref, "r").read(), Loader=
AttributeError: 'module' object has no attribute 'CLoader'
Makefile:628: recipe for target 'yaml_test.
gmake[2]: *** [yaml_test.
gmake[2]: Leaving directory '/home/
Makefile:397: recipe for target 'check-recursive' failed
gmake[1]: *** [check-recursive] Error 1
gmake[1]: Leaving directory '/home/
Makefile:532: recipe for target 'check-recursive' failed
gmake: *** [check-recursive] Error 1
Cheers,
Roger