quantum-espresso/UtilXlib/tests
Paolo Giannozzi 6834a502ef [Skip-CI] Obsolete version 'svn' replaced by 'git'; various .PHONY of questionable
usefulness, referring to no longer existing procedure devised for svn, removed
2019-03-01 17:42:56 +01:00
..
Makefile [Skip-CI] Obsolete version 'svn' replaced by 'git'; various .PHONY of questionable 2019-03-01 17:42:56 +01:00
README.md Updated README 2018-02-22 15:10:10 +01:00
compile_and_run_tests.sh Renamed autotest script 2018-02-22 15:08:32 +01:00
gen_tests.py Added tests for mp_bcast_c6d_gpu and mp_sum_r6d_gpu 2018-12-11 18:56:31 +01:00
mp_world.f90 Added optional argument to deallocate UtilXlib buffers and checks to avoid double allocations on mp_start. 2018-12-17 13:30:04 +01:00
test_mp_allgatherv_type_gpu.tmpl Added unit tests for new gather functionalities 2018-07-05 17:26:42 +02:00
test_mp_alltoall.tmpl Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_alltoall_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_bcast.tmpl More tests for mp_bcast and mp_sum 2018-03-06 19:09:52 +01:00
test_mp_bcast_c4d_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_bcast_c5d_gpu.f90 Use DP for complex 2018-02-27 22:01:28 +01:00
test_mp_bcast_c6d_gpu.f90 Forgot actual mp_bcast_c6d_gpu test. 2018-12-11 19:01:27 +01:00
test_mp_bcast_gpu.tmpl More tests for mp_bcast and mp_sum 2018-03-06 19:09:52 +01:00
test_mp_bcast_i1.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_i1_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_i4d_gpu.f90 Added missing mp_bcast tests for GPU code 2018-02-27 13:52:34 +01:00
test_mp_bcast_im.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_im_gpu.f90 Added test for mp_circular_shift_left (GPU code only) 2018-02-27 13:54:17 +01:00
test_mp_bcast_it.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_it_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_iv.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_iv_buffer.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_bcast_iv_buffer_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_iv_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_lv_buffer.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_lv_buffer_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_bcast_r4d_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_bcast_r5d_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_bcast_rv_buffer.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_bcast_rv_buffer_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_circular_shift_left_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_count_nodes.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_gather_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_gatherv_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_gatherv_type_gpu.tmpl Added unit tests for new gather functionalities 2018-07-05 17:26:42 +02:00
test_mp_get_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_max_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_max_iv_buffer.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_max_iv_buffer_gpu.f90 Test was not doing what it's supposed to do. 2018-06-18 11:05:29 +02:00
test_mp_max_rv_buffer.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_max_rv_buffer_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_min_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_min_iv_buffer.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_min_iv_buffer_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_min_rv_buffer.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_min_rv_buffer_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_put_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_root_sum_gpu.tmpl Real random numbers used now, paranoid data reset before tests 2018-03-06 11:42:00 +01:00
test_mp_sum_gpu.tmpl Added tests for mp_bcast_c6d_gpu and mp_sum_r6d_gpu 2018-12-11 18:56:31 +01:00
test_mp_sum_iv_buffer.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_sum_iv_buffer_gpu.f90 Updated unit tests with: more tests, close instead of equal for real/complex, many other improvements 2018-02-22 15:14:35 +01:00
test_mp_sum_rv_buffer.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
test_mp_sum_rv_buffer_gpu.f90 Use DP defined in utilXlib everywhere 2018-02-28 11:21:12 +01:00
tester.f90 Updated tester module 2018-02-23 17:40:47 +01:00
utils.f90 Random seed was not set when using /dev/urandom 2018-03-16 16:38:15 +01:00

README.md

UtilXlib testing suite

A set of tests for UtilXlib also showing the functionalities of the library.

In order to run the tests first run ./configure in QE topdir and generate a valid make.inc After that edit the variables at the top of compile_and_run_tests.sh and run with:

bash compile_and_run_tests.sh -sm[cn]

Options meaning:

  • -s: serial compilation and execution
  • -m: MPI compilation and execution
  • -c: CUDA-Fortran interface with data transfer done with memory on the host
  • -n: CUDA-Fortran interface with data transfer done with memory on the device

The tester module is part of the fortran_tester project avaiulable at: https://github.com/pdebuyl/fortran_tester/archive/master.zip

TODO:

  • Get rid of seeds printed on screen. It's pointless.