vermaseren / form

The FORM project for symbolic manipulation of very big expressions
GNU General Public License v3.0
982 stars 118 forks source link

Problem with tablebase #355

Open zhaoli-IHEP opened 4 years ago

zhaoli-IHEP commented 4 years ago

The problem fixed in 0b3ab5d still exists in parform.

tueda commented 4 years ago

For me, at least the example in #318 seems to work:

$ mpirun -np 8 ./parform test.frm
ParFORM 4.2.1 (Aug 28 2019, v4.2.1-5-g4057c65) 64-bits 7 workers  Run: Mon Jun 29 13:18:49 2020
    Symbol x,y,z;
    TableBase "test.tbl" create;
    .sort

    #do i = 1, 600
        #message `i'
~~~1
        Table sparse, zerofill, inttab`i'(2);
        #do j = 1,100
                Fill inttab`i'(`j',1) = x;
        #enddo
        TableBase "test.tbl" addto inttab`i';
We add the name inttab1
        .sort
    #enddo
~~~2
We add the name inttab2
~~~3
We add the name inttab3
~~~4
We add the name inttab4
~~~5
We add the name inttab5

.
.
.

~~~598
We add the name inttab598
~~~599
We add the name inttab599
~~~600
We add the name inttab600
    .end
  59.49 sec + 415.91 sec: 475.41 sec out of 60.50 sec
zhaoli-IHEP commented 4 years ago

For me, at least the example in #318 seems to work:

$ mpirun -np 8 ./parform test.frm
ParFORM 4.2.1 (Aug 28 2019, v4.2.1-5-g4057c65) 64-bits 7 workers  Run: Mon Jun 29 13:18:49 2020
    Symbol x,y,z;
    TableBase "test.tbl" create;
    .sort

    #do i = 1, 600
        #message `i'
~~~1
        Table sparse, zerofill, inttab`i'(2);
        #do j = 1,100
                Fill inttab`i'(`j',1) = x;
        #enddo
        TableBase "test.tbl" addto inttab`i';
We add the name inttab1
        .sort
    #enddo
~~~2
We add the name inttab2
~~~3
We add the name inttab3
~~~4
We add the name inttab4
~~~5
We add the name inttab5

.
.
.

~~~598
We add the name inttab598
~~~599
We add the name inttab599
~~~600
We add the name inttab600
    .end
  59.49 sec + 415.91 sec: 475.41 sec out of 60.50 sec

I mean the problem is related to the tablebase load. "Cannot uncompress ..."

tueda commented 3 years ago

Can someone provide an example to reproduce it? (I still don't know how to use TableBase...)