Top Page > Browsing
Error comes up when compiling openmx3.9
Date: 2022/11/18 00:07
Name: Cosmo

when i compiling in my Linux server. Some error comes up. here they are.

mpif90 -O3 -I/opt/intel/mkl/include -I./elpa-2018.05.001 -c ./elpa-2018.05.001/elpa1_compute_real.F90
precision_macros.h(62): #warning: keyword redefined: PRECISION
./elpa-2018.05.001/elpa1_compute_real.F90(57): error #7013: This module file was not generated by any release of this compiler.  [MPI]
  use mpi
------^
./elpa-2018.05.001/elpa_reduce_add_vectors.F90(79): error #7013: This module file was not generated by any release of this compiler.  [MPI]
  use mpi
-------^
./elpa-2018.05.001/elpa_transpose_vectors.F90(160): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
                      MPI_REAL8,    &
-----------------------^
./elpa-2018.05.001/elpa_reduce_add_vectors.F90(157): error #6404: This name does not have a type, and must have an explicit type.  [MPI_SUM]
                                  MPI_SUM, ipt, comm_t, mpierr)
----------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(282): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_send(d(noff+1), nmid, MPI_REAL8, n, 1, mpi_comm_cols, mpierr)
----------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(289): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
            call mpi_recv(d(noff+1), nmid, MPI_REAL8, np_off, 1, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
---------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(536): error #6404: This name does not have a type, and must have an explicit type.  [MPI_COMM_SELF]
                              matrixCols, mpi_comm_rows, mpi_comm_self, l_col(noff+1), p_col_i(noff+1), &
----------------------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(282): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_send(d(noff+1), nmid, MPI_REAL8, n, 1, mpi_comm_cols, mpierr)
----------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(289): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
            call mpi_recv(d(noff+1), nmid, MPI_REAL8, np_off, 1, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
---------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(853): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
                call mpi_send(q(l_rqs,lc1), l_rows, MPI_REAL8, pc2, mod(i,4096), mpi_comm_cols, mpierr)
----------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(858): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
              call mpi_recv(qtmp(1,nc), l_rows, MPI_REAL8, pc1, mod(i,4096), mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
--------------------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(914): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_sendrecv(q(l_rqs,lc1), l_rows, MPI_REAL8, pc2, 1, &
------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(916): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
                                mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
-----------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(955): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_SUM, mpi_comm_rows, mpierr)
----------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(955): error #6404: This name does not have a type, and must have an explicit type.  [MPI_SUM]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_SUM, mpi_comm_rows, mpierr)
---------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(982): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
                                      mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1007): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_PROD, mpi_comm_rows, mpierr)
----------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1007): error #6404: This name does not have a type, and must have an explicit type.  [MPI_PROD]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_PROD, mpi_comm_rows, mpierr)
---------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1034): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
              call mpi_recv(tmp, n, MPI_REAL8, np, 1111, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
------------------------------------------------------------------------^
compilation aborted for ./elpa-2018.05.001/elpa1_compute_real.F90 (code 1)
メンテ
Page: [1]

Re: Error comes up when compiling openmx3.9 ( No.1 )
Date: 2022/11/18 00:47
Name: Cosmo

Drea Developer:

Sorry for my offensive ask. When I installed openmx.3.9 on my linux server, the above error comes up. And there is no solution on this issue.

My makefile setting code is below:

========================================
FFTROOT=/data/xyxu-ICME/fftw
LBSROOT=/opt/intel/mkl
#MKLROOT = /opt/intel/mkl
openmp_flag = -fopenmp
fortran_lib = -lgfortran
CC = mpicc -O3 -openmp -I$(FFTROOT)/include -I$(LBSROOT)/include
FC = mpif90 -O3 -I$(LBSROOT)/include
LIB= -L$(FFTROOT)/lib -lfftw -L${LBSROOT}/lib/intel64 -mkl=parallel -lmkl_blacs_openmpi_lp64 -lmkl_scalapack_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lgfortran -lmpi
==========================================

And the error is:
============================================
mpif90 -O3 -I/opt/intel/mkl/include -I./elpa-2018.05.001 -c ./elpa-2018.05.001/elpa1_compute_real.F90
precision_macros.h(62): #warning: keyword redefined: PRECISION
./elpa-2018.05.001/elpa1_compute_real.F90(57): error #7013: This module file was not generated by any release of this compiler.  [MPI]
  use mpi
------^
./elpa-2018.05.001/elpa_reduce_add_vectors.F90(79): error #7013: This module file was not generated by any release of this compiler.  [MPI]
  use mpi
-------^
./elpa-2018.05.001/elpa_transpose_vectors.F90(160): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
                      MPI_REAL8,    &
-----------------------^
./elpa-2018.05.001/elpa_reduce_add_vectors.F90(157): error #6404: This name does not have a type, and must have an explicit type.  [MPI_SUM]
                                  MPI_SUM, ipt, comm_t, mpierr)
----------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(282): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_send(d(noff+1), nmid, MPI_REAL8, n, 1, mpi_comm_cols, mpierr)
----------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(289): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
            call mpi_recv(d(noff+1), nmid, MPI_REAL8, np_off, 1, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
---------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(536): error #6404: This name does not have a type, and must have an explicit type.  [MPI_COMM_SELF]
                              matrixCols, mpi_comm_rows, mpi_comm_self, l_col(noff+1), p_col_i(noff+1), &
----------------------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(282): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_send(d(noff+1), nmid, MPI_REAL8, n, 1, mpi_comm_cols, mpierr)
----------------------------------------------^
./elpa-2018.05.001/elpa1_solve_tridi_real_template.F90(289): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
            call mpi_recv(d(noff+1), nmid, MPI_REAL8, np_off, 1, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
---------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(853): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
                call mpi_send(q(l_rqs,lc1), l_rows, MPI_REAL8, pc2, mod(i,4096), mpi_comm_cols, mpierr)
----------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(858): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
              call mpi_recv(qtmp(1,nc), l_rows, MPI_REAL8, pc1, mod(i,4096), mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
--------------------------------------------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(914): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
              call mpi_sendrecv(q(l_rqs,lc1), l_rows, MPI_REAL8, pc2, 1, &
------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(916): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
                                mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
-----------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(955): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_SUM, mpi_comm_rows, mpierr)
----------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(955): error #6404: This name does not have a type, and must have an explicit type.  [MPI_SUM]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_SUM, mpi_comm_rows, mpierr)
---------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(982): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
                                      mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
------------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1007): error #6404: This name does not have a type, and must have an explicit type.  [MPI_REAL8]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_PROD, mpi_comm_rows, mpierr)
----------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1007): error #6404: This name does not have a type, and must have an explicit type.  [MPI_PROD]
          call mpi_allreduce(z, tmp, n, MPI_REAL8, MPI_PROD, mpi_comm_rows, mpierr)
---------------------------------------------------^
./elpa-2018.05.001/elpa1_merge_systems_real_template.F90(1034): error #6404: This name does not have a type, and must have an explicit type.  [MPI_STATUS_IGNORE]
              call mpi_recv(tmp, n, MPI_REAL8, np, 1111, mpi_comm_cols, MPI_STATUS_IGNORE, mpierr)
------------------------------------------------------------------------^
compilation aborted for ./elpa-2018.05.001/elpa1_compute_real.F90 (code 1)
=====================================================

What should I do to fix it up?

Best wish.
メンテ
Re: Error comes up when compiling openmx3.9 ( No.2 )
Date: 2022/11/18 02:31
Name: Naoya Yamaguchi

Hi,

Can you show output for the following commands?
$ mpicc -v
$ mpif90 -v

Regards,
Naoya Yamaguchi
メンテ
Re: Error comes up when compiling openmx3.9 ( No.3 )
Date: 2022/11/18 09:10
Name: Cosmo

Dear Naoya Yamaguchi:

Here is the output when typing your commands:

===============================
$ mpicc -v
icc version 15.0.1 (gcc version 4.9.0 compatibility)
$ mpif90 -v
ifort version 15.0.1
===============================

How can I do?
メンテ
Re: Error comes up when compiling openmx3.9 ( No.4 )
Date: 2022/11/18 12:38
Name: Naoya Yamaguchi

Dear Cosmo,

First, can you try the following?
$ make clean && make

Regards,
Naoya Yamaguchi
メンテ
Re: Error comes up when compiling openmx3.9 ( No.5 )
Date: 2022/11/18 15:34
Name: Cosmo

Dear Naoya Yamaguchi,

I tried your commands already and it seems not working, same old errors.

Regards,
Cosmo
メンテ
Re: Error comes up when compiling openmx3.9 ( No.6 )
Date: 2022/11/19 03:13
Name: Naoya Yamaguchi

Dear Cosmo,

The errors might be caused by the mismatch between the Intel compilers and MPI libraries.

>===============================
>$ mpicc -v
>icc version 15.0.1 (gcc version 4.9.0 compatibility)
>$ mpif90 -v
>ifort version 15.0.1
>===============================

Is the above all the parts of the output?

Regards,
Naoya Yamaguchi
メンテ

Page: [1]

Thread Title (must) Move the thread to the top
Your Name (must)
E-Mail (must)
URL
Password (used in modification of the submitted text)
Comment (must)

   Save Cookie