-
Notifications
You must be signed in to change notification settings - Fork 49
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
Can't build VAPOR3 from scratch with Fedora 34 #2895
Comments
OK I think this really isn't a bug now that I am remembering how to build VAPOR from source. I think the key is to know what goes in (symbolically linked perhaps) each of the include directories /usr/local/VAPOR-Deps/2019-Aug/include I'd like to know what is recommended (versions etc.) so that I can have a working build environment as I get the ZFP stuff working. I'm really close now. I'd like to know whether building python from source is recommended (an option with ccmake). I am running on an up to date Fedora 34 machine. I got past the netcdf include issue by symbolically linking netcdf.h from /usr/local/VAPOR-Deps/2019-Aug/include for instance. |
Hey Scott... sorry to pester... do you know the "magic" for building VAPOR
in terms of exactly what to stick in those include directories? I have
successfully built HDF5 with ZFP compression and then NetCDF on top of
that, and need to build VAPOR with my NetCDF/HDF5 code in order to get
VAPOR working with ZFP compression (and to be able to render ZFP
compressed data at home).
Thanks for any help ASAP...
Leigh
…On Mon, Nov 8, 2021 at 10:14 PM clyne ***@***.***> wrote:
@sgpearse <https://github.com/sgpearse> can you help @leighorf
<https://github.com/leighorf> out?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2895 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAVIYHOWPPDAJL66NJ6GFTULCN3PANCNFSM5HRU6ETA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
Our third party libraries are built in a sequential order, documented here. If Vapor's third party libraries are not successfully linking to your new ones, then you'll need to rebuild the libraries that depend on NetCDF. These are the listed after NetCDF, and may include: udunits
I wish I could say which specific libraries depend on NetCDF, but I don't know. Python is the hardest library to build, and I don't think it links to NetCDF. This is a high priority issue for us. Hit me with any questions. |
@leighorf if all you want to do is link to a different version of NetCDF, the easiest path might be to:
There is also more information on building from source in our contributors guide. |
Thanks, John, I will try your "easy" suggestion first.
And thanks for the link, I wasn't aware of that page, along with Scott's
guide I should be in good shape... will keep you posted.
Leigh
…On Tue, Nov 9, 2021 at 6:44 PM clyne ***@***.***> wrote:
@leighorf <https://github.com/leighorf> if all you want to do is link to
a different version of NetCDF, the easiest path might be to:
1.
Install our pre-combined third party libraries as described here
<https://vapor.readthedocs.io/en/readthedocs/contributing.html#third-party-libraries>
2.
Build your own version of NetCDF and set the installation target to
overwrite the version of NetCDF included in our third party library tar
ball.
There is also more information on building from source in our contributors
guide
<https://vapor.readthedocs.io/en/readthedocs/contributing.html#code-contributions>
.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2895 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABAVIYCRGL6YLDWJJIN3D5LULG6AHANCNFSM5HRU6ETA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
OK we can close this! John, I followed your instructions, except I did one thing that I thought I couldn't get away with. I had already built HDF1.10.7 and NetCDF-C-4.8.1. My version of NetCDF created libnetcdf.so.19. I did a symbolic link to that from libnetcdf.so.15 (which is what VisIt expects) and it just worked haha. Living life dangerously. So I'll put on hold the whole build from scratch thing for later... So here is my VAPOR3.5 install library, with only 3 files needed to be changed/linked. I was very (pleasantly) surprised when an image popped up instead of a segfault ....... :) fuggle: /home/orf/software/VAPOR3-3.5.0-Linux/lib lt |
I need to build vapor on top of my own HDF5 / NetCDF4 build that contains ZFP compression.
I installed various libraries and got what looks like everything configured:
My ccmake configuration
VERBOSE=1 make provides:
So while I can tell cmake where the netcdf shared library is I don't know how to tell it where the include files are... they are in /home/orf/software/include....
The text was updated successfully, but these errors were encountered: