Thank you all for your suggestions !! I found an answer to a similar case in Open MPI FAQ (Question 15)FAQ: Running MPI jobs
| | | | | | | | | | | FAQ: Running MPI jobsTable of contents: What pre-requisites are necessary for running an Open MPI job? What ABI guarantees does Open MPI provide? Do I need a common filesystem on a... | | | | Afficher sur www.open-mpi.org | Aperçu par Yahoo | | | | | which suggests to use mpirun's prefix command line option or to use the mpirun wrapper. I modified my command to the following mpirun --prefix /opt/openfoam30/platforms/linux64GccDPInt32Opt/lib/Openmpi-system -np 1 pimpleDyMFoam -case OF But, I got an error (see attached picture). Is the syntax correct? How can I solve the problem? That first method seems to be easier than using the mpirun wrapper. Otherwise, how can I use the mpirun wrapper? Regards,islem Le Mercredi 25 mai 2016 16h40, Dave Love <d.l...@liverpool.ac.uk> a écrit : I wrote: > You could wrap one (set of) program(s) in a script to set the > appropriate environment before invoking the real program. I realize I should have said something like "program invocations", i.e. if you have no control over something invoking mpirun for programs using different MPIs, then an mpirun wrapper needs to check what it's being asked to run.