This thread is locked.Only browsing is available.
Top Page > Browsing
OPENMX 3.9 : Error Installation
Date: 2022/01/25 14:44
Name: Arif Lukmantoro   <ariflukmantoro@mail.ugm.ac.id>

Dear Openmx developers/users,

I have installed the libraries needed for openmx 3.9, then I tried to install OpenMX 3.9 on Ubuntu 20.04

These are CC and LIB that I have been using
CC = mpicc -O3 -fopenmp -ffast-math
FC = mpif90 -O3 -fopenmp -ffast-math
LIB= -lscalapack-openmpi -llapack -lblas -lfftw3 -L/usr/lib/x86_64-linux-gnu/openmpi/lib/ -lmpi -lmpi_mpifh -lgfortran

when I ran the command, make install, I got this result :

/usr/bin/ld: cannot find -lscalapack-openmpi
/usr/bin/ld: cannot find -llapack
/usr/bin/ld: cannot find -lblas
collect2: error: ld returned 1 exit status
make: *** [makefile:182: openmx] Error 1

Could you please help me in this regards?
Regards,
Arif
メンテ
Page: [1]

Re: OPENMX 3.9 : Error Installation ( No.1 )
Date: 2022/01/25 17:24
Name: Naoya Yamaguchi

Hi,

You can get a deb file of the OpenMX from
https://github.com/Ncmexp2717/OpenMX-deb

If you use it, you can skip editing `makefile`.
Please see the detail in the above URL.
Through the deb file, `openmx` is installed on `/usr/local/bin`.
Therefore, you can run it with a `openmx` command as follows.
$ openmx Methane.dat
or
$ mpiexec -n 2 openmx Methane.dat -nt 1

Regards,
Naoya Yamaguchi
メンテ
Re: OPENMX 3.9 : Error Installation ( No.2 )
Date: 2022/01/26 17:48
Name: Arif Lukmantoro  <ariflukmantoro@mail.ugm.ac.id>

dear Naoya

thanks for the suggestion, now i can work with OpenMx in my computer

Regards,
Arif
メンテ

Page: [1]