Top Page > Browsing
Compilation Error: openmx 3.9
Date: 2021/02/12 22:06
Name: Renato

Dear OpenMx developers,

I am trying to install openmx3.9 using Intel Compilers and MKL Library:

Currently Loaded Modules:
1) intel/19.0.3.199

I am setting:

MKLROOT = /opt/intel/compilers_and_libraries_2019.3.199/linux/mkl
CC = mpiicc -O3 -xHOST -ip -no-prec-div -qopenmp -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include/fftw
FC = mpiifort -O3 -xHOST -ip -no-prec-div -qopenmp
LIB= -L/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/lib/intel64/ -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -mkl=parallel -liomp5 -lpthread -lm -ldl -lifcore

By executing the "make all" command, I have encountered some warnings:

1) TRAN_Channel_Output.c(400): warning #303: explicit type is missing ("int" assumed)
TRAN_Output_ChannelCube(
^

2) mpiifort -O3 -xHOST -ip -no-prec-div -qopenmp -I./elpa-2018.05.001 -c ./elpa-2018.05.001/elpa1_compute_real.F90
precision_macros.h(62): #warning: keyword redefined: PRECISION
mpiifort -O3 -xHOST -ip -no-prec-div -qopenmp -I./elpa-2018.05.001 -c ./elpa-2018.05.001/elpa1_compute_complex.F90
^[[Bprecision_macros.h(237): #warning: keyword redefined: PRECISION
....

The code "openmx" seems to be properly compiled:

cp example_mpi_spawn ../work/example_mpi_spawn
mpiicc -O3 -xHOST -ip -no-prec-div -qopenmp -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include/fftw -I./elpa-2018.05.001 -g gcube2oned.c -o gcube2oned
cp openmx DosMain jx analysis_example esp polB calB Z2FH bandgnu13 bin2txt cube2xsf intensity_map md2axsf tp kSpin BandDispersion ADenBand FermiLoop GridCalc MulPOnly MulPCalc example_mpi_spawn gcube2oned ../work/


However, if try to run the a test calculation as:

% mpirun -np 1 ./openmx Methane.dat > met.std &

I get an error:

[1] 1475587
[3447863@aguia4:/scratch/3447863/teste/openmx3.9/work]$ Abort(1094543) on node 0 (rank 0 in comm 0): Fatal error in PMPI_Init: Other MPI error, error stack:
MPIR_Init_thread(649)......:
MPID_Init(863).............:
MPIDI_NM_mpi_init_hook(705): OFI addrinfo() failed (ofi_init.h:705:MPIDI_NM_mpi_init_hook:No data available)


Please, what must I change in the parameters CC, FC, and LIB to fix the problem?

Thank you all in advance,
Renato
e
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