FrontISTR  5.7.0
Large-scale structural analysis program with finit element method
main.c File Reference
#include <stdio.h>
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <FrontISTRConfig.h>
#include "hecmw_log.h"
#include "mpi.h"
#include <mkl.h>
Include dependency graph for main.c:

Go to the source code of this file.

Data Structures

struct  option_rec
 struct of command-line option More...
 

Functions

void fstr_main ()
 Startup routine for FrontISTR. More...
 
int get_procs_num ()
 
int get_threads_num ()
 
void help (char *arg)
 show available command line option More...
 
void print_buildinfo (int log_level)
 show build information More...
 
void print_executeinfo (int log_level)
 show execute environment information More...
 
void version (char *arg)
 show version and revision of FrontISTR More...
 
void load_hecmw_ctrl (char *arg)
 load hecmw_ctrl.dat from specified place More...
 
void set_loglevel_debug (char *arg)
 set log level to HECMW_LOG_DEBUG More...
 
int main (int argc, char *argv[])
 main function More...
 

Variables

struct option_rec options []
 specify command line option name and executing function name. More...
 

Function Documentation

◆ fstr_main()

void fstr_main ( )

Startup routine for FrontISTR.

Definition at line 38 of file fistr_main.f90.

Here is the call graph for this function:

◆ get_procs_num()

int get_procs_num ( )

Definition at line 37 of file main.c.

◆ get_threads_num()

int get_threads_num ( )

Definition at line 47 of file main.c.

◆ help()

void help ( char *  arg)

show available command line option

Definition at line 85 of file main.c.

◆ load_hecmw_ctrl()

void load_hecmw_ctrl ( char *  arg)

load hecmw_ctrl.dat from specified place

Definition at line 256 of file main.c.

◆ main()

int main ( int  argc,
char *  argv[] 
)

main function

Definition at line 291 of file main.c.

◆ print_buildinfo()

void print_buildinfo ( int  log_level)

show build information

Definition at line 101 of file main.c.

Here is the caller graph for this function:

◆ print_executeinfo()

void print_executeinfo ( int  log_level)

show execute environment information

Definition at line 183 of file main.c.

◆ set_loglevel_debug()

void set_loglevel_debug ( char *  arg)

set log level to HECMW_LOG_DEBUG

Definition at line 265 of file main.c.

Here is the call graph for this function:

◆ version()

void version ( char *  arg)

show version and revision of FrontISTR

Definition at line 243 of file main.c.

Here is the call graph for this function:

Variable Documentation

◆ options

struct option_rec options[]
Initial value:
= {
{"-h", help},
{"-H", help},
{"-v", version},
{"-V", version},
{"-c", load_hecmw_ctrl},
{"-C", load_hecmw_ctrl},
{"--debug", set_loglevel_debug},
}

specify command line option name and executing function name.

Attention
list must be terminated with NULL value.

Definition at line 273 of file main.c.

version
void version(char *arg)
show version and revision of FrontISTR
Definition: main.c:243
set_loglevel_debug
void set_loglevel_debug(char *arg)
set log level to HECMW_LOG_DEBUG
Definition: main.c:265
load_hecmw_ctrl
void load_hecmw_ctrl(char *arg)
load hecmw_ctrl.dat from specified place
Definition: main.c:256
NULL
#define NULL
Definition: hecmw_io_nastran.c:30
help
void help(char *arg)
show available command line option
Definition: main.c:85