Creating a scelton

First, create a scelton of a grid generating program. Create a new file with the source code in List 18, and save as “sample.f90”. At this point, the grid generating program does nothing.

Compile this source code. The way to compile a source code differs by the compiler. Refer to Intel Fortran Compiler (Windows) for the procedure to compile using Intel Fortran Compiler and gfortran.

List 18 Sample grid generating program source code
1
2
3
4
program SampleProgram
  implicit none
  include 'cgnslib_f.h'
end program SampleProgram

Make sure that the compilation succeeds.