This thread is locked.Only browsing is available.
Top Page > Browsing
Re: Installation of openmx in ubuntu
Date: 2019/06/15 06:47
Name: deniz

Dear OpenmX users and Developers
I'm trying to install openmx in ubuntu. The installation is normal but I am getting the following error


error while loading shared libraries: libmpifort.so.12: cannot open shared object file: No such file or directory



The libmpifort.so.12 file is shortcut



Thank you.
メンテ
Page: [1]

Re: Re: Installation of openmx in ubuntu ( No.1 )
Date: 2019/06/15 17:42
Name: Naoya Yamaguchi

Hi,

I think that a command "ldconfig" to update information of libraries or use of "LD_LIBRARY_PATH" may be effective.
Or, could you provide information of how you installed OpenMX?

Regards,
Naoya Yamaguchi
メンテ
Re: Re: Installation of openmx in ubuntu ( No.2 )
Date: 2019/06/16 00:21
Name: deniz

Hi Dear Naoya Yamaguchi
thank you for your response
In make file, I have made the following changes:

CC = mpicc -O3 -fopenmp -Dnosse -I/usr/include -I/.../fftw-install/include -I/.../mpich-install/include
FC = mpif90 -O3 -fopenmp -Dnosse -I/usr/include -I/.../fftw-install/include -I/.../mpich-install/include
LIB = -L/.../lib -llapack -lblas -lfftw -L/.../mpich/lib -lmpi -lmpicxx -lmpifort -lpthread -lgfortran


メンテ
Re: Re: Installation of openmx in ubuntu ( No.3 )
Date: 2019/06/16 00:27
Name: deniz

another error in the installation :

warning: inline function ‘Spherical_Bessel’ declared but never defined

can you help me solve this problems?


Regards
Deniz
メンテ
Re: Re: Installation of openmx in ubuntu ( No.4 )
Date: 2019/06/16 02:52
Name: Naoya Yamaguchi

Dear Deniz,

How about removing "-lmpicxx -lmpifort" from your makefile and compiling OpenMX again? You may need a command "make clean".
And, you may ignore the warning message you said.

Regards,
Naoya Yamaguchi
メンテ
Re: Re: Installation of openmx in ubuntu ( No.5 )
Date: 2019/10/24 18:37
Name: Haffeezu

Dear Deniz and Naoya,

I am installing openmx on 18.04 ubuntu and getting the following error

In file included from TRAN_CDen_Main.c:6:0:
TRAN_CDen_Main.c: At top level:
openmx_common.h:3160:13: warning: inline function ‘Spherical_Bessel’ declared but never defined
inline void Spherical_Bessel( double x, int lmax, double *sb, double *dsb );
^~~~~~~~~~~~~~~~
mpif90 -O3 -fopenmp -I/usr/bin -I/home/msrc/Open/fftw-3.3.8/api -c elpa1.f90
--------------------------------------------------------------------------
No underlying compiler was specified in the wrapper compiler data file
(e.g., mpicc-wrapper-data.txt)
--------------------------------------------------------------------------
makefile:894: recipe for target 'elpa1.o' failed
make: *** [elpa1.o] Error 1


My make file setting are as follows:

CC = mpicc -O3 -fopenmp -I/usr/bin -I/home/msrc/Open/fftw-3.3.8/api
FC = mpif90 -O3 -fopenmp -I/usr/bin -I/home/msrc/Open/fftw-3.3.8/api
LIB= -L/usr/lib/x86_64-linux-gnu -lfftw3 -llapack -lblas -lmpi -lmpi_mpifh -lgfortran -L/home/msrc/Open/openmpi-4.0.2/opal

I am not able to short out it. Could you guys please assist me in this regard?

Thanks,

Haffeezu
メンテ
Re: Re: Installation of openmx in ubuntu ( No.6 )
Date: 2019/10/25 11:06
Name: Naoya Yamaguchi

Dear Haffeezu,

Could you show all the original output including the errors?
Or, you can install OpenMX using the following command:
$ sudo apt install openmx

Regards,
Naoya Yamaguchi
メンテ

Page: [1]