Re: Error in installation ( No.1 ) |
- Date: 2018/05/21 01:25
- Name: Naoya Yamaguchi
- Hi,
In my experience, this linkage problem may be solved by specifying appropriate libraries. Can you try adding MPI ones (e.g. -lmpi; -lmpi_mpifh) if you use OpenMPI?
And I leave an example for "GCC+OpenMPI" for your information:
CC = mpicc-openmpi-gcc6 -fopenmp -O3 FC = mpif90-openmpi-gcc6 -fopenmp -O3 LIB = -L/opt/local/lib -lfftw3 -llapack -lblas -lmpi -lmpi_mpifh -lgfortran
I have installed OpenMX using the above on Mac, so, for example, you should read "mpicc-openmpi-gcc6" as "mpicc".
Regards, Naoya Yamaguchi
|
Re: Error in installation ( No.2 ) |
- Date: 2018/05/21 23:41
- Name: M.S
- Hello dear Naoya Yamaguchi
thank you very much for your response. thanks to you I've installed it just fine on ubuntu 16 and 18 with the following lines:
CC = mpicc -fopenmp -O3 FC = mpicc -fopenmp -O3 LIB = -L/opt/local/lib -lfftw3 -llapack -lblas -lmpi -lmpi_mpifh -lgfortran
|
Re: Installation of openmx in ubuntu ( No.3 ) |
- Date: 2019/06/15 06:44
- 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.
|