-
Notifications
You must be signed in to change notification settings - Fork 14
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
Unhelpful install instructions #306
Comments
Unfortunately installing the various libraries that wgrib2 needs is very system dependent. --------------- to install iplib ------------------- rm -rf $HOME/ip -----------install openjpeg -------------------- ----------install netcdf and hdf4----- png --------- install g2c -------------- cmake -DCMAKE_INSTALL_PREFIX=$HOME/ip .. do not do "make -j(some integer)"make test ----- Caution ----------------- After you have installed the library, Now to build wgrib2 git clone [email protected]:NOAA-EMC/wgrib2.git mkdir build parallel build |
OK, so how can we make this better?
|
Installing ip was easy once you knew to install openblas-dev
and the URL of ip.
Installing g2c was a pain because you need to compile Jasper. Getting
Jasper going was a difficult because you need 11 options to get the
Cmake to work. If it were documented that g2c could use OpenJPEG,'
I could have saved much time.
Installing netcdf was easy using synaptic.
…On Mon, Jan 13, 2025 at 3:31 PM Edward Hartnett ***@***.***> wrote:
OK, so how can we make this better?
- We could release ip/g2c into the ubuntu package management system.
This is not hard, IIRC.
- Apparently parallel make builds did not work for you on g2c? In such
cases it's important to capture output and open an issue. We can make sure
this works.
- We could release wgrib2 as an ubuntu package?
—
Reply to this email directly, view it on GitHub
<#306 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEIB7ZTN2V3ZEHT2KORVT3D2KQPB7AVCNFSM6AAAAABUZGGIMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKOBYGEZTIMBXGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Chiming in with my two cents: If wgrib2 were available in apt for Ubuntu, that would make me sooo happy. My question there would be how it would handle various options; e.g. IPLOATES is optional but I need it for my applications, would this be enabled in the apt version? I'm installing this now for the first time since moving to Cmake and to be honest the new workflow surrounding ip/g2c is giving me a learning curve. |
The README says to run
cmake .. -DCMAKE_INSTALL_PREFIX=install -DCMAKE_PREFIX_PATH=path/to/dependencies
, but does not specify what dependencies are needed.The text was updated successfully, but these errors were encountered: