Jump to content
Sign in to follow this  
yao

How do I determine if acuSolve is picking up the options that I specify in my cnf files?

Recommended Posts

All command line options for Acusim programs can be specified on the command line or read from a configuration file. It is often desirable to know precisely where a specific option's value us being set. To accomplish this, simply look at the help listing for the program of interest. For example, when using acuPrep, execute acuPrep -h at the command line to produce the following results:


acuPrep:


acuPrep: Usage:


acuPrep:


acuPrep: acuPrep [options]


acuPrep:


acuPrep: Options:


acuPrep:


acuPrep: -h print usage and exit


acuPrep: help= TRUE [command-line]


acuPrep: -pb <str> problem name


acuPrep: problem= _undefined [default]


acuPrep: -inp <str> input file name (_auto, use <problem>.inp)


acuPrep: input_file= _auto [default]


acuPrep: -dir <str> working directory


acuPrep: working_directory= ACUSIM.DIR [default]


acuPrep: -fmt <enum> internal file format: ascii binary


acuPrep: file_format= binary [default]


acuPrep: -nsd <int> number of subdomains


acuPrep: num_subdomains= 1 [default]


acuPrep: -echo echo user input into <problem>.<run>.echo


acuPrep: echo_input= FALSE [/home/testUser/myConfig.cnf]


acuPrep: -prec echo BC precedence


acuPrep: echo_precedence= FALSE [default]


acuPrep: -tet convert and run as all tet mesh


acuPrep: run_as_tets= FALSE [default]


acuPrep: -ddc <enum> domain decomposition technique: metis chaco acuddc restart


acuPrep: domain_decomposition= chaco [/home/testUser/myConfig.cnf]


acuPrep: -acuddc <str> full path to acuDdc executable


acuPrep: acuddc_executable= acuDdc [default]


acuPrep: -mda <int> pre domain decomposiiton max element agglomeration


acuPrep: max_ddc_agglomeration= 1 [default]


acuPrep: -cache <int> computation cache size (in Kbytes)


acuPrep: cache_size= 1024 [default]


acuPrep: -ebc automatically generate element BC


acuPrep: auto_generate_ebc= TRUE [default]


acuPrep: -rfi automatically generate reference frame interfaces


acuPrep: auto_reference_frame_interface= TRUE [default]


acuPrep: -bfd set back flow diffusion for outflow Simple BC


acuPrep: auto_set_back_flow_diffusion= FALSE [default]


acuPrep: -sort sort nodes and elements


acuPrep: sort_nodes_and_elements= TRUE [default]


acuPrep: -inj ignore elements with negative jacobian


acuPrep: ignore_negative_jacobian= FALSE [default]


acuPrep: -dump dump input file for easy parsing


acuPrep: dump_input= FALSE [default]


acuPrep: -dfmt <enum> dump file format: ascii binary


acuPrep: dump_format= binary [default]


acuPrep: -dfile <str> dump file name (_stdout, output to standard output)


acuPrep: dump_file= _stdout [default]


acuPrep: -lbuff flush stdout after each line of output


acuPrep: line_buff= TRUE [/home/testUser/myConfig.cnf]


acuPrep: -v <int> verbose level


acuPrep: verbose= 2 [/home/testUser/myConfig.cnf]


acuPrep:


acuPrep: Configuration Files:


acuPrep:


acuPrep: ./Acusim.cnf:~/myConfig.cnf:/Applications/Acusim/MachineConfig.cnf


acuPrep:


acuPrep: Release: 1.7f


This output indicates that all options are being read from the command line, or an entry in one of the configuration files that are specified by the user. The user can specify the configuration files to read by setting the ACUSIM_CNF_FILES environment variable (or simply using the default values). In this example, the user has set the environment variable as follows:


setenv ACUSIM_CNF_FILES ./Acusim.cnf:~/myConfig.cnf:/Applications/Acusim/MachineConfig.cnf


This setting is echoed in the output:


acuPrep: Configuration Files:


acuPrep:


acuPrep: ./Acusim.cnf:~/myConfig.cnf:/Applications/Acusim/MachineConfig.cnf


The output also indicates where each option is being set from. For example, the domain decomposition technique (-ddc) option is being set to chaco, and is being read from the file/home/testUser/myConfig.cnf:


acuPrep: -ddc <enum> domain decomposition technique: metis chaco acuddc restart


acuPrep: domain_decomposition= chaco [/home/testUser/myConfig.cnf]


 


Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...