Comments (2)
Thanks @v1j4y !
This bug was observed on the local curie
cluster at LCPQ. Both issues have the same origin, which I will address as No.2 in the list below. However, on curie
there are two unrelated bugs:
- Issue with co-existing HDF5 installations (serial and parallel):
- Bug: Several modules (e.g. HDF5) are installed using Spack package manager on
curie
. These modules can be loaded usingmodule load hdf5/<hdf5-version>
and some of them correspond toparallel
version of HDF5. However, there is also a default serial HDF5 installation (version 1.8.12) present in/usr/bin
and/usr/lib
. Thus,AX_LIB_HDF5()
macro proceeds to search in the path first for serial installation (usingh5cc
compiler) and only if it is not found it looks for the parallel one (usingh5pcc
compiler). So even when parallel HDF5 module is loaded, it is not discovered due to existing installation in/usr/bin
which is always seen first, no matter the order ofPATH
directories. - Solution:
1.1 Replace the call toAX_LIB_HDF5()
inconfigure.ac
withAX_LIB_HDF5([parallel])
so that the search proceeds directly to usehpcc
, which correspond to the loaded module and not to the default HDF5 installation.
1.2 Since in this case the parallel version is used, HDF5 headers will try to#include "mpi.h"
. If you get an error pointing tompi.h : no such file or directory
, then you need to load the MPI too. Oncurie
, do something likemodule load openmpi/3.1.2-gcc-7.3.0
.
- Issue with
PKG_CHECK_MODULES
macro frompkg.m4
:
- Bug:
./configure
execution results insyntax error near unexpected token PKG_CFLAGS=""'
orsyntax error near unexpected token HDF5,'
related toPKG_CHECK_MODULES
macro fromconfigure.ac
. - Solution:
2.1. Executeaclocal -I m4
in TREXIO root directory before runningautogen.sh
orautoreconf -i
. More details here: https://stackoverflow.com/questions/36659867/pkg-check-modules-syntax-error-near-luajit .
2.2 Oncurie
the aforementioned solution does not work, so one has to load thepkg-config
module, i.e.module load apps/pkg-config-0.29.2-gcc-8.2.0
).
from trexio.
Something unrelated, but also observed on curie
:
- Bug: in the output of
./configure
execution there ischecking for GNU libc compatible malloc... no
line. After thatmake
execution produces errorundefined reference to 'rpl_malloc'
. This issue comes fromAC_FUNC_MALLOC
built-in macro, which definesrpl_malloc
if for some reason GLIBC-compatiblemalloc
is not found/compiled. See, for example, this issue: maxmind/libmaxminddb#144 - Solution: This is a cross-compilation bug, where my experience is somewhat limited. One possible workaround here is to patch configure execution like this
ac_cv_func_malloc_0_nonnull=yes ./configure <configure_flags_if_any>
.
from trexio.
Related Issues (20)
- Still reachable memory reported by Valgrind
- pkg-config is broken after HDF5 detection rewriting
- External group HOT 2
- Loss of precision in Python HOT 3
- Versioning of python packages HOT 2
- pip installation without HDF5 installed. HOT 12
- trexio --without-hdf5 needs hdf5 HOT 3
- Multidimensional lists not flatten correctly in Python front end HOT 3
- `TREXIO` group indirection in HDF5 backend HOT 1
- Add the ability to read arbitrary hyper-rectangles of dense arrays
- MacOS ARM64 runners HOT 4
- MO-coefficients get mangled when written and read again HOT 2
- Name convention for trexio_open HOT 6
- Import only used variables and procedures HOT 4
- Static and dynamic library compilation with cmake result in static library only HOT 7
- Fortran interface to write reciprocal lattice vectors is broken HOT 4
- Generally contracted basis sets and number of primitives HOT 1
- Partial ECPs HOT 3
- verbose error reporting HOT 2
- Does the TREXIO format support Cartesian contaminants? HOT 3
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 trexio.