-
Notifications
You must be signed in to change notification settings - Fork 60
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
netcdf4 build fails on garnet (CrayXE6) #444
Comments
Here are the config.log and build.log files |
I always struggle with config out put having so many errors that are just the result of checks that don't necessarily need to pass. If it's just the last error that triggered the config failure, then it may just be that we need to add something like -ldl or turn off dynamic library support in netcdf. |
Sorry, I should have kicked a rebuild off on Friday. I put something in this morning and it's still going. Here's what I can tell from looking at this and my own tree: The last time I moved the branch was in July, and the associated hdf5 build with that was
Has to do with trying to link a statically linked library as if it had been dynamically linked ( But our general assumption is that we always work with dynamic libraries, particularly I/O interfaces like hdf5 that might be used across multiple modules (and therefore be linked in various separate DSOs), so I think the problem here is with your hdf5 build. You should have dynamic libraries in your HDF5 artifact, and NetCDF and other modules that depend on it should be linking dynamically. What branch of hashstack are you using, and how is it different than |
I just pushed it to cekees/stable_garnet_update. |
Damn, sorry I missed this earlier: From the configure log.
The configure test is trying to build an executable. On OS X/Linux, gcc will build dynamically-linked executables by default (that is, preferring dynamic libraries over static libraries). But on a Cray XE6, the reverse is true. You need to pass a special flag, You need to set |
This should work:
|
Just now starting to look at this. I will post the whole build.log in a gist, but I'm guessing it's the error about not finding or linking to hdf5 (which is listed as a build dependency):
2014/09/05 10:54:23 - INFO: [package:run_job] configure: error: Can't find or link to the hdf5 library. Use --disable-netcdf-4, or see config.log for errors.
2014/09/05 10:54:23 - INFO: [package:run_job] patching file RELEASE_NOTES.md
2014/09/05 10:54:23 - INFO: [package:run_job] Hunk #1 succeeded at 5 with fuzz 2 (offset -4 lines).
2014/09/05 10:54:23 - INFO: [package:run_job] patching file libsrc4/nc4file.c
2014/09/05 10:54:23 - INFO: [package:run_job] patching file nc_test4/tst_nc4perf.c
2014/09/05 10:54:23 - INFO: [package:run_job] patching file nc_test4/tst_parallel3.c
2014/09/05 10:54:24 - INFO: [package:run_job] make: *** No targets specified and no makefile found. Stop.
2014/09/05 10:54:24 - ERROR: [package:run_job] Command '[u'/bin/bash', '_hashdist/build.sh']' returned non-zero exit status 2
2014/09/05 10:54:24 - ERROR: [package:run_job] command failed (code=2); raising
The text was updated successfully, but these errors were encountered: