ECMWFCode4Earth / ml_drought

Machine learning to better predict and understand drought. Moving github.com/ml-clim
https://ml-clim.github.io/drought-prediction/
92 stars 18 forks source link

MPI Errors with XESMF regridder match_arg (utils/args/args.c:159): unrecognized argument pmi_args #71

Open tommylees112 opened 5 years ago

tommylees112 commented 5 years ago

Linking to the Error message defined on the xesmf Github page

[mpiexec@linux1.ouce.ox.ac.uk] match_arg (utils/args/args.c:159): unrecognized argument pmi_args
[mpiexec@linux1.ouce.ox.ac.uk] HYDU_parse_array (utils/args/args.c:174): argument matching returned error
[mpiexec@linux1.ouce.ox.ac.uk] parse_args (ui/mpich/utils.c:1596): error parsing input array
[mpiexec@linux1.ouce.ox.ac.uk] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments
[mpiexec@linux1.ouce.ox.ac.uk] main (ui/mpich/mpiexec.c:149): error parsing parameters
tommylees112 commented 5 years ago

Current fix (which is very hacky):

LD_LIBRARY_PATH=''

ESMF was linking the Intel MPI instead of the conda-installed MPI (I remember it is MPICH)... MPI is required to compile ESMF, but xesmf is actually not using any MPI functionalities (either mpirun or MPI.Spawn ). So this MPI dependency unfortunately just complicates the installation process. MPI is required to compile ESMF, but xesmf is actually not using any MPI functionalities (either mpirun or MPI.Spawn ). So this MPI dependency unfortunately just complicates the installation process...