Building the Flow Solver
`Prerequisites: The following packages should already be installed in a typical Linux/UNIX OS:
If the solver is to be build for parallel execution then:
The included INSTALL_NSU3D.sh script will suggest default options for some compilers, but it may be necessary to use different options for certain hardware configurations. Note that not all compilers are guaranteed to build the code successfully, although the serial version should build with many recent Fortran90/95 compliant compilers.
If the source code has been installed as above, run the install script to generate the executable for your platform.
The script will then ask a number of questions to customize the configuration to your platform:
///Installation Script for NSU3D Flow Solver///"
Default Installation Directory for Executables:
Enter Alternate Directory or Press Enter:
Default FORTRAN Compiler:
Enter Alternate FORTRAN Compiler or Press Enter:
Default FORTRAN FLAGS:
-O3 -fdefault-real-8 -march=native -ffast-math -fconvert=big-endian
Note: OpenMP support is enabled here.. ex. -fopenmp (gfortran)
Enter Alternate FORTRAN FLAGS or Press Enter:
cpp -C -P -traditional
Enter Alternate CPP or Press Enter:
Default MPI Status:
Enter for Default or set MPI_ON to enable or MPI_OFF to disable MPI
The script will then build the solver with the specified options and place the final executable in the EXECS subdirectory.
If the solver fails to build then it may be necessary to modify the compiler options or install any missing dependencies. To aid in investigating the failure, there will be a file called 'build.log' in the SOURCE directory. This file contains the compiler output and any errors that occured during the build. Please send this file along with a description of the host system, compiler, etc. to the developers when requesting assistance.