The CFD General Notation System (CGNS) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations. All development work and bug fixes should be based off the 'develop' branch, CGNS uses the branching model Gitflow.
The CFD General Notation System (CGNS) provides a standard for recording and recovering computer data associated with the numerical solution of fluid dynamics equations.
cmake
Install HDF5 on your system.
./configure
, make
, sudo make install
should install HDF5 without problems on most systems.Unpack the tar ball containing the source code into some directory.
Create a new directory in which to build the library.
Use cmake
to initialize the build tree.
user@hostname:build_path$ cmake /path/to/cgns/sources/
Use ccmake
to edit the control variables as needed.
user@hostname:build_path$ ccmake .
CMAKE_PREFIX_PATH=$HDF_DIR
for linking with a specific HDF5 version.
HDF5_NEED_MPI
flag must be set to true
.zlib
and szip
support, these need to be flagged with HDF5_NEED_ZLIB
and HDF5_NEED_SZIP
as well as the paths for those libraries.CGNS_ENABLE_FORTRAN
variable.
FORTRAN_NAMING
.gfortran
and pgf90
the value of FORTRAN_NAMING
should be LOWERCASE_
.c
. Variables who's value has changed are marked with a *
in the interface.Makefile
s must be generated by pressing g
.Use make
to build the library.
user@hostname:build_path$ make
Installation of the library is accomplished with the install
target of the makefile.
user@hostname:build_path$ make install
make
./configure
, make
, sudo make install
should install HDF5 without problems on most systems../configure
, make
, make install
will suffice.src/SampleScripts
.The distribution and use of the CGNS software is covered by the following license:
This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
This notice may not be removed or altered from any source distribution.
This license is borrowed from the zlib/libpng License:
http://www.opensource.org/licenses/zlib-license.php
and supersedes the GNU Lesser General Public License (LGPL) which previously governed the use and distribution of the software.
For details on the policy governing the distribution of the CGNS standard and software see:
http://www.grc.nasa.gov/www/cgns/charter/principles.html
CGNS uses the branching/release model as summarized at: