error during compilation : DSO missing from command line |
- Date: 2024/06/18 17:28
- Name: danial asad
<danasad80@gmail.com>
- Dear user,
I am new to openMX. I have encountered this error during installation on standalone linux machine.
. . luster_DFT_Optical_ScaLAPACK.o:(.bss+0x45248): multiple definition of `MPI_COMM_WORLD1' openmx.o:(.bss+0x45fa8): first defined here Cluster_DFT_Optical_ScaLAPACK.o:(.bss+0x45250): multiple definition of `Temp_MD_iter' openmx.o:(.bss+0x45fb0): first defined here /usr/bin/ld: elpa2_determine_workload.o: undefined reference to symbol '__svml_idiv4' /home/intel_install/compiler/2021.1.1/linux/compiler/lib/intel64_lin/libsvml.so: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status make: *** [openmx] Error 1
make file is the following (mainly intel):
FFTROOT=/opt/intel/compilers_and_libraries/linux/mkl MKLROOT = /opt/intel/compilers_and_libraries/linux/mkl LBSROOT=/opt/intel/compilers_and_libraries/linux/mkl openmp_flag = -fopenmp fortran_lib = -lifcore CC = mpicc -O3 -fopenmp -I/$(FFTROOT)/include/fftw -I/$(LBSROOT)/include FC = mpiifort -O3 -I/$(LBSROOT)/include LIB= -L/$(FFTROOT)/lib -lfftw3 -L/$(LBSROOT)/lib/intel64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lpthread -lifcore
I will appreciate if you can suggest a solution to this problem.
kind regards Danial Asad
| |