Comments (5)
The implementation of parallel HDF5 has not been tested recently and should
definitely be viewed as at-your-own risk exploratory type stuff, if you
want to try make sure to turn:
USE_COLLECTIVE_MPIO=0
in the include file.
On Tue, Nov 4, 2014 at 4:34 AM, Shawn P. Serbin [email protected]
wrote:
./configure --prefix=/data/software/hdf5/1.8.13
--with-zlib=/data/software/zlib --enable-fortranShould 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
valueAnd I think this may mean that I need to use the -fPIC compile flag for
zlib, HDF4/5 and netCDF which requires a recompile.—
Reply to this email directly or view it on GitHub
#10.
from ed2.
Your question about symbol mangling in HDF5 is a tough one. I would not
had guessed you need to recompile zlib with FPIC also, but I could be
wrong. I would try compiling netcdf without the option that turns on the
need to link with hdf5, if you don't need it. The flag for that is
--disable-netcdf-4
--disable-netcdf-4
I also try to avoid dynamic libraries if possible, but it depends on your
intended usage. So for both netcdf and hdf5 you might be able to compile
with:
--disable-shared
I can compile both ED2 and CLM without shared libraries. This might help
the build complete successfully too.
On Tue, Nov 4, 2014 at 10:13 AM, Ryan Knox [email protected] wrote:
The implementation of parallel HDF5 has not been tested recently and
should definitely be viewed as at-your-own risk exploratory type stuff, if
you want to try make sure to turn:USE_COLLECTIVE_MPIO=0
in the include file.
On Tue, Nov 4, 2014 at 4:34 AM, Shawn P. Serbin [email protected]
wrote:./configure --prefix=/data/software/hdf5/1.8.13
--with-zlib=/data/software/zlib --enable-fortranShould 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
valueAnd I think this may mean that I need to use the -fPIC compile flag for
zlib, HDF4/5 and netCDF which requires a recompile.—
Reply to this email directly or view it on GitHub
#10.
from ed2.
doh! i had that backwards...
USE_COLLECTIVE_MPIO=0 if you DON'T want to do parallel IO.
from ed2.
Hi @rgknox
Thanks for the feedback. Here is how I ran the next round of ./configures:
Zlib
CFLAGS=-fPIC ./configure -s - -prefix=/data/software/zlib/1.2.8/
HDF4
CFLAGS=-fPIC ./configure - -with-zlib=/data/software/zlib/1.2.8 - -prefix=/data/software/hdf4/4.2.10
HDF5
CFLAGS=-fPIC./configure - -with-zlib=/data/software/zlib/1.2.8 - -enable-fortran - -prefix=/data/software/hdf5/1.8.13
netCDF
export CPPFLAGS="-I/data/software/hdf5/1.8.13/include -I/data/software/hdf4/4.2.10/include -I/data/software/zlib/1.2.8/include"
export LDFLAGS="-L/data/software/hdf5/1.8.13/include -L/data/software/hdf4/4.2.10/include -L/data/software/zlib/1.2.8/include"
./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!
from ed2.
Doh!
In R
install.packages("ncdf4")
...
ncdf4 REQUIRES the netcdf library be version 4 or above,
AND installed with HDF-5 support (i.e., the netcdf library must be
compiled with the --enable-netcdf-4 flag). If you don't want to install
the full version of netcdf-4 with HDF-5 support, then please install
the old, deprecated ncdf package instead.
...
from ed2.
Related Issues (20)
- how to modify the settings to increase the NPLANT of pft 3 ? ? HOT 2
- Issue with HPC build HOT 6
- soil water off-track HOT 1
- Problem writing the T-file HOT 12
- NPLANT
- little mistake in adjust_veg_properties of rk4_misc HOT 3
- question about unit in reproduction.f90 HOT 3
- Typo in the events.f90 file HOT 3
- Docker image not being updated by GH actions
- `HYDAULIC_MORTALITY_SCHEME` missing from ED2IN HOT 4
- ED2 Installation error
- Patch Bfusion budget failed (CO2 Summary: FINE: F)
- hdf5 problem when running HISTORY mode HOT 4
- question about MPI HOT 1
- Crop yield estimation
- psi_max or psi_min in leaf phenology HOT 1
- typo in calc_plant_water_flux HOT 2
- Issue with compilation in a server HOT 4
- unable to synchronously open file
- Issue installation ED2 Model. HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ed2.