Fail Build Abinit v7.10.5 When Compile parallelLinAlg.f90  [SOLVED]

HPC, IBM, Mac OS, Windows, ...

Moderators: jbeuken, gmatteo, Jordan

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit builds.
For a video explanation on how to build Abinit for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green button on its upper-right corner to accept it.

Fail Build Abinit v7.10.5 When Compile parallelLinAlg.f90  [SOLVED]

Postby ibnusyuhadap3 » Mon Apr 11, 2016 9:35 pm

Dear all,

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.
Last edited by ibnusyuhadap3 on Tue Apr 12, 2016 8:35 pm, edited 2 times in total.
ibnusyuhadap3
 
Posts: 3
Joined: Mon Apr 11, 2016 9:19 pm

Re: Fail Build Abinit v7.10.5 When Compile parallelLinAlg.f9

Postby gmatteo » Mon Apr 11, 2016 10:15 pm

Does the problem disappear if you disable bigdft with:

with_dft_flavor="atompaw+libxc+wannier90"

?
User avatar
gmatteo
 
Posts: 251
Joined: Sun Aug 16, 2009 5:40 pm

Re: Fail Build Abinit v7.10.5 When Compile parallelLinAlg.f9

Postby ibnusyuhadap3 » Tue Apr 12, 2016 6:06 am

gmatteo wrote:Does the problem disappear if you disable bigdft with:

with_dft_flavor="atompaw+libxc+wannier90"

?


To gmatteo, yes exactly without bigdft is success. But I need this package due to some reason. I was try many ways, such as add -lblacs_openmpi in linalg lib. But it result same error.
ibnusyuhadap3
 
Posts: 3
Joined: Mon Apr 11, 2016 9:19 pm

Re: Fail Build Abinit v7.10.5 When Compile parallelLinAlg.f9

Postby jennydaman » Sat Dec 17, 2016 6:21 am

Hey, I've been having the exact same issue, but your workarounds dont seem to work. I've tried both of them, and they both result in similar error messages:

Code: Select all
checking for the requested linear algebra support... atlas+scalapack
checking whether to select a fallback for linear algebra... no
checking for BLAS support in specified libraries... no
checking for AXPBY support in specified BLAS libraries... no
checking for gemm3m in specified libraries... no
checking for mkl_imatcopy in specified libraries... no
checking for mkl_omatcopy in specified libraries... no
checking for mkl_omatadd in specified libraries... no
checking for LAPACK support in specified libraries... no
checking for LAPACKE C API support in specified libraries... no
checking for BLACS support in specified libraries... no
checking for ScaLAPACK support in specified libraries... no
checking for ELPA support in specified libraries... no
checking for PLASMA support in specified libraries... no
checking for MAGMA (version>=1.1.0) support in specified libraries... no
checking whether we have a serial linear algebra support... no
configure: WARNING: falling back to internal linear algebra libraries
checking whether we have a MPI linear algebra support... no
checking whether we have a GPU linear algebra support... no
checking for the actual linear algebra support... broken

        +--------------------------------------------------------------+
        | Connector detection failure                                  |
        +--------------------------------------------------------------+
        | The build system of Abinit has not been able to detect       |
        | one or more requested external packages, probably because    |
        | you did not provide sufficient information. This means       |
        | that the build cannot proceed, and the configure script      |
        | will thus abort now with an error.                           |
        |                                                              |
        | To address this issue, you may:                              |
        |                                                              |
        | * make sure that the prerequisites of the external           |
        | packages are available and enabled, e.g.                     |
        | --with-dft-flavor="libxc+bigdft" or                          |
        | --with-trio-flavor="netcdf+etsf_io"                          |
        |                                                              |
        | * use the --with-*-bins, --with-*-incs, and                  |
        | --with-*-libs options of configure to provide                |
        | additional information; please see the section related       |
        | to connectors in                                             |
        | ~abinit/doc/build/config-template.ac for available           |
        | options and details;                                         |
        |                                                              |
        | * disable the corresponding extensions, by using the         |
        | associated --with-*-flavor="none" options of                 |
        | configure; please see the section associated to              |
        | connectors in ~abinit/doc/build/config-template.ac for       |
        | details.                                                     |
        |                                                              |
        +--------------------------------------------------------------+

configure: error: the requested atlas+scalapack linear algebra flavor is not supported on this architecture

Are there any ways that I can fix this? I've also tried setting up MPIBLAC, but that didn't do anything.
I'm on abinit v8.0.8b, maybe a previous version will work, or compiling BigDFT individually. The BigDFT compilation progress is intimidating though...
jennydaman
 
Posts: 3
Joined: Tue Dec 13, 2016 11:08 pm


Return to Platform specific questions

Who is online

Users browsing this forum: No registered users and 2 guests