mirror of https://gitlab.com/QEF/q-e.git
224ef281fa | ||
---|---|---|
.. | ||
Makefile | ||
README.md | ||
compile_and_run_tests.sh | ||
gen_tests.py | ||
mp_world.f90 | ||
test_mp_allgatherv_type_gpu.tmpl | ||
test_mp_alltoall.tmpl | ||
test_mp_alltoall_gpu.tmpl | ||
test_mp_bcast.tmpl | ||
test_mp_bcast_c4d_gpu.f90 | ||
test_mp_bcast_c5d_gpu.f90 | ||
test_mp_bcast_c6d_gpu.f90 | ||
test_mp_bcast_gpu.tmpl | ||
test_mp_bcast_i1.f90 | ||
test_mp_bcast_i1_gpu.f90 | ||
test_mp_bcast_i4d_gpu.f90 | ||
test_mp_bcast_im.f90 | ||
test_mp_bcast_im_gpu.f90 | ||
test_mp_bcast_it.f90 | ||
test_mp_bcast_it_gpu.f90 | ||
test_mp_bcast_iv.f90 | ||
test_mp_bcast_iv_buffer.f90 | ||
test_mp_bcast_iv_buffer_gpu.f90 | ||
test_mp_bcast_iv_gpu.f90 | ||
test_mp_bcast_lv_buffer.f90 | ||
test_mp_bcast_lv_buffer_gpu.f90 | ||
test_mp_bcast_r4d_gpu.f90 | ||
test_mp_bcast_r5d_gpu.f90 | ||
test_mp_bcast_rv_buffer.f90 | ||
test_mp_bcast_rv_buffer_gpu.f90 | ||
test_mp_circular_shift_left_gpu.tmpl | ||
test_mp_count_nodes.f90 | ||
test_mp_gather_gpu.tmpl | ||
test_mp_gatherv_gpu.tmpl | ||
test_mp_gatherv_type_gpu.tmpl | ||
test_mp_get_gpu.tmpl | ||
test_mp_max_gpu.tmpl | ||
test_mp_max_iv_buffer.f90 | ||
test_mp_max_iv_buffer_gpu.f90 | ||
test_mp_max_rv_buffer.f90 | ||
test_mp_max_rv_buffer_gpu.f90 | ||
test_mp_min_gpu.tmpl | ||
test_mp_min_iv_buffer.f90 | ||
test_mp_min_iv_buffer_gpu.f90 | ||
test_mp_min_rv_buffer.f90 | ||
test_mp_min_rv_buffer_gpu.f90 | ||
test_mp_put_gpu.tmpl | ||
test_mp_root_sum_gpu.tmpl | ||
test_mp_sum_gpu.tmpl | ||
test_mp_sum_iv_buffer.f90 | ||
test_mp_sum_iv_buffer_gpu.f90 | ||
test_mp_sum_rv_buffer.f90 | ||
test_mp_sum_rv_buffer_gpu.f90 | ||
test_offload_macros.f90 | ||
tester.f90 | ||
utils.f90 |
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.