rlfontenot / loci

Created by Dr. Ed Luke, LOCI is a sophisticated auto-parallelizing framework that simplifies the task of constructing complex simulation software.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Loci files translation confusion #8

Closed EdwardALuke closed 1 month ago

EdwardALuke commented 1 month ago

Loci files are translated to c++ files as part of the compilation process. These c++ files can become confused with primary source files which can create problems when interacting with the version control system. This issue is resolved by using the .lcc~ suffix to uniquely identify Loci intermediate files. The trailing ~ is used so that these files will appear to be emacs save files which are already removed as part of the distclean targets in Loci makefiles. Note that this requires that the compiler is explicitly told that the file that it is compiling is a c++ file, currently this has been done for the gcc compiler. The llvm and intel compiler config files will need to be updated as a follow on issue.