Hi Rajan If you have OpenMPI and gfortran (f90, f95, etc, are all aliases for it) coming from the same Linux distribution and version, they must be consistent and you shouldn't need to do anything.
If you grabbed OpenMPI from somewhere else, you must know which gfortran version was used to build it, and get and use that same version to compile your code. This is because the MPI library comes with *.mod files that are (g)fortran compiler dependent. If you feel comfortable with Linux, you could as well grab the very sources of OpenMPI, and build the MPI library with the compiler(s) you happen to have installed. clear now ? Regards, Roberto On 11/17/2016 10:54 AM, RAJAN SINGH wrote:
Dear Roberto I am facing the same problem, I didnt understand your point. Should I install openmpi using f95 or by f90? Can you tell me which versions of libraries to use? I am really stuck, kindly help me. Thanking You Regards Rajan On Wed, Nov 9, 2016 at 7:32 AM, RCP <[email protected] <mailto:[email protected]>> wrote: Hi, The message is pretty clear: the compiler used in your MPI library is different from the one you're using to compile Siesta. That's a nasty thing about *.mod files. No cure other than using the same compiler. Regards, Roberto PD: Eventualy, you might try to rebuild the MPI package using your   current fortran compiler. On 11/09/2016 12:03 PM, Rishi Sreedhar wrote: Dear team Siesta,                                    We were trying to install the parallel version of siesta 4.1-b1 on our cluster but were facing difficulty due to lack of proficiency in Linux. Hereby attaching the arch.make file and also the list of module libraries installed in the cluster. We are getting the following error: /home/r.sreedhar/siesta-4.1-b1/Src/m_matio.F90:26:8:     use mpi        1 Fatal Error: Cannot read module file ‘mpi.mod’ opened at (1), because it was created by a different version of GNU Fortran compilation terminated. make: *** [m_matio.o] Error 1 Kindly help us out as we are at our wit's end and have tried everything we know. Thank you for the time. with regards, Rishi Sreedhar.
