Closed ksnvikrant closed 3 years ago
I talked with @ksnvikrant and the issue was that the number of MPI tasks (4 in this case) did not match the number of input files (2 for this example). With 2 MPI ranks the code runs.
Ah, yes. I remember encountering that.
Thank you, Steve.
I will make a note on the parameters_pfield.prm file.
David
On Tue, Oct 19, 2021, 2:53 PM Stephen DeWitt @.***> wrote:
I talked with @ksnvikrant https://github.com/ksnvikrant and the issue was that the number of MPI tasks (4 in this case) did not match the number of input files (2 for this example). With 2 MPI ranks the code runs.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prisms-center/phaseField/issues/181#issuecomment-947013996, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3FA4ZSCZ2DDA6BULF5GOLUHW5C3ANCNFSM5GJXOP5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
The example AllenCahn with loading initial conditions is not working. It initiated the .vtk file but not proceeding after 'Applying PField initial condition...'
The output is as follows:
Using the input parameter file: parameters_pfield.prm Number of constants: 2 Number of post-processing variables: 2 creating problem mesh... periodic facepairs: 0 problem dimensions: 100x100 number of elements: 65536
initializing matrix free object initializing finite element space P^1 for EXPLICIT_TIME_DEPENDENT:SCALAR field 'n' field ' n' DOF : 66049 (Constraint DOF : 0) total DOF : 66049 Begin reading vtk file Begin reading vtk file Begin reading vtk file initializing parallel::distributed residual and solution vectors computed mass matrix (using FE space for field: 0) Begin reading vtk file Read POINTS: 32768 reserve OK done Determine Body size Min Coordinate: 0 0 Max Coordinate: 100 50 done Initialize Bin done Read CELLS: 8192 done Bin interpolating functions done max_bin_size: 16 begin reading data done Construct PField 'n' done Applying PField initial condition...