Top Page > Browsing
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.
メンテ
Page: [1]

Re: Installation error of OpenMX 3.9 on Mac ( No.1 )
Date: 2024/07/11 17:05
Name: T. Ozaki

Hi,

The following website might be helpful:
https://qiita.com/hikaruri/items/0fa942c9eacb8930a792

Regards,

TO
メンテ

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