Top Page > Browsing
error install openmx3.9 ubuntu 20.4
Date: 2024/07/12 18:24
Name: atefeh   <atefeharefi@gmail.com>

Dear Openmx developers/users,

I am trying to install OpenMx 3.9 version on Ubuntu 20.04. After modifying make file, I run the command "make install" and get following error.
I am not able to understand the meaning of the error and how to overcome this error.
mpiicc -O3 -xHOST -ip -no-prec-div -qopenmp -I/home/p/fftw/fftw-3.3.10/fftw3/include -I./elpa-2018.05.001 -c openmx.c
error: can't open file openmx.o for write
compilation aborted for openmx.c (code 1)
make: *** [makefile:195: openmx.o] Error 1

It is  my makefile for install openmx3.9:
MKLROOT = /opt/intel/mkl
CC = mpiicc -O3 -xHOST -ip -no-prec-div -qopenmp -I/home/p/fftw/fftw-3.3.10/fftw3/include
FC = mpiifort -O3 -xHOST -ip -no-prec-div -qopenmp
LIB= -L${MKLROOT}/lib/intel64 -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -liomp5 -lifcore

Could you please help me in this regards?

メンテ
Page: [1]

Re: error install openmx3.9 ubuntu 20.4 ( No.1 )
Date: 2024/10/03 17:43
Name: Tsutomu Hoshino  <thoshino@ee.meisei-u.ac.jp>

error: can't open file openmx.o for write
is mode of file openmx.o
Following command
$ ls -l openmx.o
shows file permission information and owner.

Please try following command
$ rm openmx.o
$ make

Sincerely yours

メンテ

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