I am the first time using Abinit, I always meet error when compile abinit. I use abinit v7.10.5 in ubuntu 15.10. For etsf_io, I use v.1.04-1~exp1.1. Here is the config file
Code: Select all
prefix="/usr/local"
enable_mpi="yes"
enable_mpi_io="yes"
with_mpi_prefix="/usr"
with_trio_flavor="netcdf+etsf_io"
with_netcdf_incs="-I/usr/include"
with_netcdf_libs="-L/usr/lib/x86_64-linux-gnu/ -lnetcdf -lnetcdff"
with_etsf_io_incs="-I/usr/include"
with_etsf_io_libs="-L/usr/lib -letsf_io_low_level -letsf_io_utils -letsf_io"
with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include/"
with_fft_libs="-L/usr/lib/x86_64-linux-gnu/ -lfftw3 -lfftw3f"
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib/x86_64-linux-gnu/ -llapack -lf77blas -lcblas -latlas"
#with_dft_flavor="atompaw+libxc"
with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_gw_dpc="yes"
enable_maintainer_checks="no"
#enable_test_timeout="yes"
#enable_gui_build="no"
But, when I compile this config, I always got the following error
Code: Select all
/usr/bin/mpif90 -ffree-form -J/home/ibnusyuhada/Public/abinit-7.10.5/build/src/mods -O2 -mtune=native -march=native -g -ffree-line-length-none -g -ffree-line-length-none -o abinit abinit-abinit.o ../../src/95_drive/lib95_drive.a ../../src/94_scfcv/lib94_scfcv.a ../../src/79_seqpar_mpi/lib79_seqpar_mpi.a ../../src/77_ddb/lib77_ddb.a ../../src/77_suscep/lib77_suscep.a ../../src/72_response/lib72_response.a ../../src/71_bse/lib71_bse.a ../../src/70_gw/lib70_gw.a ../../src/69_wfdesc/lib69_wfdesc.a ../../src/68_dmft/lib68_dmft.a ../../src/68_recursion/lib68_recursion.a ../../src/68_rsprc/lib68_rsprc.a ../../src/67_common/lib67_common.a ../../src/66_paw/lib66_paw.a ../../src/66_wfs/lib66_wfs.a ../../src/66_fock/lib66_fock.a ../../src/65_psp/lib65_psp.a ../../src/65_nonlocal/lib65_nonlocal.a ../../src/64_atompaw/lib64_atompaw.a ../../src/62_occeig/lib62_occeig.a ../../src/62_iowfdenpot/lib62_iowfdenpot.a ../../src/62_wvl_wfs/lib62_wvl_wfs.a ../../src/62_poisson/lib62_poisson.a ../../src/62_cg_noabirule/lib62_cg_noabirule.a ../../src/62_ctqmc/lib62_ctqmc.a ../../src/61_ionetcdf/lib61_ionetcdf.a ../../src/57_iovars/lib57_iovars.a ../../src/57_iopsp_parser/lib57_iopsp_parser.a ../../src/56_recipspace/lib56_recipspace.a ../../src/56_xc/lib56_xc.a ../../src/56_mixing/lib56_mixing.a ../../src/56_io_mpi/lib56_io_mpi.a ../../src/54_abiutil/lib54_abiutil.a ../../src/53_spacepar/lib53_spacepar.a ../../src/53_ffts/lib53_ffts.a ../../src/52_fft_mpi_noabirule/lib52_fft_mpi_noabirule.a ../../src/51_manage_mpi/lib51_manage_mpi.a ../../src/49_gw_toolbox_oop/lib49_gw_toolbox_oop.a ../../src/47_xml/lib47_xml.a ../../src/45_geomoptim/lib45_geomoptim.a ../../src/44_abitypes_defs/lib44_abitypes_defs.a ../../src/43_wvl_wrappers/lib43_wvl_wrappers.a ../../src/43_ptgroups/lib43_ptgroups.a ../../src/42_parser/lib42_parser.a ../../src/42_nlstrain/lib42_nlstrain.a ../../src/42_libpaw/lib42_libpaw.a ../../src/41_xc_lowlevel/lib41_xc_lowlevel.a ../../src/41_geometry/lib41_geometry.a ../../src/32_util/lib32_util.a ../../src/28_numeric_noabirule/lib28_numeric_noabirule.a ../../src/27_toolbox_oop/lib27_toolbox_oop.a ../../src/21_psiesta_noabirule/lib21_psiesta_noabirule.a ../../src/18_timing/lib18_timing.a ../../src/16_hideleave/lib16_hideleave.a ../../src/14_hidewrite/lib14_hidewrite.a ../../src/12_hide_mpi/lib12_hide_mpi.a ../../src/11_qespresso_ext/lib11_qespresso_ext.a ../../src/11_memory_mpi/lib11_memory_mpi.a ../../src/10_dumpinfo/lib10_dumpinfo.a ../../src/10_defs/lib10_defs.a ../../src/01_linalg_ext/lib01_linalg_ext.a -L/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib -lwannier90 -L/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib -lbigdft-1 -labinit -lyaml -L/usr/lib -letsf_io_low_level -letsf_io_utils -letsf_io -L/usr/lib/x86_64-linux-gnu/ -lnetcdf -lnetcdff -L/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib -lxc -L/usr/lib/x86_64-linux-gnu/ -lfftw3 -lfftw3f -L/usr/lib/x86_64-linux-gnu/ -llapack -lf77blas -lcblas -latlas -lrt -L/usr//lib -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lmpi_f90 -lmpi_f77 -lmpi -ldl -lhwloc -lgfortran -lm -lquadmath -lpthread -L/usr//lib -L/usr/lib/openmpi/lib -L/usr/lib/gcc/x86_64-linux-gnu/5 -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu -L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib -L/lib/x86_64-linux-gnu -L/lib/../lib -L/usr/lib/x86_64-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/x86_64-linux-gnu/5/../../.. -lmpi_f90 -lmpi_f77 -lmpi -ldl -lhwloc -lgfortran -lm -lquadmath -lpthread
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dgemm_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:60: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:61: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:62: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:74: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:75: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:79: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:80: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:84: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o):/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:85: more undefined references to `numroc_' follow
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dgemm_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:89: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:90: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:91: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:105: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:110: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:117: undefined reference to `pdgemm_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:123: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:140: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dsymm_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:205: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:206: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:207: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:219: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:220: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:224: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:225: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:229: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o):/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:230: more undefined references to `numroc_' follow
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dsymm_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:234: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:235: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:236: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:250: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:255: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:262: undefined reference to `pdsymm_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:268: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:285: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dsyev_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:350: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:351: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:352: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:364: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:365: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:369: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:370: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:382: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:407: undefined reference to `pdsyevx_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:428: undefined reference to `pdsyevx_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:438: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:471: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dsygv_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:546: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:547: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:548: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:561: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:562: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:566: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:567: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:568: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:582: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:583: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:608: undefined reference to `pdsygvx_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:629: undefined reference to `pdsygvx_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:637: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:674: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dgesv_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:746: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:747: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:748: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:761: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:762: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:764: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:765: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:769: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:770: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:782: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:787: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:795: undefined reference to `pdgesv_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:806: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:819: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dpotrf_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:878: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:879: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:880: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:893: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:894: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:899: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:909: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:915: undefined reference to `pdpotrf_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:921: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:930: undefined reference to `blacs_gridexit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/exports/lib/libbigdft-1.a(parallelLinAlg.o): In function `dpotri_parallel_':
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:987: undefined reference to `blacs_get_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:988: undefined reference to `blacs_gridinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:989: undefined reference to `blacs_gridinfo_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1001: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1002: undefined reference to `numroc_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1007: undefined reference to `descinit_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1017: undefined reference to `pdelset_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1023: undefined reference to `pdpotri_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1029: undefined reference to `pdelset2_'
/home/ibnusyuhada/Public/abinit-7.10.5/build/fallbacks/sources/bigdft-1.7.0.93/src/linear/parallelLinAlg.f90:1038: undefined reference to `blacs_gridexit_'
collect2: error: ld returned 1 exit status
Makefile:3119: recipe for target 'abinit' failed
make[3]: *** [abinit] Error 1
make[3]: Leaving directory '/home/ibnusyuhada/Public/abinit-7.10.5/build/src/98_main'
Makefile:819: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/ibnusyuhada/Public/abinit-7.10.5/build/src'
Makefile:1963: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/ibnusyuhada/Public/abinit-7.10.5/build'
Makefile:1889: recipe for target 'all' failed
make: *** [all] Error 2
I don't know where is the wrong steps. Please help. Thanks.
#-----------------------------------------------------------#
Update: I found the solution. After read what exactly functions inside parallelLinAlg.f90, the solution of this problem is should not set
Code: Select all
with_linalg_flavor="atlas"
with_linalg_libs="-L/usr/lib/x86_64-linux-gnu/ -llapack -lf77blas -lcblas -latlas"
but should as
Code: Select all
with_linalg_flavor="atlas+scalapack"
with_linalg_libs="-L/usr/lib -llapack -lf77blas -lcblas -latlas -lblas -lblacs-openmpi -lblacsCinit-openmpi -lblacsF77init-openmpi -lscalapack-openmpi"
or
Code: Select all
with_linalg_flavor="netlib+scalapack"
with_linalg_libs="-L/usr/lib -llapack -lf77blas -lcblas -latlas -lblas -lblacs-openmpi -lblacsCinit-openmpi -lblacsF77init-openmpi -lscalapack-openmpi"
The explanation is in here http://www.netlib.org/scalapack/. This also mean, we should install libblacs-openmpi1 and libblacs-mpi-dev first. This is due to, abinit automatically set bigdft with blacs. Here the explanation http://bigdft.org/Wiki/index.php?title=Installation. I hope this helpful to anybody who meet the same problem with me. And thanks for all respons to my questions.