You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For some reason cprnc did not readily build on my system. Also, I could not figure out how to pass either the correct flags to define netcdf, or the environment variables to define netcdf.
Ultimately, I just hacked into the file cmake/FindNetCDF.cmake and hard-coded in the lines for execute process that calls the nc-config and the nf-config where I have netcdf installed.
For instance to force it to define the netcdf fortran include dirs, I just added the path to my nf-config, like so:
This is probably a really silly way to get it to find the netcdf includes and libs, but I tried many environment variable combinations and just couldn't find anything that worked.
Also, like other issue creators have mentioned, yes, you do have to run "make" after you run "cmake".
The text was updated successfully, but these errors were encountered:
rgknox
changed the title
compilation notes on a random linux system
compilation notes on a linux system
Jan 27, 2025
For some reason cprnc did not readily build on my system. Also, I could not figure out how to pass either the correct flags to define netcdf, or the environment variables to define netcdf.
Ultimately, I just hacked into the file cmake/FindNetCDF.cmake and hard-coded in the lines for execute process that calls the nc-config and the nf-config where I have netcdf installed.
For instance to force it to define the netcdf fortran include dirs, I just added the path to my nf-config, like so:
This is probably a really silly way to get it to find the netcdf includes and libs, but I tried many environment variable combinations and just couldn't find anything that worked.
Also, like other issue creators have mentioned, yes, you do have to run "make" after you run "cmake".
The text was updated successfully, but these errors were encountered: