Issue Compiling OpenMX 3.9 |
- Date: 2020/07/01 05:28
- Name: David
<davgumo@me.com>
- Hi,
I am trying to compile the code with openmpi and scalapack from netlib ( I do not have intel fortran or intel MKL), but I am getting the following error:
In file included from TRAN_DFT.c:25: openmx_common.h:75: error: redefinition of typedef ‘Type_Orbs_Grid’ tran_prototypes.h:36: note: previous declaration of ‘Type_Orbs_Grid’ was here make: *** [TRAN_DFT.o] Error 1
it seems like this has been mentioned before but I can't find a clear solution here in the forum. Can any body give me a hand?
This is my makefile:
CC = /home/davidguzman/Apps/openmpi_3.1.6_install/bin/mpicc -O3 -fopenmp -ffast-math -I/home/davidguzman/Apps/openmpi_3.1.6_install/include FC = /home/davidguzman/Apps/openmpi_3.1.6_install/bin/mpif90 -O3 -fopenmp -ffast-math -I/home/davidguzman/Apps/openmpi_3.1.6_install/include LIB = -L/home/davidguzman/Apps/openmpi_3.1.6_install/lib -lmpi -lmpi_mpifh -lgfortran -lpthread -liomp5 -L/usr/lib64 -llapack -lblas -L/home/davidguzman/Apps/scalapack -lscalapack -L/home/davidguzman/Apps/fftw-3.3.8_lib/lib -lfftw3
Thanks, David
| |