Closed caroduro closed 6 years ago
Clean build. Fails at import with sympy
requirement.
sympy clean build after fixing a minor manpage issue. sympy import problem - now needs mpmath.
mpmath built and example at http://mpmath.org/ works.
>>> from mpmath import mp
>>> mp.dps = 50
>>> print(mp.quad(lambda x: mp.exp(-x**2), [-mp.inf, mp.inf]) ** 2)
3.1415926535897932384626433832795028841971693993751
Sympy examples now working. (Per https://github.com/sympy/sympy/wiki/Quick-examples .) Rebuilding to add mpmath RPM dependency.
Needs later cf_units.
latest cf-units (2.0.2) requires cftime
cftime clean build and import and fixed dependency in cf-units
ImportError: Bad mpi4py version: ILAMB 2.3 requires mpi4py >= 1.3.1 got 1.3
Updating mpi4py.
Wanted only to update it to 1.3.1, because later releases have different major version, but getting these kind of errors - https://github.com/hashdist/hashstack-old/issues/18 - so will just try the latest version.
Latest mpi4py not building either. Also tried with mvapich2-devel.
mpi4py 1.3.1 clean build for both platform_mpi and mpich versions (was using confusing wrong version of spec file lacking fixes for previously solved issues - which will be removed)
Added dependencies in ILAMB and rebuilt. (Cannot add the dependency for mpi4py directly in ilamb as there are different versions on Sci machine and Lotus, but added these in the relevant places at the top level in the JAP.) Clean import now.
Quick test with ilamb-fetch
command line executable. It is fetching something.
Tried with ilamb-table
(without command line args). It seems that
from mpi4py import MPI
does not work as-is -- it gives
ImportError: libmpich.so.12: cannot open shared object file: No such file or directory
But it will work if LD_LIBRARY_PATH=/usr/lib64/mpich/lib/
is set.
The mpich
provides a module file, and it works after doing module load mpich
. Will document this for users. The arrangements on Lotus (using platform_mpi) are different and do not require this. This is existing situation with mpi4py
and is not affected by the version upgrade.
But basically working now - as far as I can establish with quick tests.
Would it be possible to get ILAMB (https://bitbucket.org/ncollier/ilamb) installed, for comparing data-model and observations?