Running CFL3Dv6 And Related Codes


CONTENTS

NOTES:

  1. All the run commands shown below are shown as if the executable resides in the working directory; if environment variables are set up as suggested under Building Executables then any of the executable names shown below would need to be prepended by a $.
  2. Only the parallel versions of cfl3d (cfl3d_mpi and cfl3dcmplx_mpi) can be run on multiple processors; all other codes in the Version 6 package run on single processors.
  3. Codes that are not interactive are shown as being executed in the background, with the command line ending in an &. Interactive codes that require userinput are shown without the &.


PRECFL3D

Because version 6 has dynamic memory allocation, there is no requirement to run precfl3d before you can run cfl3d. However, you may still find it useful to do so in order to assess how much memory will be required to run the case at hand, allowing you to determine whether a particular problem can fit within the memory of the machine, or to deterimine the appropriate queue in which to submit the job.

The usage of precfl3d has changed slightly from previous versions: you must now specify the number of processors in addition to the input file, for example:

where num_procs is the total number of processors, including the host. When running on a single processor, that processor is the host, so num_procs=1 will suffice to assess the memory requirements for the sequential version of the code.

An important reason why you may want to run precfl3d before running the parallel version of the code is that for num_procs > 1, precfl3d will output an auxiliary file called ideal_speedup.dat. This file will list the best possible speedup you could hope to achieve for the current case, using various numbers of compute processors, ranging from 1 to the number of zones in your grid.

Return To Top

CFL3D

  • Standard (real) code, single processor:
  • Derivative (complex) code, single processor:
  • Standard (real) code, multiple processor:
  • Derivative (complex) code, multiple processor:
  • where num_procs is the number of processors you will use.

    Note: the current parallel code uses one of these processors as a host that performs I/O and coordination tasks, but does not perform any significant computational work. Thus, the code really only effectively uses num_procs - 1 processors.

    You may want to verify the correct procedure for running mpi code on your your platform (e.g. some mpp's use -n instead of -np)

    As a general rule, when running CFL3D one should always search through the standard output file (usually called cfl3d.out) for "WARNING" messages and other information, including possible grid problems such as a "geometric mismatch" between zones.

    Return To Top

    PRERONNIE

    Like cfl3d, ronnie now has dynamic memory allocation, there is no requirement to run preronnie before you can run ronnie. However, you may still find it useful to do so in order to assess how much memory will be required to run the case at hand, allowing you to determine whether a particular problem can fit within the memory of the machine, or to deterimine the appropriate queue in which to submit the job. Since ronnie currently runs on only a single processor, there is no need to specify num_procs as there is for precfl3d:

    Return To Top

    RONNIE

    Return To Top

    MAGGIE

    NOTE: maggie currently does not have dynamic memory allocation, and will have to be recompiled for each new case

    Return To Top

    SPLITTER

  • Standard (real) block/input file splitter:
  • Complex-valued grid block/input file splitter:
  • Return To Top

    MOOVMAKER

    A typical interactive run is shown, with user input in bold:

    
    
    
    
    
    
    
    
    
    
    
    
    
    

    the "number of frames are in the plot3d file" is given near the bottom of the cfl3d.out file when the cfl3d input parameter movie is .ne. 0, so be sure to check for this before you run moovmaker.

    Return To Top

    PLOT3DG_TO_CGNS

    A typical interactive run is shown, with user input in bold:

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     
    
     
    
    
    
    
     
    

    (additional informational output not shown)

    Return To Top

    GRID_PERTURB

  • Standard (real-valued) grid perturbation tool:
  • A typical interactive run is shown, with user input in bold:

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
     
    
    
    
    
    
    
    

  • Complex-valued grid perturbation tool:
  • A typical interactive run is similar to that shown for the real-valued case

    Return To Top

    GET_FD

    A typical interactive run is shown:

    
    
    
    
    
    
    
    
    
    
    
    
    
    
    

    Return To Top


    Page Curator and NASA Responsible Official: Christopher L. Rumsey

    Last Updated: January 16, 2007

    Privacy Statement

    LMS Feedback Form