...
The tool can be currently executed from the command line. Soon, it will be integrated to the Jorek fortran code in order to be called from Jorek in different use-cases.
1. COMPILING THE SOURCES
...
Code Block |
---|
$ cd jorek/util/nmlist2h5 Requirements: HDF5 version >= 1.12 To use the provided Makefile, be sure that: - The HDF5_HOME environment variable is defined in order to find the HDF5 header files - The HDF5 lib directory is referenced by the LD_LIBRARY_PATH variable, for linking - BOOST library is available in your system Compiling: $ make -f Makefile_namelist Example: [nmlist2h5]$ make -f Makefile_namelist gcc -c -o namelist2h5.o namelist2h5.c gcc -c -o h5_2_namelist.o h5_2_namelist.c gcc -c -o h5_utils.o h5_utils.c gcc -c -o namelist_api.o namelist_api.c g++ -pthread -Wl,--no-undefined -o namelist_api namelist2h5.o h5_2_namelist.o h5_utils.o namelist_api.o -L/Applications/libraries/hdf5/1.12.0/gcc/6.4.0/lib -lhdf5 |
...