Skip to content

convert all common variables to a string in Fortran using unlimited polymorphic variables

License

Notifications You must be signed in to change notification settings

urbanjost/M_msg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




DEPRECATED (at least for now) -- see M_framework





Name

M_msg

Description

This is a collection of modules useful for creating messages, logfiles and performing unit tests,

  • M_msg is a small module that can convert a list of variables of any of the most common default types to a string.

    It performs low-level operations that are often used by other larger modules so it is in its own module to prevent circular dependencies.

  • M_verify contains procedures useful for generating unit tests

  • M_journal allows for creating log and journal files

Building the Module

A conventional GNU/Linux or Unix install:

     git clone https://github.com/urbanjost/M_msg.git
     cd M_msg/src
     # change Makefile if not using one of the listed compilers
     
     # for gfortran
     make clean
     make F90=gfortran gfortran
     
     # for ifort
     make clean
     make F90=ifort ifort

     # for nvfortran
     make clean
     make F90=nvfortran nvfortran

This will compile the Fortran module and basic test programs

Optionally

Supports FPM fpm

Alternatively, download the github repository and build it with fpm ( as described at Fortran Package Manager )

     git clone https://github.com/urbanjost/M_msg.git
     cd M_msg
     fpm test

or just list it as a dependency in your fpm.toml project file.

     [dependencies]
     M_msg        = { git = "https://github.com/urbanjost/M_msg.git" }

(registered at the fpm(1) registry )

Documentation docs

User

Additional Directory Descriptions

There are

  • src/ is where the source for the M_msg(3f) modules resides
  • docs/ contains HTML documentation and the manpage archives
  • test/ contains a simple test program
  • example/ has demos

About

convert all common variables to a string in Fortran using unlimited polymorphic variables

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published