Skip to content

igmit/MargolusCA-src

 
 

Repository files navigation

MargolusCA-src

MargolusCA source code

In project uses libconfig++, libpng, libmysqlcppconn

INSTALLATION

c++11 supported compiler (-std=c++11 option, g++ 4.8.1 or higher)

g++:

apt-get install g++

libpng:

apt-get install libpng12-dev

libmysqlcppconn (you must have mysql-server):

apt-get install libmysqlcppconn-dev

libconfig++:

apt-get install libconfig++8-dev

BUILD

Use NetBeans IDE to work with project, or use this commands to build from terminal:

for debug:

/usr/bin/make -f Makefile CONF=Debug

for release:

/usr/bin/make -f Makefile CONF=Release

WORK

Use margolusca --help to see help information

Usage: margolusca [ARGUMENT] CONFIG Run the program with current settings

margolusca --help		Display this help and exit

margolusca --version		Output version information and exit

margolusca --name		Display program name and exit

margolusca --path		Display program path and exit

margolusca --example		Print example of configuration file and exit

margolusca --output filename	Print half-life in output file and exit

margolusca --squareNx-Ny-Nz filename	Print surface square in output file and exit

	Nx	Field x size

	Ny	Field y size

	Nz	Field z size

margolusca [filename]		Use filename configuration file

margolusca [] -extra		Use express database out

margolusca [] -retention	Use retention out

margolusca [] -print		Print field parameters

margolusca -testrunNx-Ny-I-C-G-T-M	Run test calculation

	Nx	Field x size

	Ny	Field y size

	I	Iteration count

	C	Calculation count

	G	Subiteration type (0 - 2 subiters, 1 - 8 subiters)

	T	Margolus type (0 - default, 1 - quazi, 2 - quazix)

	M	File mode (N - new, A - append)

Program use libconfig++ configuration file.

Use margolusca --example > outFile to generate example configuration file to outFile

About

MargolusCA source code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.5%
  • Makefile 5.2%
  • Other 1.3%