Skip to content

Fortran code converter for CalculiX CrunchiX: converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for the best code folding.

License

Notifications You must be signed in to change notification settings

calculix/ccx_fff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

© Ihor Mirzov, August 2020
Distributed under GNU General Public License v3.0
CalculiX, libraries ARPACK and SPOOLES have their own licenses




Downloads | How to use | Screenshot | Your help




CalculiX CrunchiX 2.16 with free form Fortran

Script ccx_fff.py converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for better code folding. Compiles all Fortran sources with -ffree-form flag. Takes files to be compiled from Makefile.inc. To understand the difference in sources see screenshot.

The script has already converted original CalculiX CrunchiX sources from folder src and put them into:

Also those folders include compiled ARPACK and SPOOLES libraries.

Converted CalculiX CrunchiX sources are compiled with multithreading using Makefile_MT.



Downloads

Release version of binaries, converted and compiled sources together with original code could be downloaded from the releases page.

Compiled with multithreading CalculiX CrunchiX binary is here:

Windows version may need Cygwin dlls to be placed in a working directory to run a calculation.



How to use

Default usage of the converter is:

python3 ccx_fff.py

Also you can explicitly point existing folders to process:

python3 ccx_fff.py ./src ./ccx_linux/src_fff
python3 ccx_fff.py ./src ./ccx_windows/src_fff



Screenshot

Before conversion vs. after conversion - code folding works like a charm:
CalculiX CrunchiX free form Fortran



Your help

  • Simply use this software and ask questions.
  • Report problems by posting issues.

About

Fortran code converter for CalculiX CrunchiX: converts old Fortran 77 code to the one with free form. Shifts comments and continuation marks for the best code folding.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published