47.1.3.3. Executing the RecurDyn Solver

RecurDyn Linux solver is ready to run once the two inputs files are created and moved to a working directory on the Linux computer.

To invoke the RecurDyn Linux Solver

First, set up the environment variable that is needed for the RecurDyn Solver to find its libraries in the installation directory, regardless of the local directory that the RecurDyn Linux solver is run from. Then invoke the solver.

  1. Type the following on the Linux console

    export PATH=/opt/functionbay/<CurrentVersion>:$PATH
    export RD_INSTALL_PATH=/opt/functionbay/<CurrentVersion>
    export JULIA_DIR=$RD_INSTALL_PATH/libJulia/julia-0.4.7
    export KISSSOFT_BRNG_INSTALL_PATH=$RD_INSTALL_PATH/KISSsoft/Bearing
    export LD_LIBRARY_PATH=/opt/functionbay/<CurrentVersion>:$JULIA_DIR/lib/Julia:$KISSSOFT_BRNG_INSTALL_PATH/linuxbin64:$LD_LIBRARY_PATH
    

    Note

    You can dynamically set (or change) environment variables using export, or persistently set the values in your ~/.bash_profile or ~/.bashrc file. Environment variables are read from .bash_profile at the start of the shell session, so after you save the file, you needs open a new terminal window before the changes can take effect.

    Note

    If you want to use the KISSsoft Bearing function, the KISSSOFT_BRNG_INSTALL_PATH environment variable and LD_LIBRARY_PATH must be set. Because the SO files for the KISSsoft Bearing does not be installed in the same location as the RecurDyn/Solver.
  2. Type the following on the Linux console (with/without the file extension):

    rdsolver rmd_file rss_file
    

To use the rcf file instead of the rss file An alternate form of executing the solver is to use a rcf file. The rcf file is simply the rss file with the name of the rmd file added to the first line.

  1. Create the rcf file as shown below (vi rcf_file).

    Model_1.rmd
    SIM/DYN, END = 5, STEP = 100
    STOP
    
  2. Type the following on the Linux console (with/without the file extension):

rdsolver rcf_file

To use the rds_<CurrentVersion> file

The rds_<CurrentVersion> file is a shell(batch) file which file includes setting path and calling rdsolver.

  1. Copy the rds_<CurrentVersion> file from installed path as shown below.

    cp /opt/functionbay/<RecurDyn Version>/rds_<RecurDyn Version> .
    
  2. Type the following on the Linux console using the rcf file (with/without the file extension) :

    ./rds_<RecurDyn Version> rcf_file
    
  3. Type the following on the Linux console using the rmd and rss files (with/without the file extension) :

    ./rds_<RecurDyn Version> rmd_file rss_file