** =qmckl.h= header file The =qmckl.h= header file has to be included in <<>> codes when QMCkl functions are used: #+BEGIN_SRC C :tangle none #include "qmckl.h" #+END_SRC f90 In <<>> programs, the =qmckl_f.f90= interface file should be included in the source code using the library, and the Fortran codes should use the ~qmckl~ module as #+BEGIN_SRC f90 :tangle none use qmckl #+END_SRC f90 *** Top of header files :noexport: #+BEGIN_SRC C :tangle qmckl.h :noweb yes #ifndef QMCKL_H #define QMCKL_H #include #include <> #+END_SRC #+BEGIN_SRC f90 :tangle qmckl_f.f90 module qmckl use, intrinsic :: iso_c_binding #+END_SRC The bottoms of the files are located in the [[qmckl_footer.org]] file.