sdsc / p3dfft

P3DFFT stands for Parallel Three-Dimensional Fast Fourier Transforms. It is a library for large-scale computer simulations on parallel platforms. It implements 3D FFT and related algorithms such as Chebyshev transform (an important class of algorithm for simulations in a wide range of fields). P3DFFT uses 2D, or pencil, decomposition. For more information:
http://www.p3dfft.net
Other
54 stars 16 forks source link

Variable may be used before its value is set #4

Closed dkolom closed 7 years ago

dkolom commented 7 years ago

In unpack_fcomm2_trans, at least in one case (line 387 in fcomm_trans2.F90), I've got a runtime error because variable pos0 was used before its value was set. Please add pos0 = 0 in the beginning of unpack_fcomm2_trans.

dmitrypek commented 7 years ago

Good catch, this error crept in the latest revision. Should be fixed now. Thanks!