problem while cmpiling openmx3.8 with intel 2015 |
- Date: 2018/02/28 23:33
- Name: fang liwen
<924890924@qq.com>
- Hello openmx developers and users,
While compiling openmx with intel 2015 or 2017, I always get the same warning, as below
------------------------------------------------------------------------------
liberi-091216/source/eri.c(133): warning #167: argument of type "double **" is incompatible with parameter of type "const double **" ERI_LL_Overlap_d(solver, p, dp, alp1, dalp1, alp2, dalp2, cx); ^
liberi-091216/source/eri.c(133): warning #167: argument of type "double **" is incompatible with parameter of type "const double **" ERI_LL_Overlap_d(solver, p, dp, alp1, dalp1, alp2, dalp2, cx); ^
liberi-091216/source/eri.c(228): warning #167: argument of type "double *" is incompatible with parameter of type "double (*)[3][2]" ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG, ^
liberi-091216/source/eri.c(228): warning #167: argument of type "double **" is incompatible with parameter of type "const double **" ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG, ^
liberi-091216/source/eri.c(228): warning #167: argument of type "double **" is incompatible with parameter of type "const double **" ERI_Integral_GL_d(solver, I4, dI4, glF, glG, dglF, dglG,
------------------------------------------------------------------------------------------
The makefile is like that ------------------------------------------------------------------------------------------
CC = mpiicc -O2 -Dscalapack -xHOST -ip -no-prec-div -openmp -I/home/flw1/software/intel/intel2015/composer_xe_2015.0.090/mkl/include/fftw FC = mpiifort -O2 -xHOST -ip -no-prec-div -openmp LIB= -L/home/flw1/software/intel/intel2015/composer_xe_2015.0.090/mkl/lib/intel64 -mkl=parallel -lmkl_intel_ilp64 -lmkl_intel_thread -lmkl_core -lpthread -lifcore -lmpi -lmkl_blas95_ilp64 -lmkl_lapack95_ilp64 -lmkl_scalapack_ilp64 -lmkl_blacs_intelmpi_lp64
------------------------------------------------------------------------------------------
The openmx can be got and run , but will exit with " Segmentation fault ", I cant figure the reason of the problem Hope anyone can give some advice, thanks a lot
| |