Re: [OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread Miroslav Iliaš
Hello, declaration of ierr does not help. OpenMPI 5.0.7 has some strange deklaration of "dummy argument", giving this error: pi_upd.F90(40): error #6633: The type of the actual argument differs from the type of the dummy argument. [IERR] pi_upd.F90(44): error #6633: The type of the actual a

Re: [OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread 'Jeff Squyres (jsquyres)' via Open MPI users
How did you build Open MPI? Did you specify "-i8" for the FCFLAGS, perchance? What is the output of mpifort --showme? Open MPI definitely defines the mpi module MPI_INIT interface to take an integer as its parameter: https://github.com/open-mpi/ompi/blob/v5.0.x/ompi/mpi/fortran/use-mpi-ignore-

Re: [OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread Miroslav Iliaš
Dear Jeff, indeed, you are right, the module is not properly built. mpifort --showme ifort -I/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/openmpi/v5.0.7_icc2021/include -I/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/openmpi/v5.0.7_icc2021/lib -L/cvmfs/hybrilit.jinr.ru/sw/slc7_x86-64/openmpi/v5.0.7_icc2021

Re: [OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread 'Jeff Squyres (jsquyres)' via Open MPI users
Does that mean you've fixed the environment module, and now everything is working as expected / your program compiles properly with Open MPI v5.0.x? From: Miroslav Iliaš Sent: Wednesday, May 28, 2025 4:22 PM To: Open MPI users Cc: Jeff Squyres (jsquyres) Subject

Re: [OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread 'Jeff Squyres (jsquyres)' via Open MPI users
I am not a Fortran expert, but you did not declare ierr to be a specific type (e.g., integer). If you declare it properly, does the problem go away? From: users@lists.open-mpi.org on behalf of Miroslav Iliaš Sent: Wednesday, May 28, 2025 11:22 AM To: Open MPI u

[OMPI users] openmpi5.0.7 with Intel2021 can not compile simple MPI program, error #6633

2025-05-28 Thread Miroslav Iliaš
Dear OpenMPI community, we have new openmpi5.0.7 library compiled with Intel2021 compilers. Hower, compiling simple program fails with errors #6633 . Here it is: https://gitlab.com/miro.ilias/mi_programming/-/blob/master/mpi_tests/pi_parallel/readme_govorun.rst and the whole directory : htt