problem running lammps

I could run lammps on both my macbook pro and Imac up until two days ago. I dont know exactly what happened but now running any LAMMPS input scripts give me the following error. I know its probably related to open mpi but I can run my other python codes using mpiexec without any problems and I also updated my open mpi. But that didnt solve the issue either. here is the error message . I appreciate any help.

[] [[19428,0],0] ORTE_ERROR_LOG: Bad parameter in file orted/pmix/pmix_server.c at line 262
[] [[19428,0],0] ORTE_ERROR_LOG: Bad parameter in file ess_hnp_module.c at line 666

This is probably an issue with multiple MPI implementations on your machine. You need to make sure that you are compiling LAMMPS with the compilers for the same MPI implementation that you are using at run time.