Codee¶
Codee is an "all-in-one" tool to enhance correctness, modernization, portability and optimization in Fortran and C/C++ software applications. It features a static analyzer that generates detailed reports on the source code, without executing the code, identifying potential issues related to performance, correctness, and maintainability, early in the development process. By automating code reviews and enforcing coding standards, Codee can contribute to producing reliable, optimized, and portable code.
Parallelization with OpenMP and OpenACC¶
Codee identifies quality issues that helps with code optimization and provides actionable recommendations, named Autofixes, with OpenMP and OpenACC directives for both CPU and GPU parallelization.
Code Analyzer¶
Codee features unique capabilities for Deep Analysis of Fortran code, helping to enforce coding guidelines, modernize legacy code, ensure code portability, and optimize code efficiency.
Developers who are actively writing, modifying, testing and benchmarking Fortran code can increase their productivity by using Codee.
Code Formatter¶
Code Formatting Tools are utilities that automatically format source code to follow consistent style guidelines. These tools adjust things like indentation, spacing, alignment, and the ordering of declarations, without changing the actual behavior of the code. The goal is to help improve code readability, ensure consistency across a project, and reduce style-related errors, and make collaboration easier among developers. It offers highly customizable formatting capabilities for Fortran code, enabling development teams to enforce coding standards and maintain a consistent style across large codebases.
Using Codee¶
To use Codee, you will need to load the Codee module:
module load codee
To learn how to use Codee, please check
- Quick start guide
- Codee Formatter guides are available in the official online documentation where you can also explore the Style Options section to review all available customization features.
- For further information and additional guides, explore the HPE Cray EX section and the archive of materials from the Codee course offered at NERSC.