mirror of
https://github.com/paboyle/Grid.git
synced 2025-10-13 12:44:42 +01:00
Default dimensions fixed
This commit is contained in:
@@ -187,9 +187,10 @@ void GridParseLayout(char **argv,int argc,
|
|||||||
Coordinate &latt_c,
|
Coordinate &latt_c,
|
||||||
Coordinate &mpi_c)
|
Coordinate &mpi_c)
|
||||||
{
|
{
|
||||||
auto mpi =std::vector<int>(1,Nd);
|
auto mpi =std::vector<int>(Nd,1);
|
||||||
auto latt=std::vector<int>(8,Nd);
|
auto latt=std::vector<int>(Nd,8);
|
||||||
|
std::cout << "Default mpi "<<mpi<<std::endl;
|
||||||
|
std::cout << "Default latt"<<latt<<std::endl;
|
||||||
GridThread::SetMaxThreads();
|
GridThread::SetMaxThreads();
|
||||||
|
|
||||||
std::string arg;
|
std::string arg;
|
||||||
@@ -228,6 +229,9 @@ void GridParseLayout(char **argv,int argc,
|
|||||||
}
|
}
|
||||||
// Copy back into coordinate format
|
// Copy back into coordinate format
|
||||||
int nd = mpi.size();
|
int nd = mpi.size();
|
||||||
|
std::cout << "mpi.size() "<<nd<<std::endl;
|
||||||
|
std::cout << "latt.size() "<<latt.size()<<std::endl;
|
||||||
|
std::cout << "Nd "<<Nd<<std::endl;
|
||||||
assert(latt.size()==nd);
|
assert(latt.size()==nd);
|
||||||
latt_c.resize(nd);
|
latt_c.resize(nd);
|
||||||
mpi_c.resize(nd);
|
mpi_c.resize(nd);
|
||||||
|
@@ -7,7 +7,5 @@ MPICXX=mpicxx CXXFLAGS=-I/opt/local/include LDFLAGS=-L/opt/local/lib/ CXX=clang+
|
|||||||
--with-openssl=$BREW \
|
--with-openssl=$BREW \
|
||||||
--disable-fermion-reps \
|
--disable-fermion-reps \
|
||||||
--disable-gparity \
|
--disable-gparity \
|
||||||
--enable-Nd=3 \
|
|
||||||
--enable-Nc=1 \
|
|
||||||
--enable-debug
|
--enable-debug
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user