Questions? Feedback? powered by Olark live chat software
Resources Home

FAQs

ANSYS CFX - How do I insert a stop/restart file to my running job?

This tutorial shows you how to stop a running CFX Solver from the command line. Similar to pressing the stop button in the ANSYS CFX GUI, inserting a stop file executes the stop and writes a restart file at the end of an outer loop iteration in steady state simulations, or at the end of a timestep in transient analyses.

To complete this task, you will need to use our in-browser SSH. Go to the Status page of your job. Then below the Live Tailing panel, you will see an SSH panel with a thunderbolt symbol. In the SSH panel, you will see a Server IP address which you can click to launch an in-browser SSH terminal. This way, you can interact with the running cluster from your browser.

For more information on using Rescale's in-broswer SSH feature, please refer to the tutorial here.

Stop file option 1 - Using the cfx5stop command

In the terminal window, type the following commands (2 lines):

cd work
cfx5stop -directory <temp-directory>

Suppose a run is called MultiphaseMixer_001 in the work directory. Then, there will be a temporary directory called MultiphaseMixer_001.dir in the work directory. The command will be as follows:

cd work
cfx5stop -directory MultiphaseMixer_001.dir

Stop file option 2 - Writing a stop file

In the terminal window, type the following command:

touch work/<temp-directory>/stp

Suppose a run is called MultiphaseMixer_001 in the work directory. Then, there will be a temporary directory called MultiphaseMixer_001.dir in the work directory. The command will be as follows:

touch work/MultiphaseMixer_001.dir/stp

Restarting a job

Inserting a stop file will generate a .res restart file that can be used to restart the simulation.

In the Results page of the stopped job, you may make the restart file available as an input file (see image below), then clone the job. In the new cloned job, insert the restart file in place of the input file both in the Input Files page, as well as, in the Command in the Software Settings page of the Setup.

Input Files

ANSYS Workbench - How do I change the license feature for meshing in Workbench?

You can change your license feature on workbench by going to Tools > License Preferences.

License Preferences

In the preferences window, you will automatically see all the licenses that you own. ANSYS Workbench will try to checkout the appropriate license in the order that is specified here, from top to bottom. In order to give priority to a license feature, use the "Move up" and "Move down" feature to bring it to the top. You can also disable certain license features by setting the assigned value to 1 or 0.

In this case where you want to change the license checked out for meshing, please navigate to the PrepPost tab and set up the license feature priority that you require.

License Manager

ANSYS Mechanical - How do I specify the license feature to be used in batch?

In the software settings page, you are able to specify the license feature you would like to check out by appending the -p flag to your command.

For example, if you would like to use the feature meba, your command box will look something like this:

ansys181 -dis -b -mpi ibmmpi -np $RESCALE_CORES_PER_SLOT -machines $MACHINES -p meba -i <input-file>

ANSYS HFSS - How do I submit a job in debug mode?

When submitting an ANSYS HFSS job with HPC at Rescale, it is good practice to gather DEBUG files in case the job fails. In the event of a failing analysis, the DEBUG files can then be provided to Rescale Support. Please contact us if you're having trouble.

On the command window of the Software Settings page of your job setup, add the following commands before the Ansys Electronics Desktop command ansysedt that you typically run. An example is shown below:

export DEBUG_LOG_DIR=`pwd`/debug_log
mkdir $DEBUG_LOG_DIR 2>/dev/null
export ANSOFT_DEBUG_LOG=$DEBUG_LOG_DIR/debug
export ANSOFT_DEBUG_LOG_SEPARATE=1
export ANSOFT_DEBUG_LOG_THREAD_ID=1
export ANSOFT_DEBUG_LOG_TIMESTAMP=1
export ANSOFT_DEBUG_MODE=2
export ANSOFT_PASS_DEBUG_ENV_TO_REMOTE_ENGINES=1

ansysedt -auto -distributed -monitor -machinelist file=$HOME/machinefile.hfss -ng -batchsolve test.aedt

In addition to running the analysis, this will create a debug-log directory within the work directory which will contain all the generated logs. It is recommended that you use these commands every time you submit an ANSYS HFSS job in batch.

Last Updated: Jul 06, 2017 05:07PM PDT

Powered by Desk.com
c63bcf49f4eed122cd69ef16269a7198@rescale.desk-mail.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete