Intel® MPI Library
Get help with building, analyzing, optimizing, and scaling high-performance computing (HPC) applications.
2275 Discussions

while compiling comGSIv3.7_EnKFv1.3 getting below error.

chaitali495
Beginner
1,256 Views

while compiling comGSIv3.7_EnKFv1.3 getting below error while running make command ,
i am using intel/2020.4.304 compiler.

ERROR: 

[ 97%] Building Fortran object src/enkf/CMakeFiles/enkfdeplib.dir/covlocal.f90.o /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(390): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(logp,npts*nlevs_pres,mpi_real4,0,MPI_COMM_WORLD,ierr) ----------------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(391): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(lonsgrd,npts,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(392): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(latsgrd,npts,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(393): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(ptop,1,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(716): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(logp,npts*nlevs_pres,mpi_real4,0,MPI_COMM_WORLD,ierr) ----------------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(717): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(lonsgrd,npts,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(718): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(latsgrd,npts,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------------^ /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90(719): error #6405: The same named entity from different modules and/or program units cannot be referenced. [MPI_COMM_WORLD] call MPI_Bcast(ptop,1,mpi_real4,0,MPI_COMM_WORLD,ierr) --------------------------------------^ compilation aborted for /home/users/sreehari24/arka/comGSIv3.7_EnKFv1.3/src/enkf/gridinfo_wrf.f90 (code 1) make[2]: *** [src/enkf/CMakeFiles/enkfdeplib.dir/build.make:348: src/enkf/CMakeFiles/enkfdeplib.dir/gridinfo_wrf.f90.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:1662: src/enkf/CMakeFiles/enkfdeplib.dir/all] Error 2 make: *** [Makefile:101: all] Error 2

0 Kudos
1 Reply
TobiasK
Moderator
1,225 Views

Only the latest version of oneAPI is supported, however, your error indicates a coding problem, you may raise your question in the Fortran forum

0 Kudos
Reply