Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot create offline source tarball on ufs-v2.0.0 branch #203

Open
maddenp opened this issue Feb 11, 2022 · 1 comment
Open

Cannot create offline source tarball on ufs-v2.0.0 branch #203

maddenp opened this issue Feb 11, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@maddenp
Copy link

maddenp commented Feb 11, 2022

Describe the bug
cmake -DDOWNLOAD_ONLY=ON . as described in README.md on the ufs-v2.0.0 branch does not work. A netCDF installation is demanded. If pointed to a netCDF installation, an ESMF installation is then demanded. netCDF and ESMF should not be required to download source code. This problem doesn't exist on the develop branch, but the contents of the download directory that branch creates differ from what is downloaded on ufs-v2.0.0 when, by pre-building netCDF and ESMF, the sources can finally be downloaded.

To Reproduce
Unrelated output elided:

git clone https://github.com/NOAA-EMC/NCEPLIBS.git
cd NCEPLIBS
git checkout ufs-v2.0.0
cmake -DDOWNLOAD_ONLY=ON .
...
CMake Error at CMakeLists.txt:259 (find_package):
  By not providing "FindNetCDF.cmake" in CMAKE_MODULE_PATH this project has
  asked CMake to find a package configuration file provided by "NetCDF", but
  CMake did not find one.
...

Expected behavior
Source is downloaded as it is on the develop branch.

System
Linux

Additional context
A workaround for me would be to download the source on the develop branch, but I would need to know that it satisfies the requirements of the code on the ufs-v2.0.0 branch.

@maddenp maddenp added the bug Something isn't working label Feb 11, 2022
@edwardhartnett
Copy link
Contributor

A better workaround it to download and install the libraries separately.

We are moving to a spack-based distribution, and the NCEPLIBS project will be retired...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants