Disable the old QCDOC qalloc by default and copy utility functions from memory.c
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Sun, 17 Nov 2019 18:22:04 +0000 (19:22 +0100)
committerGitHub <noreply@github.com>
Sun, 17 Nov 2019 18:22:04 +0000 (19:22 +0100)
commit82b75f97e509aaef4bc5d95c4b54b29b77c50ede
treebbc3508f73dcfea3fea544f528f2df4caa2d09d2
parent7887c450772635b31d9dfb319ba2c26ed4ab16a7
Disable the old QCDOC qalloc by default and copy utility functions from memory.c

1. qalloc() appears to have been a special routine written for the PPC440-based QCDOC supercomputer(s) from around 2005, its source does not seem to be readily available. So switch the #if 1 in the code to rely on standard malloc() by default.
2. Utility functions like get_num_procs, get_num_threads that were added to the "normally" used memory.c in the meantime were still missing here.
driver/others/memory_qalloc.c