Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot/simgrid/simgrid
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Sun, 13 Mar 2016 20:08:20 +0000 (21:08 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Sun, 13 Mar 2016 20:08:20 +0000 (21:08 +0100)
1  2 
examples/smpi/NAS/ep.c
examples/smpi/NAS/nas_common.c
examples/smpi/NAS/nas_common.h

@@@ -60,9 -70,10 +60,9 @@@ int main(int argc, char **argv) 
    if (node == root ) {
      /* Because the size of the problem is too large to store in a 32-bit integer for some classes, we put it into a
       * string (for printing). Have to strip off the decimal point put in there by the floating point print statement
 -     * (internal file)
 -     */
 +     * (internal file) */
      fprintf(stdout," NAS Parallel Benchmarks 3.2 -- EP Benchmark");
-     sprintf(size,"%zu",(unsigned long)pow(2,m+1));
+     sprintf(size,"%lu",(unsigned long)pow(2,m+1));
      //size = size.replace('.', ' ');
      fprintf(stdout," Number of random numbers generated: %s\n",size);
      fprintf(stdout," Number of active processes: %d\n",no_nodes);
Simple merge
Simple merge