Internal:Weekly Notes
Jump to navigation
Jump to search
2023
Deadline January 31 2023
- Outline and determine overall objective for paper with PDR.PODM - DONE
- Determine potential places for publication (Computer-Aided Design and then Supercomputing conference/journal) - DONE
- Implement initial refinement of interfaces with bubbles in distributed CDT3D - DONE
Deadline February 17 2023
- Modify distributed CDT3D implementation to do distributed mobile object creation (instead of on master process) to avoid early message forwarding bottleneck - DONE
- Strategic Coloring for Interface Shift based on Quality within each Subdomain - DONE
Deadline March 31 2023
- Fix "Find_CAD_Key_Between_Triangles" Error given by CDT3D during Interface Shift - DONE
Deadline July 31 2023
- Formulate/Fix problem within CDT3D and determine proper term for new requirement of a scalable mesh generation code (Reproducibility/Efficiency in terms of runtime) - DONE
- Investigate and identify potential causes of this problem within each mesh operation, as user should have the choice of executing any of the same operations within the reproducibility setting - DONE
- Make necessary modifications to each mesh operation to account for reproducibility time efficiency - DONE
- Understand how the number of threads/buckets (the amount of available work) can affect this time efficiency within the reproducibility setting and make any necessary changes - DONE
- Find and run biomedical case (if not anisotropic, then isotropic) with Shared Memory CDT3D, ensuring that with this case, CDT3D is also reproducible - DONE
- AVM papers (Kitware) - see Fotis's images
- Aneurysm Blood Flow case with Stonybrook (Melina Kazakidi paper and others) - see Fotis's images
Deadline November 30 2023
- Complete Implementation and test suite for Phase I Distributed Memory CDT3D:
- use lessons learned from reproducibility time efficiency to better control mixed interior/interface adaptivity to be scalable - DONE
- subdomain topology update, handling all three cases (adjacency removal, addition, and creation of new subdomains) - DONE
- adjacency update communication algorithm to avoid global synchronization - DONE
- Ensure and test that distributed CDT3D does not produce garbage
- Successful execution and stability of all cases received from Christos
- Successful adaptation of large cases - delta wing, JSM
- Successful refinement of large (anisotropic or isotropic) biomedical case
Deadline December 31 2023
- Submit Distributed CDT3D Phase I extended abstract to AIAA conference - DONE
2024
Deadline January 2024
- Complete Gather operation optimization - DONE BUT NEEDS FURTHER OPTIMIZATION
Deadline March 2024
- Finish and submit CBC3D Journal paper - DONE
Deadline May 2024
- Formulate problem within CDT3D and determine term for new requirement of a scalable mesh generation code (Reproducibility/Efficiency in terms of runtime) - DONE
- Further optimize other communication operations within distributed CDT3D - DONE BUT NEEDS FURTHER OPTIMIZATION
Deadline June 2024
- Submit final draft of Distributed CDT3D Phase I paper to AIAA Conference - DONE
Deadline October 2024
- Submit IMR paper for medical I2M conversion using anisotropy - DONE
- Find solution for CDT3D processing second aneurysm case using anisotropy - DONE
- Build metric tensor field using velocity gradients - DONE
Deadline November 2024
- Update IMR paper with data from second aneurysm case using anisotropy - DONE
- Submit G-RISE Fall 2024 semester report - DONE
- Present G-RISE Fall 2024 semester report at G-Club Meeting - DONE
- Find solution for CDT3D Redundancy Problem - DONE
- Verified that Local Reconnection was a bottleneck due to threads processing buckets that contained manually deactivated elements (so threads spin without working) - DONE
- Optimize Local Reconnection within the distributed context - subdomains are now re-partitioned into buckets after manual deactivation (from pseudo-active elements) - DONE
- Identify and optimize any other bottlenecks causing redundancy problem - point creation was also affected by above bucket partitioning issue - DONE
- Investigate potential performance of adapting interface and constrained elements a priori to distribution of subdomains and interior adaptation - DONE
- Performance is better than interface shift implementation
- This requires locking elements in addition to using the pseudo-active modification and order of operations to "control" CDT3D.
- Implemented algorithm that quickly locks/unlocks layers of elements (this is considered pre-processing before the a priori interface adaptation)
- Pre-processing to interior adaptation now includes a priori interface adaptation, the assignment of new interface data during adaptation, making subdomains simply connected after a priori interface adaptation, and converting shared memory data structures of this new data to distributed memory data structures for packing
- The more subdomains that are desired, the more coarse mesh generation that is needed at the beginning to get something dense enough to avoid the a priori interface adaptation phase processing the entire domain.
Deadline December 2024
- Complete Phase I Distributed CDT3D (finish a priori implementation - no hierarchical work-stealing) - DONE
- Edge collapse and smoothing operations don't follow the notion of active/inactive elements. Their partitioning processes all elements. This partitioning must be updated to only partition and process pseudo-active elements (by locking non-pseudo-active elements). - DONE
- Non-adapted elements from the a priori interface adaptation should become pseudo-active for interior adaptation; otherwise, there is overlap and redundant processing of some elements. - DONE
2025
Deadline April 2025
- Complete AIAA Journal draft of Distributed CDT3D paper - DONE
- Manually determine optimal parameters for distributed CDT3D
- Gather data for paper
Deadline May 2025
- Complete Dissertation Prospectus - DONE
Deadline July 2025
- Implement hierarchical work-stealing within CDT3D - DONE
- Optimize local reconnection operation within CDT3D - DONE
Deadline August 2025
- Update CNF paper - NEEDS REVIEW
- Create sizing function for PODM with aneurysm case
Deadline Fall 2025
- Submit 4 papers
- A Study of Two Functionality-first Black-box Approaches (AIAA?)
- PsC.AFLR
- PDR.PODM
- Distributed CDT3D (AIAA)
- I2M/DSM (JPDC)
- Hierarchical work-stealing within CDT3D and test with aneurysm geometries
- Hardware has Improved, work-stealing still necessary?
- Local reconnection optimization
- Integrate reviewer comments into I2M paper for JPDC
- Isotropic adaptivity with PODM for aneurysm case
- Hierarchical work-stealing within CDT3D and test with aneurysm geometries
- CNF paper (Computer Physics Communications Journal)
- A Study of Two Functionality-first Black-box Approaches (AIAA?)
- Dissertation Defense (and submit dissertation before December 12!)
- Achieve greater performance for Distributed CDT3D by testing it on the DSM machine
TODO after Dissertation Defense
- Clean up Distributed CDT3D code for future students
- Implement scripts to automate adaptive anisotropic I2M pipeline similar to Christos's scripts
- IMR paper
- Machine Learning paper
Weekly Notes
July 5 2023
- CDT3D operations use different formulas when calculating the distance between two points - Euclidean vs. Riemannian. Modifying the code, so that all operations only use one or the other, does not yield any difference in convergence or time-efficient reproducibility.
- Learn why they are both used or if there's a reason why one may be used instead of the other for certain operations.
- Simply executing all operations in each subdomain for the distributed CDT3D method is a naive approach. The purpose of the edge collapse operation should be considered carefully, given its impact on CDT3D's reproducible time efficiency. It is a pre- and post-refinement step in the shared memory CDT3D approach. Edge collapse is designed to optimize a mesh after all point creation/insertion has completed (which is why it is not integrated into the iterative grid generation process, as mentioned in Christos’s dissertation). Therefore, it perhaps should not be integrated into the iterative process of refinement in the distributed approach either. Instead of changing the behavior of the edge collapse operation (to force it to somehow conform to the point creation operation and be used iteratively, possibly compromising its intended functionality), it should only be used as a pre- and post-refinement step in the distributed approach as well. The order of operations for the shared memory method should be preserved in the distributed memory method.
- There are two modifications that allow the mesh refinement module of the shared memory CDT3D to become time-efficiently reproducible:
- cdff (the satisfied edge length multiplier) must be correctly passed into the DeactivateElements function in order to permit element deactivation from the first grid generation iteration according to the SPACING criteria (the criterion used by point creation in determining if points should be generated for a tetrahedron). CDT3D was originally designed with the assumption that the input geometry needs refinement/adaptation. Do/until vs. do/while methodology
- mesh refinement must be exhausted (i.e. zero points generated/inserted) so that additional points are not generated (and a new local minimum is discovered) during second execution
- Modified code reduced runtime cost of reproducibility to 10%
- Problem Definition - Operator-to-element Aptitude / Efficient Element Processing requires that at any stage of the grid generation process, a mesh operation is applied only to those elements that do not satisfy qualitative criteria. Elements may undergo processing more than once when meshing in parallel, therefore the software should not apply operations to elements that do not require adaptivity/refinement if one wishes to maximize potential scalability.
July 12 2023
- Exhausting the mesh refinement module of CDT3D (allowing refinement to occur until no points are generated/inserted in order to avoid point creation/insertion during subsequent execution with reproducibility) adds 10% extra runtime and yields slightly better qualitative results
- Both distributed CDT3D and shared memory CDT3D codes have been updated to allow isotropic volume meshes to be processed as input. Spacing attribute already attached to volume points is now read and set appropriately when provided as input, rather than relying only on metric tensors.
- Distributed CDT3D will also now process an isotropic surface, refine it to a coarse level on shared memory machine and distribute for finer refinement.
- CDT3D generates meshes that are qualitatively comparable to CBC3D
- Possible Method for Distributed CDT3D: method should perform refinement on shared memory node first and then decompose/distribute for subsequent edge collapse and quality improvement
- Challenges Identified for future work with CDT3D
- Anisotropic mesh generation for medical imaging cases
- Expansion of CDT3D's robustness to process non-manifold geometries (stent, LVIS, and lumen)