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 have the following file:
Make sure that:
STEP 1)
Type:
You should end up with the following directory structure:
cfl3dv6 directory structure: CFL3DV6 | ------------------- | | | 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 cfl3dv6 directory will reside one directory level below the one in which you executed the packitup script. 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.
The cfl3dv6 directory will have a README file which contains most of the installation information included here, though you may want to check for additional or late-breaking information. Next, cd to the build directory. Make sure the script file Install has execute permission.
STEP 2)
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 workstation cluster would be:
This will create a makefile set up for optimzed compilation, double precision, using the MPI routines contained in the MPICH libraries when needed.
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.
Once you have CFL3Dv6 installed on your machine, you may want to make an alias to the build directory, since compilation of the various executables will always be done in that directory. If you tend to edit the source code frequently, you may want to make a similar alias to the source directory. Such aliases will relieve you from having to type or remember the whole path. Some examples include:
To install the CFL3Dv6 system:
Page Curator and NASA Responsible Official: Christopher L. Rumsey
Last Updated: February 20, 2008