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

problem with some not deallocated pointers #9

Closed CyrilleBonamy closed 6 years ago

CyrilleBonamy commented 6 years ago

Hi

When i run two instances of p3dfft, i have some problems with pointers not deallocated. I have fixed this issue : i have add two dealocate :

diff --git a/build/module.F90 b/build/module.F90 index f2d150a..cdaa2da 100644 --- a/build/module.F90 +++ b/build/module.F90 @@ -297,6 +297,7 @@ enddo

   deallocate(plan1_frc,plan1_bcr,plan1_fc,plan2_fc_same,plan1_bc,plan2_bc_same,plan_ctrans_same,plan_strans_same)
dmitrypek commented 6 years ago

Done.