-
Notifications
You must be signed in to change notification settings - Fork 112
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
To enable or not to enable parallel [in HDF5]? That is the question. #10
Comments
The implementation of parallel HDF5 has not been tested recently and should USE_COLLECTIVE_MPIO=0 in the include file. On Tue, Nov 4, 2014 at 4:34 AM, Shawn P. Serbin notifications@github.com
|
Your question about symbol mangling in HDF5 is a tough one. I would not --disable-netcdf-4 I also try to avoid dynamic libraries if possible, but it depends on your --disable-shared I can compile both ED2 and CLM without shared libraries. This might help On Tue, Nov 4, 2014 at 10:13 AM, Ryan Knox rgknox@lbl.gov wrote:
|
doh! i had that backwards... USE_COLLECTIVE_MPIO=0 if you DON'T want to do parallel IO. |
Hi @rgknox Thanks for the feedback. Here is how I ran the next round of ./configures: Zlib HDF4 HDF5 netCDF ./configure --disable-shared --disable-netcdf-4 --prefix=/data/software/netcdf/4.3.2 *Note I could not get make to work without invoking the --disable-shared --disable-netcdf-4 switches. Not sure why....but thanks for the suggestion! |
Doh!
... |
./configure --prefix=/data/software/hdf5/1.8.13 --with-zlib=/data/software/zlib --enable-fortran
Should I also: --enable-parallel ?
I know that when I compile without using that switch configure uses mpi* compilers. I just can not remember if this is specifically needed, particularly with a mpirun/gridded run.
I am having some down-stream issues with not being able to make the latest netCDF:
/usr/bin/ld: /data/software/hdf5/1.8.13/lib/libhdf5_hl.a(H5DS.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
/data/software/hdf5/1.8.13/lib/libhdf5_hl.a: could not read symbols: Bad value
And I think this may mean that I need to use the -fPIC compile flag for zlib, HDF4/5 and netCDF which requires a recompile.
The text was updated successfully, but these errors were encountered: