ecmwf / fckit

A Fortran toolkit for interoperating Fortran with C/C++
https://confluence.ecmwf.int/display/fckit
Apache License 2.0
29 stars 15 forks source link

Recursion bug in generated makefile #9

Closed jarethholt closed 5 years ago

jarethholt commented 5 years ago

I'm getting an odd recursion when running make install for fckit. The module directory keeps getting written to a subfolder of itself, so I get a tree of

{fckitdir}/build/module/fckit/./fckit/fckit/.../fckit/*.mod

of the same modules over and over. An fckit binary is generated, though I haven't tested to see if it works correctly. Any ideas what this could be? Are there any steps of the build process that come after this? cmake.log ecbuild.log install.txt make.log

jarethholt commented 5 years ago

Moving the install directory out of the build directory fixed it. I had a similar issue with Atlas, but not with eccodes, ecbuild, or eckit.