Skip to content

miroi/fortran_input_reader

Repository files navigation

Build Status wercker status Build Status Coverage Status shippable status CircleCI

Fortran Input Reader

All-Fortran90 reader of most common input keywords types (strings, numbers, number arrays) from a text file.

This project also serves as the comprehensive (unit) tester of the standalone Fortran module (library).

The two files for free distribution into your codes are input_reader.F90 (as module) and parse_input.F90 (as subroutine). Note that you have to supply the QUIT routine which is part of DIRAC and Dalton programs, from where the input reader comes.

Some Fortran Input Reader advocacy is on the DIRAC web-page.

Buildup and testing

The project buildup is based solely on the autocmake project.

For the buildup and run you need python, cmake and fortran software.

From the main directory launch, the setup command (see python setup --help):

 python setup --fc=gfortran build_gfortran
 cd build_gfortran
 make
 bin/example

The buildup flavors, using open-software only, can be seen in project's CI scripts, like shippable.yml, wercker.yml, .travis-ci.yml.

Upon successfull finish of the executable code you should see the last printed line

.
.
Fortran Input Reader OK!

About

Fortran reader of input data from text files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published