RunTestLoops.py

Get Started. It's Free
or sign up with your email address
RunTestLoops.py by Mind Map: RunTestLoops.py

1. Arguments

1.1. Optional

1.1.1. use_gpu

1.1.1.1. default will be cpu

1.1.1.2. This flag will make the script invoke the solver with gpu acceleration

1.1.2. test_install

1.1.2.1. default will be latest gridgen and solver test

1.1.2.2. This flag tells the script to use the environment variable $LAST_INSTALL for the solver and gridgen used in this TLrun operation.

1.1.3. test_solver

1.1.3.1. default will be to test latest solver

1.1.3.2. This flag allows users to define the solver that they would like to use.

1.1.4. test_gridgen

1.1.4.1. default will be to use latest gridgen

1.1.4.2. This flag allows the gridgen used to be defined

1.1.5. solver_options

1.1.5.1. By default these options are pre-populated. If you use this flag all default options are cleared are replaced with these.

1.1.5.2. Allows user to define the options passed to the solver. Passive string to xo arg on solver.

1.1.6. run_dir

1.1.6.1. Default run location is CWD.

1.1.6.2. Allows user to specify where simulation data should be stored.

1.1.7. nac

1.1.7.1. Default is to check in results to a location specifed in TLrun's configuration directory

1.1.7.2. Allows users to turn off check in

1.1.8. tlrun_dir

1.1.8.1. Allows user to specify the TLrun directory

1.1.8.2. By default TLrun is looked for in C:\cygwin\usr\local\bin on windows and /usr/local/bin on linux

1.1.9. thread_use

1.1.9.1. Default is to use max threads-1

1.1.9.2. Allows users to define how many threads can be used for the test loops performend

1.1.10. product_version

1.1.10.1. Allows the user to specify which product version will be probed for the latest solver for testing.

1.1.10.2. Default is to use the latest folder

1.2. Required

1.2.1. test_group

1.2.1.1. This specifies what TLrun group should be used

2. TLrun

2.1. Requirements

2.1.1. Target Run Location

2.1.1.1. Must be on local machine

2.1.1.2. Must be on a drive with space

2.1.2. Mandatory TLrun Arguments

2.1.2.1. GPU command

2.1.2.1.1. Argument: -xo "-gpu -dauto memFrac -cc -ct -ow"

2.1.2.2. CPU Command

2.1.2.2.1. -xo "-cc -ct -ow"

2.1.2.3. Selected Solver command

2.1.2.3.1. -x cpfd.x.17.0.3

2.1.2.4. Selected Gridgen command

2.1.2.4.1. -g cpfd.g.17.0.3

2.1.2.5. Solver options

2.1.2.5.1. -xo

2.1.2.6. no auto check in

2.1.2.6.1. -nac

2.1.2.7. test group

2.1.2.7.1. jenkins

2.1.2.8. Target Directory

2.1.2.8.1. -rundir

2.1.3. Resolves GPU

3. Windows

3.1. Requirements

3.1.1. Cygwin Installed from Barracuda VR & Post Install Applications

3.1.2. Cygwin Server must be running prior to xterm initialization

3.1.3. cmd launched with barracuda environment variables

3.1.4. TLrun + scripts installed

3.1.5. python2.7 or greater

4. Linux

4.1. Requirements

4.1.1. tcl installed

4.1.2. expect installed

4.1.3. python2.7 or greater

4.1.4. TLrun + scripts installed