This thread is locked.Only browsing is available.
Top Page > Browsing
Compile Error
Date: 2014/09/18 09:48
Name: Hossein   <song_of_ocarina@yahoo.com>

Hello everyone
I'm trying to install OpenMX3.7 on fedora core 18 with GCC compiler and ACML Library.
Here is my CC , FC , LIB :

CC = /home/zclient/.openmpi/bin/mpicc -O3 -ffast-math -fopenmp -I/home/zclient/.fftw3/include -I/home/zclient/Downloads/acml/include
FC = /home/zclient/.openmpi/bin/mpif90 -O3 -ffast-math -fopenmp -I/home/zclient/Downloads/acml/include
LIB = -L/home/zclient/.openmpi/lib -lmpi -lgfortran -L/home/zclient/.fftw3/lib -lfftw3 -L/home/zclient/Downloads/acml/lib -lacml_mp -Wl,-rpath=/home/zclient/Downloads/acml/lib -Wl,-rpath=/home/zclient/Downloads/acml/lib

when I use "make install" command , it gives me these errors :

[root@localhost source]# make install
/home/zclient/.openmpi/bin/mpicc -O3 -ffast-math -fopenmp -I/home/zclient/.fftw3/include -I/home/zclient/Downloads/acml/include -I./liberi-091216/source openmx.o openmx_common.o Input_std.o Inputtools.o init.o LU_inverse.o ReLU_inverse.o truncation.o readfile.o FT_PAO.o FT_NLP.o FT_ProExpn_VNA.o FT_VNA.o FT_ProductPAO.o Hamiltonian_Cluster.o Overlap_Cluster.o Hamiltonian_Band.o Overlap_Band.o Hamiltonian_Cluster_NC.o Hamiltonian_Band_NC.o Hamiltonian_Cluster_SO.o Get_OneD_HS_Col.o SetPara_DFT.o XC_Ceperly_Alder.o XC_CA_LSDA.o XC_PW92C.o XC_PBE.o XC_EX.o DFT.o Mixing_DM.o Force.o Poisson.o Poisson_ESM.o Cluster_DFT.o Cluster_DFT_Dosout.o Cluster_DFT_ON2.o Band_DFT_Col.o Band_DFT_NonCol.o Band_DFT_kpath.o Band_DFT_MO.o Band_DFT_Dosout.o Set_Density_Grid.o Set_Orbitals_Grid.o Set_Aden_Grid.o Gauss_Legendre.o zero_cfrac.o xyz2spherical.o AngularF.o RadialF.o Dr_RadialF.o PhiF.o VNAF.o Dr_VNAF.o VH_AtomF.o Dr_VH_AtomF.o RF_BesselF.o QuickSort.o Nonlocal_RadialF.o KumoF.o Dr_KumoF.o Mulliken_Charge.o Occupation_Number_LDA_U.o Eff_Hub_Pot.o EulerAngle_Spin.o Smoothing_Func.o Orbital_Moment.o Pot_NeutralAtom.o Simple_Mixing_DM.o DIIS_Mixing_DM.o GR_Pulay_DM.o Kerker_Mixing_Rhok.o DIIS_Mixing_Rhok.o Total_Energy.o Contract_Hamiltonian.o Contract_iHNL.o Cont_Matrix0.o Cont_Matrix1.o Cont_Matrix2.o Cont_Matrix3.o Cont_Matrix4.o Opt_Contraction.o Initial_CntCoes.o Initial_CntCoes2.o Set_XC_Grid.o Get_Orbitals.o Get_dOrbitals.o Get_Cnt_Orbitals.o Get_Cnt_dOrbitals.o Gaunt.o Find_CGrids.o MD_pac.o RestartFileDFT.o Output_CompTime.o Merge_LogFile.o Make_FracCoord.o Make_InputFile_with_FinalCoord.o Divide_Conquer.o Krylov.o Divide_Conquer_Dosout.o Eigen_lapack.o Eigen_lapack2.o EigenBand_lapack.o Eigen_PReHH.o BroadCast_ReMatrix.o Eigen_PHH.o BroadCast_ComplexMatrix.o lapack_dstedc1.o lapack_dstedc2.o lapack_dstedc3.o lapack_dstegr1.o lapack_dstegr2.o lapack_dstegr3.o lapack_dstevx1.o lapack_dstevx2.o lapack_dstevx3.o lapack_dstevx4.o lapack_dstevx5.o lapack_dsteqr1.o Nonlocal_Basis.o Set_OLP_Kin.o Set_Nonlocal.o Set_ProExpn_VNA.o Set_Hamiltonian.o Set_Vpot.o Voronoi_Charge.o Voronoi_Orbital_Moment.o Fuzzy_Weight.o dampingF.o deri_dampingF.o Spherical_Bessel.o iterout.o iterout_md.o Allocate_Arrays.o Free_Arrays.o Init_List_YOUSO.o outputfile1.o malloc_multidimarray.o PrintMemory.o PrintMemory_Fix.o dtime.o OutData.o OutData_Binary.o init_alloc_first.o File_CntCoes.o SCF2File.o mimic_sse.o Make_Comm_Worlds.o Set_Allocate_Atom2CPU.o Cutoff.o Generating_MP_Special_Kpt.o Maketest.o Runtest.o Memory_Leak_test.o Force_test.o Show_DFT_DATA.o Generate_Wannier.o TRAN_Allocate.o TRAN_DFT.o TRAN_DFT_Dosout.o TRAN_Apply_Bias2e.o TRAN_Deallocate_Electrode_Grid.o TRAN_Deallocate_RestartFile.o TRAN_RestartFile.o TRAN_Calc_CentGreen.o TRAN_Input_std.o TRAN_Set_CentOverlap.o TRAN_Calc_CentGreenLesser.o TRAN_Input_std_Atoms.o TRAN_Set_Electrode_Grid.o TRAN_Calc_GridBound.o TRAN_Set_IntegPath.o TRAN_Output_HKS.o TRAN_Set_MP.o TRAN_Calc_SelfEnergy.o TRAN_Output_Trans_HS.o TRAN_Calc_Hopping_G.o TRAN_Calc_SurfGreen.o TRAN_Set_SurfOverlap.o TRAN_Add_Density_Lead.o TRAN_Add_ADensity_Lead.o TRAN_Set_Value.o TRAN_Poisson.o TRAN_adjust_Ngrid.o TRAN_Print.o TRAN_Print_Grid.o Lapack_LU_inverse.o TRAN_Distribute_Node.o TRAN_Output_HKS_Write_Grid.o TRAN_Credit.o TRAN_Check_Region_Lead.o TRAN_Check_Region.o TRAN_Check_Input.o DFTDvdW_init.o neb.o neb_run.o neb_check.o TRAN_Allocate_NC.o TRAN_DFT_NC.o TRAN_Set_CentOverlap_NC.o TRAN_Set_SurfOverlap_NC.o elpa1.o solve_evp_real.o solve_evp_complex.o exx.o exx_index.o exx_vector.o exx_log.o exx_step1.o exx_step2.o exx_file_overlap.o exx_file_eri.o exx_interface_openmx.o exx_debug.o exx_xc.o exx_rhox.o ./liberi-091216/source/eri.o ./liberi-091216/source/eri_ll.o ./liberi-091216/source/eri_sf.o ./liberi-091216/source/eri_interpolate.o ./liberi-091216/source/eri_gtbl.o ./liberi-091216/source/sbt/eri_sbt.o ./liberi-091216/source/sbt/log/eri_fsbt.o ./liberi-091216/source/sbt/log/eri_logfsbt.o ./liberi-091216/source/sbt/linear/eri_linfsbt.o -L/home/zclient/.openmpi/lib -lmpi -lgfortran -L/home/zclient/.fftw3/lib -lfftw3 -L/home/zclient/Downloads/acml/lib -lacml_mp -Wl,-rpath=/home/zclient/Downloads/acml/lib -Wl,-rpath=/home/zclient/Downloads/acml/lib -lm -o openmx
elpa1.o: In function `transform_columns.3696':
elpa1.f90:(.text+0x21d): undefined reference to `mpi_sendrecv_'
elpa1.f90:(.text+0x318): undefined reference to `mpi_sendrecv_'
elpa1.o: In function `resort_ev.3701':
elpa1.f90:(.text+0x642): undefined reference to `mpi_recv_'
elpa1.f90:(.text+0x73b): undefined reference to `mpi_send_'
elpa1.o: In function `global_gather.3691':
elpa1.f90:(.text+0x7e1): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x94b): undefined reference to `mpi_sendrecv_replace_'
elpa1.f90:(.text+0x98c): undefined reference to `mpi_allreduce_'
elpa1.o: In function `check_monotony.3677':
elpa1.f90:(.text+0xbe2): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_invert_trm_complex':
elpa1.f90:(.text+0xf40): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xf5f): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xf7e): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xf9d): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x178d): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x1839): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x1a12): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x207e): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_invert_trm_real':
elpa1.f90:(.text+0x2120): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x213f): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x215e): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x217d): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x2c0f): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x2cd2): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x2ec9): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x3a43): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_merge_systems':
elpa1.f90:(.text+0x47ac): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x47c6): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x47e0): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x47fa): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x5eb9): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x6097): undefined reference to `mpi_recv_'
elpa1.f90:(.text+0x6219): undefined reference to `mpi_send_'
elpa1.f90:(.text+0x815a): undefined reference to `mpi_sendrecv_replace_'
elpa1.f90:(.text+0x861b): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x882c): undefined reference to `mpi_send_'
elpa1.f90:(.text+0x8877): undefined reference to `mpi_recv_'
elpa1.o: In function `merge_recursive.5039':
elpa1.f90:(.text+0x8d8d): undefined reference to `mpi_send_'
elpa1.f90:(.text+0x8e8b): undefined reference to `mpi_send_'
elpa1.f90:(.text+0x8f52): undefined reference to `mpi_recv_'
elpa1.f90:(.text+0x902c): undefined reference to `mpi_recv_'
elpa1.f90:(.text+0x90f2): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_solve_tridi_single':
elpa1.f90:(.text+0x9286): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_solve_tridi_col':
elpa1.f90:(.text+0x9332): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x9351): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x9a83): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x9beb): undefined reference to `mpi_bcast_'
elpa1.o: In function `__elpa1_MOD_solve_tridi':
elpa1.f90:(.text+0xa8d6): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xa8f0): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xa90a): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xa924): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xac5d): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_mult_ah_b_complex':
elpa1.f90:(.text+0xb80b): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xb82a): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xb849): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xb868): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xbf9f): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0xc524): undefined reference to `mpi_reduce_'
elpa1.o: In function `__elpa1_MOD_trans_ev_complex':
elpa1.f90:(.text+0xcae9): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xcb08): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xcb27): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xcb46): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xd3e3): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0xd74b): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0xda5a): undefined reference to `mpi_allreduce_'
elpa1.o: In function `__elpa1_MOD_mult_at_b_real':
elpa1.f90:(.text+0xdfc9): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xdfe8): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xe007): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xe026): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xe99c): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0xf0f8): undefined reference to `mpi_reduce_'
elpa1.o: In function `__elpa1_MOD_trans_ev_real':
elpa1.f90:(.text+0xf808): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xf827): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0xf846): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0xf865): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x10335): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x1090a): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x10c01): undefined reference to `mpi_allreduce_'
elpa1.o: In function `elpa_transpose_vectors_':
elpa1.f90:(.text+0x110f1): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x11110): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x1112a): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x11144): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x113be): undefined reference to `mpi_bcast_'
elpa1.o: In function `__elpa1_MOD_cholesky_real':
elpa1.f90:(.text+0x11976): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x11995): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x119b4): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x119d3): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x124be): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x128de): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x13186): undefined reference to `mpi_abort_'
elpa1.f90:(.text+0x13328): undefined reference to `mpi_abort_'
elpa1.o: In function `__elpa1_MOD_cholesky_complex':
elpa1.f90:(.text+0x133c6): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x133e5): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x13404): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x13423): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x13ce7): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x1415c): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x14764): undefined reference to `mpi_abort_'
elpa1.f90:(.text+0x148a3): undefined reference to `mpi_abort_'
elpa1.o: In function `elpa_reduce_add_vectors_':
elpa1.f90:(.text+0x1496f): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x14989): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x149a8): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x149c7): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x15042): undefined reference to `mpi_reduce_'
elpa1.o: In function `__elpa1_MOD_tridiag_real':
elpa1.f90:(.text+0x15454): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x15473): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x15492): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x154b1): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x16381): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x16b71): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x16d61): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x17602): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x176ba): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x17772): undefined reference to `mpi_allreduce_'
elpa1.o:elpa1.f90:(.text+0x17822): more undefined references to `mpi_allreduce_' follow
elpa1.o: In function `__elpa1_MOD_tridiag_complex':
elpa1.f90:(.text+0x18874): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x18893): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x188b2): undefined reference to `mpi_comm_rank_'
elpa1.f90:(.text+0x188d1): undefined reference to `mpi_comm_size_'
elpa1.f90:(.text+0x19279): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x193c2): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x1947a): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x19532): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x195e2): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x19856): undefined reference to `mpi_bcast_'
elpa1.f90:(.text+0x19f00): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x1a193): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x1ae34): undefined reference to `mpi_allreduce_'
elpa1.f90:(.text+0x1b731): undefined reference to `mpi_bcast_'
solve_evp_real.o: In function `solve_evp_real_':
solve_evp_real.f90:(.text+0x6b): undefined reference to `mpi_comm_rank_'
solve_evp_real.f90:(.text+0x85): undefined reference to `mpi_comm_rank_'
solve_evp_real.f90:(.text+0x15a): undefined reference to `mpi_wtime_'
solve_evp_real.f90:(.text+0x195): undefined reference to `mpi_wtime_'
solve_evp_real.f90:(.text+0x1d9): undefined reference to `mpi_wtime_'
solve_evp_real.f90:(.text+0x213): undefined reference to `mpi_wtime_'
solve_evp_real.f90:(.text+0x251): undefined reference to `mpi_wtime_'
solve_evp_real.o:solve_evp_real.f90:(.text+0x295): more undefined references to `mpi_wtime_' follow
solve_evp_complex.o: In function `solve_evp_complex_':
solve_evp_complex.f90:(.text+0x88): undefined reference to `mpi_comm_rank_'
solve_evp_complex.f90:(.text+0xa4): undefined reference to `mpi_comm_size_'
solve_evp_complex.f90:(.text+0xbe): undefined reference to `mpi_comm_rank_'
solve_evp_complex.f90:(.text+0xd8): undefined reference to `mpi_comm_size_'
solve_evp_complex.f90:(.text+0x2ba): undefined reference to `mpi_wtime_'
solve_evp_complex.f90:(.text+0x304): undefined reference to `mpi_wtime_'
solve_evp_complex.f90:(.text+0x337): undefined reference to `mpi_wtime_'
solve_evp_complex.f90:(.text+0x37c): undefined reference to `mpi_wtime_'
solve_evp_complex.f90:(.text+0x3ad): undefined reference to `mpi_wtime_'
solve_evp_complex.o:solve_evp_complex.f90:(.text+0x46f): more undefined references to `mpi_wtime_' follow
collect2: error: ld returned 1 exit status
make: *** [openmx] Error 1




Does anybody know the problem?
thank you in advance.
メンテ
Page: [1]

Re: Compile Error ( No.1 )
Date: 2014/09/25 18:43
Name: Artem Pulkin  <artem.pulkin@epfl.ch>

Looks like the linker cannot find mpi libs. I also compiled with openmpi, try adding some of this options to LIB:

-lmpi_f77 -lmpi_f90 -lmpi_mpifh

Hope it helps.

Artem
メンテ

Page: [1]