Make bootstrap work from anywhere in the project

This commit is contained in:
Gallo Alejandro 2022-09-12 18:35:30 +02:00
parent 4277c07cc2
commit 68892d5dd8
2 changed files with 6 additions and 2 deletions

View File

@ -142,8 +142,10 @@ int main(int argc, char** argv) {
+ /* tai */ f * nranks * no * nv
;
if (atrip::Atrip::rank == 0)
std::cout << "Tentative MEMORY USAGE: " << atrip_memory << "\n";
if (rank == 0) {
std::cout << "Tentative MEMORY USAGE (GB): "
<< double(atrip_memory) / 1024.0 / 1024.0 / 1024.0 << "\n";
}
std::vector<int> symmetries(4, NS)

View File

@ -1,5 +1,7 @@
#!/usr/bin/env bash
cd `git rev-parse --show-toplevel`
type -a autoreconf > /dev/null ||
{
cat <<EOF && exit