Installation error of OpenMX 3.9 on Mac |
- Date: 2024/07/03 19:03
- Name: A. Terasawa
<a.terasawa@rist.or.jp>
- I'm now trying to install OpenMX 3.9 on Mac.
Using the following options, I was able to succeed in the compilation of all the object files.
CC = mpicc -O3 -Xpreprocessor -fopenmp -I/opt/homebrew/Cellar/libomp/13.0.0/include -Wno-error=implicit-function-declaration -Dnosse -I/opt/homebrew/Cellar/fftw/3.3.10_1/include FC = mpif90 -O3 -ffast-math -march=native -fopenmp -Dnosse -fallow-argument-mismatch LIB= -L/opt/homebrew/Cellar/scalapack/2.2.0_1/lib -lscalapack -llapack -lblas -L/opt/homebrew/Cellar/fftw/3.3.10_1/lib -lfftw3 -lmpi_mpifh -L/opt/homebrew/Cellar/llvm/18.1.4/lib -lomp -lpthread -L/opt/homebrew/Cellar/gcc/14.1.0_1/lib/gcc/14 -lgfortran
But in the final linking process, the following error occurs:
duplicate symbol '_GL_Abscissae' in /.../OpenMX/openmx3.9/source/openmx.o /.../OpenMX/openmx3.9/source/ReLU_inverse.o /.../OpenMX/openmx3.9/source/readfile.o /.../OpenMX/openmx3.9/source/LU_inverse.o /.../OpenMX/openmx3.9/source/FT_PAO.o /.../OpenMX/openmx3.9/source/init.o ... (continuing) ... ld: 1160 duplicate symbols
Does anyone know how to solve this problem? I would appreciate any suggestions.
| |