Rate This Document
Findability
Accuracy
Completeness
Readability

Error Reported When the make Command Is Run During ABINIT Compilation

Symptom

The error message "Error: Line truncated at (1) [-Werror=line-truncation]" is displayed when you run the make command to compile ABINIT.

Key Process and Cause Analysis

This error occurs because the code does not limit the number of characters to 132.

Conclusion and Solution

Add -ffree-line-length-none to FCFLAGS="-g -O2 -ffree-line-length-none" for compiling and installing ABINIT.