Skip to content
Snippets Groups Projects
Commit 29b9f7ba authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Fix

It was not compiling on BGQ
parent 67c64d59
No related branches found
No related tags found
No related merge requests found
...@@ -105,6 +105,7 @@ Unreleased changes (will be included in 2.0.3) ...@@ -105,6 +105,7 @@ Unreleased changes (will be included in 2.0.3)
See <a href="http://github.com/plumed/plumed2/tree/v2.0">branch v2.0 on git repository</a>. See <a href="http://github.com/plumed/plumed2/tree/v2.0">branch v2.0 on git repository</a>.
For users: For users:
- Now compiles on Blue Gene Q with IBM compilers.
- Several small fixes in documentation and log file. - Several small fixes in documentation and log file.
For developers: For developers:
......
...@@ -133,7 +133,7 @@ ofmt("%f") ...@@ -133,7 +133,7 @@ ofmt("%f")
parse("RUN",freq ); parse("RUN",freq );
log.printf(" running analysis every %u steps\n",freq); log.printf(" running analysis every %u steps\n",freq);
if( freq%getStride()!= 0 ) error("Frequncy of running is not a multiple of the stride"); if( freq%getStride()!= 0 ) error("Frequncy of running is not a multiple of the stride");
ndata=std::floor(freq/getStride() ); ndata=freq/getStride();
data.resize( ndata ); data.resize( ndata );
for(unsigned i=0;i<ndata;++i){ data[i].resize( getNumberOfArguments() ); } for(unsigned i=0;i<ndata;++i){ data[i].resize( getNumberOfArguments() ); }
logweights.resize( ndata ); logweights.resize( ndata );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment