ml_drought icon indicating copy to clipboard operation
ml_drought copied to clipboard

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

Open tommylees112 opened this issue 5 years ago • 1 comments

Linking to the Error message defined on the xesmf Github page

[[email protected]] match_arg (utils/args/args.c:159): unrecognized argument pmi_args
[[email protected]] HYDU_parse_array (utils/args/args.c:174): argument matching returned error
[[email protected]] parse_args (ui/mpich/utils.c:1596): error parsing input array
[[email protected]] HYD_uii_mpx_get_parameters (ui/mpich/utils.c:1648): unable to parse user arguments
[[email protected]] main (ui/mpich/mpiexec.c:149): error parsing parameters

tommylees112 avatar Jul 22 '19 21:07 tommylees112

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...

tommylees112 avatar Jul 27 '19 12:07 tommylees112