Error undefined to `ATL_dscal' , ... in build abinit  [SOLVED]

option, parallelism,...

Moderators: fgoudreault, mcote

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 8 builds.
For a video explanation on how to build Abinit 7.x 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 V-like button on its upper-right corner to accept it.
Locked
moones
Posts: 8
Joined: Tue Aug 19, 2014 4:51 pm

Error undefined to `ATL_dscal' , ... in build abinit

Post by moones » Tue Aug 19, 2014 5:03 pm

Dear users
I'm trying to install abinit-7.6.1
but after make
there are following errors
can you help me? :|
thank you

Code: Select all

Making all in mods
make[3]: Entering directory `/home/my/Documents/test/abinit/src/mods'
There is no buildable file here
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/mods'
Making all in 01_interfaces_ext
make[3]: Entering directory `/home/my/Documents/test/abinit/src/01_interfaces_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/01_interfaces_ext'
Making all in 01_linalg_ext
make[3]: Entering directory `/home/my/Documents/test/abinit/src/01_linalg_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/01_linalg_ext'
Making all in 01_macroavnew_ext
make[3]: Entering directory `/home/my/Documents/test/abinit/src/01_macroavnew_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/01_macroavnew_ext'
Making all in 10_defs
make[3]: Entering directory `/home/my/Documents/test/abinit/src/10_defs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/10_defs'
Making all in 11_memory_mpi
make[3]: Entering directory `/home/my/Documents/test/abinit/src/11_memory_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/11_memory_mpi'
Making all in 11_qespresso_ext
make[3]: Entering directory `/home/my/Documents/test/abinit/src/11_qespresso_ext'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/11_qespresso_ext'
Making all in 12_hide_mpi
make[3]: Entering directory `/home/my/Documents/test/abinit/src/12_hide_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/12_hide_mpi'
Making all in 14_hidewrite
make[3]: Entering directory `/home/my/Documents/test/abinit/src/14_hidewrite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/14_hidewrite'
Making all in 16_hideleave
make[3]: Entering directory `/home/my/Documents/test/abinit/src/16_hideleave'
/usr/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/usr/include -I/usr/include -I/home/my/Documents/test/abinit/fallbacks/exports/include   -ffree-form -J/home/my/Documents/test/abinit/src/mods  -O2 -mtune=native -march=native -g -ffree-line-length-none   -c -o m_build_info.o m_build_info.F90
/usr/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/usr/include -I/usr/include -I/home/my/Documents/test/abinit/fallbacks/exports/include   -ffree-form -J/home/my/Documents/test/abinit/src/mods  -O2 -mtune=native -march=native -g -ffree-line-length-none   -c -o leave_new.o leave_new.F90
/usr/bin/mpif90 -DHAVE_CONFIG_H -I. -I../.. -I../../src/incs -I../../src/incs -I/usr/include -I/usr/include -I/home/my/Documents/test/abinit/fallbacks/exports/include   -ffree-form -J/home/my/Documents/test/abinit/src/mods  -O2 -mtune=native -march=native -g -ffree-line-length-none   -c -o m_optim_dumper.o m_optim_dumper.F90
rm -f lib16_hideleave.a
ar rc lib16_hideleave.a leave_new.o m_build_info_fake.o m_cppopts_dumper.o m_errors.o interfaces_16_hideleave.o m_build_info.o m_optim_dumper.o
ranlib lib16_hideleave.a
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/16_hideleave'
Making all in 18_timing
make[3]: Entering directory `/home/my/Documents/test/abinit/src/18_timing'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/18_timing'
Making all in 21_psiesta_noabirule
make[3]: Entering directory `/home/my/Documents/test/abinit/src/21_psiesta_noabirule'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/21_psiesta_noabirule'
Making all in 27_toolbox_oop
make[3]: Entering directory `/home/my/Documents/test/abinit/src/27_toolbox_oop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/27_toolbox_oop'
Making all in 28_numeric_noabirule
make[3]: Entering directory `/home/my/Documents/test/abinit/src/28_numeric_noabirule'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/28_numeric_noabirule'
Making all in 32_util
make[3]: Entering directory `/home/my/Documents/test/abinit/src/32_util'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/32_util'
Making all in 41_geometry
make[3]: Entering directory `/home/my/Documents/test/abinit/src/41_geometry'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/41_geometry'
Making all in 41_xc_lowlevel
make[3]: Entering directory `/home/my/Documents/test/abinit/src/41_xc_lowlevel'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/41_xc_lowlevel'
Making all in 42_libpaw
make[3]: Entering directory `/home/my/Documents/test/abinit/src/42_libpaw'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/42_libpaw'
Making all in 42_nlstrain
make[3]: Entering directory `/home/my/Documents/test/abinit/src/42_nlstrain'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/42_nlstrain'
Making all in 42_parser
make[3]: Entering directory `/home/my/Documents/test/abinit/src/42_parser'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/42_parser'
Making all in 43_ptgroups
make[3]: Entering directory `/home/my/Documents/test/abinit/src/43_ptgroups'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/43_ptgroups'
Making all in 43_wvl_wrappers
make[3]: Entering directory `/home/my/Documents/test/abinit/src/43_wvl_wrappers'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/43_wvl_wrappers'
Making all in 44_abitypes_defs
make[3]: Entering directory `/home/my/Documents/test/abinit/src/44_abitypes_defs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/44_abitypes_defs'
Making all in 45_geomoptim
make[3]: Entering directory `/home/my/Documents/test/abinit/src/45_geomoptim'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/45_geomoptim'
Making all in 47_xml
make[3]: Entering directory `/home/my/Documents/test/abinit/src/47_xml'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/47_xml'
Making all in 49_gw_toolbox_oop
make[3]: Entering directory `/home/my/Documents/test/abinit/src/49_gw_toolbox_oop'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/49_gw_toolbox_oop'
Making all in 51_manage_mpi
make[3]: Entering directory `/home/my/Documents/test/abinit/src/51_manage_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/51_manage_mpi'
Making all in 52_fft_mpi_noabirule
make[3]: Entering directory `/home/my/Documents/test/abinit/src/52_fft_mpi_noabirule'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/52_fft_mpi_noabirule'
Making all in 53_abiutil
make[3]: Entering directory `/home/my/Documents/test/abinit/src/53_abiutil'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/53_abiutil'
Making all in 53_ffts
make[3]: Entering directory `/home/my/Documents/test/abinit/src/53_ffts'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/53_ffts'
Making all in 53_spacepar
make[3]: Entering directory `/home/my/Documents/test/abinit/src/53_spacepar'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/53_spacepar'
Making all in 56_io_mpi
make[3]: Entering directory `/home/my/Documents/test/abinit/src/56_io_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/56_io_mpi'
Making all in 56_mixing
make[3]: Entering directory `/home/my/Documents/test/abinit/src/56_mixing'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/56_mixing'
Making all in 56_recipspace
make[3]: Entering directory `/home/my/Documents/test/abinit/src/56_recipspace'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/56_recipspace'
Making all in 56_xc
make[3]: Entering directory `/home/my/Documents/test/abinit/src/56_xc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/56_xc'
Making all in 57_iopsp_parser
make[3]: Entering directory `/home/my/Documents/test/abinit/src/57_iopsp_parser'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/57_iopsp_parser'
Making all in 57_iovars
make[3]: Entering directory `/home/my/Documents/test/abinit/src/57_iovars'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/57_iovars'
Making all in 61_ionetcdf
make[3]: Entering directory `/home/my/Documents/test/abinit/src/61_ionetcdf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/61_ionetcdf'
Making all in 62_cg_noabirule
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_cg_noabirule'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_cg_noabirule'
Making all in 62_ctqmc
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_ctqmc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_ctqmc'
Making all in 62_iowfdenpot
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_iowfdenpot'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_iowfdenpot'
Making all in 62_occeig
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_occeig'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_occeig'
Making all in 62_poisson
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_poisson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_poisson'
Making all in 62_wvl_wfs
make[3]: Entering directory `/home/my/Documents/test/abinit/src/62_wvl_wfs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/62_wvl_wfs'
Making all in 63_bader
make[3]: Entering directory `/home/my/Documents/test/abinit/src/63_bader'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/63_bader'
Making all in 64_atompaw
make[3]: Entering directory `/home/my/Documents/test/abinit/src/64_atompaw'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/64_atompaw'
Making all in 65_nonlocal
make[3]: Entering directory `/home/my/Documents/test/abinit/src/65_nonlocal'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/65_nonlocal'
Making all in 65_psp
make[3]: Entering directory `/home/my/Documents/test/abinit/src/65_psp'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/65_psp'
Making all in 66_paw
make[3]: Entering directory `/home/my/Documents/test/abinit/src/66_paw'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/66_paw'
Making all in 66_wfs
make[3]: Entering directory `/home/my/Documents/test/abinit/src/66_wfs'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/66_wfs'
Making all in 67_common
make[3]: Entering directory `/home/my/Documents/test/abinit/src/67_common'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/67_common'
Making all in 68_dmft
make[3]: Entering directory `/home/my/Documents/test/abinit/src/68_dmft'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/68_dmft'
Making all in 68_recursion
make[3]: Entering directory `/home/my/Documents/test/abinit/src/68_recursion'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/68_recursion'
Making all in 68_rsprc
make[3]: Entering directory `/home/my/Documents/test/abinit/src/68_rsprc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/68_rsprc'
Making all in 69_wfdesc
make[3]: Entering directory `/home/my/Documents/test/abinit/src/69_wfdesc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/69_wfdesc'
Making all in 70_gw
make[3]: Entering directory `/home/my/Documents/test/abinit/src/70_gw'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/70_gw'
Making all in 71_bse
make[3]: Entering directory `/home/my/Documents/test/abinit/src/71_bse'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/71_bse'
Making all in 72_response
make[3]: Entering directory `/home/my/Documents/test/abinit/src/72_response'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/72_response'
Making all in 77_ddb
make[3]: Entering directory `/home/my/Documents/test/abinit/src/77_ddb'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/77_ddb'
Making all in 77_lwf
make[3]: Entering directory `/home/my/Documents/test/abinit/src/77_lwf'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/77_lwf'
Making all in 77_suscep
make[3]: Entering directory `/home/my/Documents/test/abinit/src/77_suscep'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/77_suscep'
Making all in 79_seqpar_mpi
make[3]: Entering directory `/home/my/Documents/test/abinit/src/79_seqpar_mpi'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/79_seqpar_mpi'
Making all in 83_cut3d
make[3]: Entering directory `/home/my/Documents/test/abinit/src/83_cut3d'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/83_cut3d'
Making all in 95_drive
make[3]: Entering directory `/home/my/Documents/test/abinit/src/95_drive'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/95_drive'
Making all in 98_main
make[3]: Entering directory `/home/my/Documents/test/abinit/src/98_main'
/usr/bin/mpif90 -ffree-form -J/home/my/Documents/test/abinit/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/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/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/53_abiutil/lib53_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_defs/lib10_defs.a  ../../src/01_linalg_ext/lib01_linalg_ext.a ../../src/01_interfaces_ext/lib01_interfaces_ext.a  -L/usr/lib -letsf_io_low_level -letsf_io_utils -letsf_io -L/usr/lib -lnetcdf -lnetcdff -L/home/my/Documents/test/abinit/fallbacks/exports/lib -lxc -L/usr/lib/x86-64-linux-gnu/ -lfftw3 -lfftw3f -L/home/my/Documents/test/abinit/fallbacks/exports/lib -llapack -lblas -lrt -L/usr/lib/openmpi/lib -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lgfortran -lm -lquadmath -lpthread -L/usr/lib/openmpi/lib -L/usr/lib/gcc/i686-linux-gnu/4.6 -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../i386-linux-gnu -L/usr/lib/gcc/i686-linux-gnu/4.6/../../../../lib -L/lib/i386-linux-gnu -L/lib/../lib -L/usr/lib/i386-linux-gnu -L/usr/lib/../lib -L/usr/lib/gcc/i686-linux-gnu/4.6/../../.. -lmpi_f90 -lmpi_f77 -lmpi -lopen-rte -lopen-pal -ldl -lnsl -lutil -lgfortran -lm -lquadmath -lpthread
/usr/lib/liblapack.so: undefined reference to `ATL_zptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_scopy'
/usr/lib/liblapack.so: undefined reference to `ATL_stpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_saxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_srotg'
/usr/lib/liblapack.so: undefined reference to `ATL_ztrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpr'
/usr/lib/liblapack.so: undefined reference to `ATL_cswap'
/usr/lib/liblapack.so: undefined reference to `ATL_drot'
/usr/lib/liblapack.so: undefined reference to `ATL_zgeru'
/usr/lib/liblapack.so: undefined reference to `ATL_stbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyr'
/usr/lib/liblapack.so: undefined reference to `ATL_zher2'
/usr/lib/liblapack.so: undefined reference to `ATL_cptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_cset'
/usr/lib/liblapack.so: undefined reference to `ATL_zdrot'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_scnrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_stbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zpther2k'
/usr/lib/liblapack.so: undefined reference to `ATL_cpthemm'
/usr/lib/liblapack.so: undefined reference to `ATL_cpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_ztbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_sspr'
/usr/lib/liblapack.so: undefined reference to `ATL_csyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_dpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_dscal'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyr2'
/usr/lib/liblapack.so: undefined reference to `ATL_zGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_ddot'
/usr/lib/liblapack.so: undefined reference to `ATL_zaxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_cgeru'
/usr/lib/liblapack.so: undefined reference to `ATL_ssymv'
/usr/lib/liblapack.so: undefined reference to `ATL_dzasum'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_ztbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_snrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_cptherk'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_zgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_ccopy'
/usr/lib/liblapack.so: undefined reference to `ATL_dset'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_sger'
/usr/lib/liblapack.so: undefined reference to `ATL_cher2'
/usr/lib/liblapack.so: undefined reference to `ATL_dGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_crotg'
/usr/lib/liblapack.so: undefined reference to `ATL_zswap'
/usr/lib/liblapack.so: undefined reference to `ATL_dtbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_zdotc_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_zptherk'
/usr/lib/liblapack.so: undefined reference to `ATL_ctpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_ctrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_zsyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_dspr'
/usr/lib/liblapack.so: undefined reference to `ATL_dtrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_sptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_zgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_cher'
/usr/lib/liblapack.so: undefined reference to `ATL_ssbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_caxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_cgerc'
/usr/lib/liblapack.so: undefined reference to `ATL_dnrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_sdsdot'
/usr/lib/liblapack.so: undefined reference to `ATL_spttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_cscal'
/usr/lib/liblapack.so: undefined reference to `ATL_stpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sspmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cdotu_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_ctbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_icamax'
/usr/lib/liblapack.so: undefined reference to `ATL_sscal'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyr'
/usr/lib/liblapack.so: undefined reference to `ATL_ctbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_drotmg'
/usr/lib/liblapack.so: undefined reference to `ATL_spttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpr2'
/usr/lib/liblapack.so: undefined reference to `ATL_ctpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_zpthemm'
/usr/lib/liblapack.so: undefined reference to `ATL_dpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_strmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zcopy'
/usr/lib/liblapack.so: undefined reference to `ATL_idamax'
/usr/lib/liblapack.so: undefined reference to `ATL_zscal'
/usr/lib/liblapack.so: undefined reference to `ATL_cdotc_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_dtbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sspr2'
/usr/lib/liblapack.so: undefined reference to `ATL_cpther2k'
/usr/lib/liblapack.so: undefined reference to `ATL_ztrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zcopyConj'
/usr/lib/liblapack.so: undefined reference to `ATL_zmoveConj'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_cgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_zcplxinvert'
/usr/lib/liblapack.so: undefined reference to `ATL_cscalConj'
/usr/lib/liblapack.so: undefined reference to `ATL_sasum'
/usr/lib/liblapack.so: undefined reference to `ATL_zscalConj'
/usr/lib/liblapack.so: undefined reference to `ATL_dcopy'
/usr/lib/liblapack.so: undefined reference to `ATL_zaxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_cmoveConj'
/usr/lib/liblapack.so: undefined reference to `ATL_scasum'
/usr/lib/liblapack.so: undefined reference to `ATL_srotmg'
/usr/lib/liblapack.so: undefined reference to `ATL_dtpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_sdot'
/usr/lib/liblapack.so: undefined reference to `ATL_chpr2'
/usr/lib/liblapack.so: undefined reference to `ATL_zhemv'
/usr/lib/liblapack.so: undefined reference to `ATL_zdotu_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_chbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sswap'
/usr/lib/liblapack.so: undefined reference to `ATL_ccplxinvert'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_izamax'
/usr/lib/liblapack.so: undefined reference to `ATL_drotg'
/usr/lib/liblapack.so: undefined reference to `ATL_dtrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ztpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zher'
/usr/lib/liblapack.so: undefined reference to `ATL_srot'
/usr/lib/liblapack.so: undefined reference to `ATL_dsdot'
/usr/lib/liblapack.so: undefined reference to `ATL_ztpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_srotm'
/usr/lib/liblapack.so: undefined reference to `ATL_daxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_sset'
/usr/lib/liblapack.so: undefined reference to `ATL_zpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_daxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_dgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_cpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_ctrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ccopyConj'
/usr/lib/liblapack.so: undefined reference to `ATL_zgerc'
/usr/lib/liblapack.so: undefined reference to `ATL_dgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dspr2'
/usr/lib/liblapack.so: undefined reference to `ATL_sgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_dsymv'
/usr/lib/liblapack.so: undefined reference to `ATL_sgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_dsbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dasum'
/usr/lib/liblapack.so: undefined reference to `ATL_saxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_dswap'
/usr/lib/liblapack.so: undefined reference to `ATL_chpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_isamax'
/usr/lib/liblapack.so: undefined reference to `ATL_caxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_dtpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_chpr'
/usr/lib/liblapack.so: undefined reference to `ATL_dznrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyr2'
/usr/lib/liblapack.so: undefined reference to `ATL_sGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_zset'
/usr/lib/liblapack.so: undefined reference to `ATL_zhbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dger'
/usr/lib/liblapack.so: undefined reference to `ATL_chemv'
/usr/lib/liblapack.so: undefined reference to `ATL_cGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_csrot'
/usr/lib/liblapack.so: undefined reference to `ATL_dspmv'
/usr/lib/liblapack.so: undefined reference to `ATL_xerbla'
/usr/lib/liblapack.so: undefined reference to `ATL_drotm'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_cgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zrotg'
/usr/lib/liblapack.so: undefined reference to `ATL_strsv'
collect2: ld returned 1 exit status
make[3]: *** [abinit] Error 1
make[3]: Leaving directory `/home/my/Documents/test/abinit/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/my/Documents/test/abinit/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/my/Documents/test/abinit'
make: *** [all] Error 2
Last edited by moones on Sat Aug 23, 2014 5:23 pm, edited 2 times in total.

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Build error for abinit-7.6.1

Post by Jordan » Tue Aug 19, 2014 5:43 pm

Hi,

Although you should try to compile the latest version of Abinit (7.8.2) available here, I'll try to help you.

Firstly, you should provide your .ac file or the configure line you used to configure abinit before makeing "make" and the resulting output.
I am not completely sure, but I think there is an issue with you linear algebra library installation.
The prefix ATL_ makes me think at the atlas library, which uses lapack and blas to.
What does the end of configuration step state for the linalg package ? netlib ? atlas ? my guess is there a conflict between atlas/lapack/blas or wrong flags.

Cheers

Jordan

moones
Posts: 8
Joined: Tue Aug 19, 2014 4:51 pm

Re: Build error for abinit-7.6.1

Post by moones » Wed Aug 20, 2014 4:40 am

i'm trying to instal abinit-7.8.2, but there is a same error.
before instal abinit, i install these packages:

Code: Select all

sudo apt-get -y install gcc g++ gfortran
sudo apt-get -y install patch

sudo apt-get -y install libetsf-io-dev
sudo apt-get -y install libnetcdf-dev

sudo apt-get -y install libfftw3-dev

sudo apt-get -y install libatlas-base-dev  libatlas3gf-base
sudo apt-get -y install liblapack3gf liblapack-dev
sudo apt-get -y install libblas3gf libblas-dev

sudo apt-get -y install openmpi-bin openmpi-common libopenmpi-dev

and my configure file is "ubuntu.ac":

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 -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/lib64 -llapack -lf77blas -lcblas -latlas"
with_dft_flavor="atompaw+libxc"
#with_dft_flavor="atompaw+bigdft+libxc+wannier90"
enable_gw_dpc="yes"
enable_maintainer_checks="no"

Summary of the configuration:

Code: Select all


        +--------------------------------------------------------------+
        | Suboptimal linear algebra configuration                      |
        +--------------------------------------------------------------+
        | You have decided to use the Abinit version of linear         |
        | algebra libraries (BLAS, LAPACK), which is a random mix of   |
        | routines coming from official Netlib versions ranging from   |
        | 3.0 (released June 30, 1999) to 3.2 (released November 18,   |
        | 2008). They were downloaded from http://www.netlib.org/.     |
        |                                                              |
        | The current version of Netlib's libraries is 3.4.0 (released |
        | November 11, 2011). Since version 3.2, more than 60          |
        | significant bugs - including memory leaks - have been fixed, |
        | various performance improvements have been made available,   |
        | and routine interfaces have been refactored.                 |
        |                                                              |
        | Moreover, the Abinit version of the libraries rely on a      |
        | heavily modified build system and will be compiled with      |
        | build parameters optimized for Abinit, not for BLAS or       |
        | LAPACK. This might prove somewhat suboptimal or inadequate   |
        | on some computer architectures. Please note as well that the |
        | Abinit test suite does not provide specific tests for linear |
        | algebra.                                                     |
        |                                                              |
        | By using the libraries provided by Abinit, you thus accept   |
        | to experience poor calculation performance, unlikely but     |
        | possible random crashes without error messages, and possibly |
        | inaccurate results. However, if this is not what you         |
        | intended originally, you may instead select one of the       |
        | various optimized linear algebra implementations supported   |
        | by Abinit.                                                   |
        |                                                              |
        | For production-grade calculations, you will find detailed    |
        | documentation on how to configure Abinit for optimized       |
        | linear algebra libraries in the "Linear algebra              |
        | connector" section of Abinit's config file template:         |
        | ~abinit/doc/build/config-template.ac.                        |
        |                                                              |
        | Do not hesitate to contact your system administrator in      |
        | case of doubt or if you need linear algebra libraries        |
        | installed into your local high-performance computing         |
        | environment.                                                 |
        +--------------------------------------------------------------+


Summary of important options:

  * C compiler      : gnu version 4.6
  * Fortran compiler: gnu version 4.6
  * architecture    : unknown unknown (32 bits)

  * debugging       : basic
  * optimizations   : standard

  * OpenMP enabled  : no (collapse: ignored)
  * MPI    enabled  : yes
  * MPI-IO enabled  : yes
  * GPU    enabled  : no (flavor: none)

  * TRIO   flavor = netcdf+etsf_io
  * TIMER  flavor = abinit (libs: ignored)
  * LINALG flavor = netlib-fallback (libs: ignored)
  * ALGO   flavor = none (libs: ignored)
  * FFT    flavor = fftw3 (libs: user-defined)
  * MATH   flavor = none (libs: ignored)
  * DFT    flavor = libxc-fallback+atompaw-fallback

Configuration complete.
You may now type "make" to build ABINIT.
(or, on a SMP machine, "make mj4", or "make multi multi_nprocs=<n>")

but in make step there is the error:

Code: Select all

/usr/lib/liblapack.so: undefined reference to `ATL_sspr2'
/usr/lib/liblapack.so: undefined reference to `ATL_chbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zhemv'
/usr/lib/liblapack.so: undefined reference to `ATL_dznrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_chpr2'
/usr/lib/liblapack.so: undefined reference to `ATL_sscal'
/usr/lib/liblapack.so: undefined reference to `ATL_scasum'
/usr/lib/liblapack.so: undefined reference to `ATL_strmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dtrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dsdot'
/usr/lib/liblapack.so: undefined reference to `ATL_drotg'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_cmoveConj'
/usr/lib/liblapack.so: undefined reference to `ATL_daxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_dgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zgerc'
/usr/lib/liblapack.so: undefined reference to `ATL_dspr2'
/usr/lib/liblapack.so: undefined reference to `ATL_dsbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ctrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dsymv'
/usr/lib/liblapack.so: undefined reference to `ATL_sgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_dswap'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_dtpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zhbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cdotu_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_saxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_zher'
/usr/lib/liblapack.so: undefined reference to `ATL_zscalConj'
/usr/lib/liblapack.so: undefined reference to `ATL_sGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_srot'
/usr/lib/liblapack.so: undefined reference to `ATL_izamax'
/usr/lib/liblapack.so: undefined reference to `ATL_csrot'
/usr/lib/liblapack.so: undefined reference to `ATL_cGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_ztpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_srotg'
/usr/lib/liblapack.so: undefined reference to `ATL_scopy'
/usr/lib/liblapack.so: undefined reference to `ATL_ztrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_saxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_ztpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_chpr'
/usr/lib/liblapack.so: undefined reference to `ATL_zgeru'
/usr/lib/liblapack.so: undefined reference to `ATL_zrotg'
/usr/lib/liblapack.so: undefined reference to `ATL_dgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_zset'
/usr/lib/liblapack.so: undefined reference to `ATL_dscal'
/usr/lib/liblapack.so: undefined reference to `ATL_xerbla'
/usr/lib/liblapack.so: undefined reference to `ATL_cscalConj'
/usr/lib/liblapack.so: undefined reference to `ATL_strsv'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpr'
/usr/lib/liblapack.so: undefined reference to `ATL_stpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_cptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_dzasum'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyr'
/usr/lib/liblapack.so: undefined reference to `ATL_zmoveConj'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_sspr'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_cher2'
/usr/lib/liblapack.so: undefined reference to `ATL_ctpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ddot'
/usr/lib/liblapack.so: undefined reference to `ATL_zdotu_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_stbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_ztbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_ctrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_dGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_ztbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zptherk'
/usr/lib/liblapack.so: undefined reference to `ATL_zpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_icamax'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_ctpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_spttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_drotmg'
/usr/lib/liblapack.so: undefined reference to `ATL_zcopy'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpr2'
/usr/lib/liblapack.so: undefined reference to `ATL_cher'
/usr/lib/liblapack.so: undefined reference to `ATL_dspr'
/usr/lib/liblapack.so: undefined reference to `ATL_spttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_idamax'
/usr/lib/liblapack.so: undefined reference to `ATL_dtbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cpther2k'
/usr/lib/liblapack.so: undefined reference to `ATL_stpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sasum'
/usr/lib/liblapack.so: undefined reference to `ATL_dpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_dtpsv'
/usr/lib/liblapack.so: undefined reference to `ATL_sswap'
/usr/lib/liblapack.so: undefined reference to `ATL_dcopy'
/usr/lib/liblapack.so: undefined reference to `ATL_ccopyConj'
/usr/lib/liblapack.so: undefined reference to `ATL_srotmg'
/usr/lib/liblapack.so: undefined reference to `ATL_zaxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_srotm'
/usr/lib/liblapack.so: undefined reference to `ATL_sdot'
/usr/lib/liblapack.so: undefined reference to `ATL_zscal'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_zptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_zsyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_daxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_cpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_isamax'
/usr/lib/liblapack.so: undefined reference to `ATL_dasum'
/usr/lib/liblapack.so: undefined reference to `ATL_zpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_chpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_dptsyr2k'
/usr/lib/liblapack.so: undefined reference to `ATL_dspmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyr2'
/usr/lib/liblapack.so: undefined reference to `ATL_caxpby'
/usr/lib/liblapack.so: undefined reference to `ATL_drotm'
/usr/lib/liblapack.so: undefined reference to `ATL_sset'
/usr/lib/liblapack.so: undefined reference to `ATL_cswap'
/usr/lib/liblapack.so: undefined reference to `ATL_ccplxinvert'
/usr/lib/liblapack.so: undefined reference to `ATL_zdrot'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_csyreflect'
/usr/lib/liblapack.so: undefined reference to `ATL_dger'
/usr/lib/liblapack.so: undefined reference to `ATL_cdotc_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_zpther2k'
/usr/lib/liblapack.so: undefined reference to `ATL_zptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_dsyr2'
/usr/lib/liblapack.so: undefined reference to `ATL_zher2'
/usr/lib/liblapack.so: undefined reference to `ATL_zcplxinvert'
/usr/lib/liblapack.so: undefined reference to `ATL_cset'
/usr/lib/liblapack.so: undefined reference to `ATL_cgeru'
/usr/lib/liblapack.so: undefined reference to `ATL_ssymv'
/usr/lib/liblapack.so: undefined reference to `ATL_zGetNB'
/usr/lib/liblapack.so: undefined reference to `ATL_chemv'
/usr/lib/liblapack.so: undefined reference to `ATL_cpttrsm'
/usr/lib/liblapack.so: undefined reference to `ATL_drot'
/usr/lib/liblapack.so: undefined reference to `ATL_scnrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_zaxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_dpttrmm'
/usr/lib/liblapack.so: undefined reference to `ATL_cpthemm'
/usr/lib/liblapack.so: undefined reference to `ATL_stbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsyrk'
/usr/lib/liblapack.so: undefined reference to `ATL_snrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_dtbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_zswap'
/usr/lib/liblapack.so: undefined reference to `ATL_crotg'
/usr/lib/liblapack.so: undefined reference to `ATL_ccopy'
/usr/lib/liblapack.so: undefined reference to `ATL_sptgemm'
/usr/lib/liblapack.so: undefined reference to `ATL_cptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_cptherk'
/usr/lib/liblapack.so: undefined reference to `ATL_dset'
/usr/lib/liblapack.so: undefined reference to `ATL_zdotc_sub'
/usr/lib/liblapack.so: undefined reference to `ATL_zgemv'
/usr/lib/liblapack.so: undefined reference to `ATL_zhpmv'
/usr/lib/liblapack.so: undefined reference to `ATL_zcopyConj'
/usr/lib/liblapack.so: undefined reference to `ATL_caxpy'
/usr/lib/liblapack.so: undefined reference to `ATL_dnrm2'
/usr/lib/liblapack.so: undefined reference to `ATL_dtrsv'
/usr/lib/liblapack.so: undefined reference to `ATL_cscal'
/usr/lib/liblapack.so: undefined reference to `ATL_cgerc'
/usr/lib/liblapack.so: undefined reference to `ATL_sspmv'
/usr/lib/liblapack.so: undefined reference to `ATL_ctbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sger'
/usr/lib/liblapack.so: undefined reference to `ATL_zgbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sptsymm'
/usr/lib/liblapack.so: undefined reference to `ATL_ctbsv'
/usr/lib/liblapack.so: undefined reference to `ATL_ztrmv'
/usr/lib/liblapack.so: undefined reference to `ATL_sdsdot'
/usr/lib/liblapack.so: undefined reference to `ATL_ssyr'
/usr/lib/liblapack.so: undefined reference to `ATL_zpthemm'
/usr/lib/liblapack.so: undefined reference to `ATL_ssbmv'
/usr/lib/liblapack.so: undefined reference to `ATL_cgemv'
collect2: ld returned 1 exit status
make[3]: *** [abinit] Error 1
make[3]: Leaving directory `/home/my/Documents/test/abinit-7.8.2/src/98_main'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/my/Documents/test/abinit-7.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/my/Documents/test/abinit-7.8.2'
make: *** [all] Error 2

thanks for your help.

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Build error for abinit-7.6.1

Post by Jordan » Wed Aug 20, 2014 6:48 pm

Thanks for the log files.

First you should not have stry make since at the end of your configure you have a big message that says
1) you use a suboptimal linear algebra library.
2) you asked for atlas but the configure script think it is not working so it uses the fallback.

So I think you have a conflict between the liblapack of the fallback and atlas.

here is what I use for an installation on ubuntu 14.04 (only linear algebra related packages)

Code: Select all

sudo apt-get -y install \
  libatlas-dev \
  libatlas3-base \
  libatlas3gf-base \
  libatlas-base-dev \
  liblapack-dev

and the ubuntu.ac file looks like yours but I don't specify the linalg_incs and linalg_libs (should be auto-detected)

Code: Select all

FC=mpif90
CC=mpicc
CPP=cpp

enable_parallel=yes
enable_mpi=yes
enable_mpi_io=yes
with_mpi_level=2

with_linalg_flavor="atlas"

with_fft_flavor="fftw3"
with_fft_incs="-I/usr/include"
with_fft_libs="-L/use/lib -lfftw3 -lfftw3f"



Be sure that the configure script tells you atlas for the linear algebra at the end.

Cheers

Jordan

moones
Posts: 8
Joined: Tue Aug 19, 2014 4:51 pm

Re: Build error for abinit-7.6.1  [SOLVED]

Post by moones » Sat Aug 23, 2014 5:20 pm

thank you for all your help

with this command my problem was resolved:
sudo apt-get remove libopenblas-base
because i have more than one provider of BLAS/ATLAS/LAPACK installed <by the search I realized>

i have an abinit.7.8.2 installed package now :)

thanks a lot ;)

Locked