CONTENTS
The "executive summary" summarizes the basic installation procedure and may be all you really want to know
To install CFL3v6 on a particular machine, you must first get it from:
STEP 1)
You should have the following directory structure:
cfl3d directory structure: top directory | ------------------- | | | SOURCE BUILD HEADER | -------------------------------------------- | | | | | | CFL3D PRECFL3D RONNIE MAGGIE SPLITTER TOOLS | ------- | | DIST LIBS build directory structure: BUILD | ---------------------------------------------------------------- | | | | | | | | | CFL CFLCMPLX PRECFL PRERON RON MAG TOOLS SPLIT SPLITCMPLX | | | | | | | | | --------- ---------- | | | | | | | | | | | | | | | | | | | | LIBS SEQ MPI LIBS SEQ MPI SEQ SEQ SEQ SEQ SEQ SEQ SEQ
The source directory and its associated subdirectories hold the source code for CFL3D and its supporting codes. The build directory is used to create execuatbles from the code in the source directories. Some pieces of source code get copied into the build directories, while other pieces of source code get soft-linked to the build directories. Thus, source code appears visible in the build directories; however, if the user desires to make any permanent changes to the source code, the changes need to be made an the source code directory level, not the build directory level.
Next, cd to the build directory. Make sure the script file Install has execute permission.
STEP 2)
NOTE: the Install script is very old, and may or may not create a workable makefile for your particular machine. Also, CFL3D has mostly been used on Linux-type machines; there is no option for compiling on a Windows machine.
Type:
Where [options] may be one or more of the following:
Note: the directory paths for either the mpichdir or cgnsdir options should be either absolute paths or paths relative to the installation directory; the use of ~ to denote a home directory is not allowed.
sysfile = 'rm -f stop' call system(sysfile)If you are running under these circumstances, you will need to comment out these 2 lines of code, and manually delete the "stop" file if it exists. prior to your run.
Standard installation on all MPPs (except for the SP2), Cray C90, and stand-alone workstations would simply be:
This will create a makefile set up for optimized compilation, double precision, using native MPI libraries when needed. Note: the install script assumes some very basic locations for the MPI directories - you may need to alter these for your own particular system.
Standard installation on a Linux machine with Intel compiler would be:
The Install script works by querying the current machine for its achitecture, then sets up the various compilation flags based on the architecture, and creates a file called makefile by edititing the Makefile.in file and inserting the proper compiler flags. This eliminates the need for multiple makefiles that are typical of other versions of CFL3D.
At this point CFL3Dv6 has been installed on your machine and you should have a makefile suited to the particular machine on which you are running. At the end of the install script, several messages are written out, indicating which platform it thinks you are using, where it assumes the mpi directories are, etc. The script will also suggest you type make to see a description of the various make options. The next step is to build the executables you want Building Executables.
To install the CFL3Dv6 system:
Responsible NASA Official:
Christopher Rumsey
Page Curator:
Christopher Rumsey
Last Updated: 05/01/2018