Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails to build with Lapack on #12

Open
certik opened this issue Jan 14, 2014 · 0 comments
Open

Fails to build with Lapack on #12

certik opened this issue Jan 14, 2014 · 0 comments

Comments

@certik
Copy link
Owner

certik commented Jan 14, 2014

ondrej@kittiwake:~/repos/dftatom(master)$ cmake -DWITH_LAPACK=yes .
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- The Fortran compiler identification is GNU
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran  -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes


Configuration results
---------------------
Fortran compiler: /usr/bin/gfortran
Build type: Debug
Fortran compiler flags: -std=f2003 -Wall -Wextra -Wimplicit-interface -fPIC -fmax-errors=1 -g -fbounds-check -fcheck-array-temporaries -fbacktrace
Installation prefix: /usr/local
With C interface: no
With Python: no
With Lapack: yes
-- Configuring done
-- Generating done
-- Build files have been written to: /nh/nest/u/ondrej/repos/dftatom
ondrej@kittiwake:~/repos/dftatom(master)$ make
Scanning dependencies of target dftatom
[  2%] Building Fortran object src/CMakeFiles/dftatom.dir/types.f90.o
[  4%] Building Fortran object src/CMakeFiles/dftatom.dir/utils.f90.o
[  6%] Building Fortran object src/CMakeFiles/dftatom.dir/ode1d.f90.o
[  8%] Building Fortran object src/CMakeFiles/dftatom.dir/constants.f90.o
[ 10%] Building Fortran object src/CMakeFiles/dftatom.dir/rdirac.f90.o
[ 12%] Building Fortran object src/CMakeFiles/dftatom.dir/rschroed.f90.o
[ 14%] Building Fortran object src/CMakeFiles/dftatom.dir/dft_data.f90.o
[ 16%] Building Fortran object src/CMakeFiles/dftatom.dir/energies.f90.o
[ 18%] Building Fortran object src/CMakeFiles/dftatom.dir/mixings.f90.o
/nh/nest/u/ondrej/repos/dftatom/src/mixings.f90:84:0: warning: unused parameter ‘r’ [-Wunused-parameter]
/nh/nest/u/ondrej/repos/dftatom/src/mixings.f90:43:0: warning: unused parameter ‘r’ [-Wunused-parameter]
/nh/nest/u/ondrej/repos/dftatom/src/mixings.f90:16:0: warning: unused parameter ‘r’ [-Wunused-parameter]
[ 20%] Building Fortran object src/CMakeFiles/dftatom.dir/reigen.f90.o
[ 22%] Building Fortran object src/CMakeFiles/dftatom.dir/rpoisson.f90.o
[ 24%] Building Fortran object src/CMakeFiles/dftatom.dir/dft.f90.o
[ 26%] Building Fortran object src/CMakeFiles/dftatom.dir/mesh.f90.o
[ 28%] Building Fortran object src/CMakeFiles/dftatom.dir/states.f90.o
[ 30%] Building Fortran object src/CMakeFiles/dftatom.dir/ode1d_other.f90.o
[ 32%] Building Fortran object src/CMakeFiles/dftatom.dir/drivers.f90.o
[ 34%] Building Fortran object src/CMakeFiles/dftatom.dir/dftatom.f90.o
[ 36%] Building Fortran object src/CMakeFiles/dftatom.dir/rdirac_other.f90.o
[ 38%] Building Fortran object src/CMakeFiles/dftatom.dir/rpoisson_other.f90.o
[ 40%] Building Fortran object src/CMakeFiles/dftatom.dir/rschroed_other.f90.o
Linking Fortran shared library libdftatom.so
[ 40%] Built target dftatom
Scanning dependencies of target mixings
[ 42%] Building Fortran object tests/mixings/CMakeFiles/mixings.dir/mixings.f90.o
Linking Fortran executable mixings
[ 42%] Built target mixings
Scanning dependencies of target hydrogen
[ 44%] Building Fortran object tests/hydrogen/CMakeFiles/hydrogen.dir/hydrogen.f90.o
Linking Fortran executable hydrogen
[ 44%] Built target hydrogen
Scanning dependencies of target boron_nonrel
[ 46%] Building Fortran object tests/boron/CMakeFiles/boron_nonrel.dir/boron_nonrel.f90.o
Linking Fortran executable boron_nonrel
[ 46%] Built target boron_nonrel
Scanning dependencies of target boron_rel
[ 48%] Building Fortran object tests/boron/CMakeFiles/boron_rel.dir/boron_rel.f90.o
Linking Fortran executable boron_rel
[ 48%] Built target boron_rel
Scanning dependencies of target Z92_nonrel
[ 51%] Building Fortran object tests/Z92n7all/CMakeFiles/Z92_nonrel.dir/Z92_nonrel.f90.o
Linking Fortran executable Z92_nonrel
[ 51%] Built target Z92_nonrel
Scanning dependencies of target Z92_nonrel_100
[ 53%] Building Fortran object tests/Z92n7all/CMakeFiles/Z92_nonrel_100.dir/Z92_nonrel_100.f90.o
Linking Fortran executable Z92_nonrel_100
[ 53%] Built target Z92_nonrel_100
Scanning dependencies of target Z92_rel
[ 55%] Building Fortran object tests/Z92n7all/CMakeFiles/Z92_rel.dir/Z92_rel.f90.o
Linking Fortran executable Z92_rel
[ 55%] Built target Z92_rel
Scanning dependencies of target Z92_rel_100
[ 57%] Building Fortran object tests/Z92n7all/CMakeFiles/Z92_rel_100.dir/Z92_rel_100.f90.o
Linking Fortran executable Z92_rel_100
[ 57%] Built target Z92_rel_100
Scanning dependencies of target Z92_tf
[ 59%] Building Fortran object tests/Z92n7all/CMakeFiles/Z92_tf.dir/Z92_tf.f90.o
Linking Fortran executable Z92_tf
[ 59%] Built target Z92_tf
Scanning dependencies of target uranium_nonrel
[ 61%] Building Fortran object tests/uranium/CMakeFiles/uranium_nonrel.dir/uranium_nonrel.f90.o
Linking Fortran executable uranium_nonrel
[ 61%] Built target uranium_nonrel
Scanning dependencies of target uranium_rel
[ 63%] Building Fortran object tests/uranium/CMakeFiles/uranium_rel.dir/uranium_rel.f90.o
Linking Fortran executable uranium_rel
[ 63%] Built target uranium_rel
Scanning dependencies of target uranium_tf
[ 65%] Building Fortran object tests/uranium/CMakeFiles/uranium_tf.dir/uranium_tf.f90.o
Linking Fortran executable uranium_tf
[ 65%] Built target uranium_tf
Scanning dependencies of target conv_lda
[ 67%] Building Fortran object tests/lda/CMakeFiles/conv_lda.dir/conv_lda.f90.o
Linking Fortran executable conv_lda
[ 67%] Built target conv_lda
Scanning dependencies of target conv_rlda
[ 69%] Building Fortran object tests/rlda/CMakeFiles/conv_rlda.dir/conv_rlda.f90.o
Linking Fortran executable conv_rlda
[ 69%] Built target conv_rlda
Scanning dependencies of target F_atom_U
[ 71%] Building Fortran object tests/atom_U/CMakeFiles/F_atom_U.dir/F_atom_U.f90.o
Linking Fortran executable F_atom_U
[ 71%] Built target F_atom_U
Scanning dependencies of target osc_nonrel
[ 73%] Building Fortran object tests/oscillator/CMakeFiles/osc_nonrel.dir/osc_nonrel.f90.o
Linking Fortran executable osc_nonrel
[ 73%] Built target osc_nonrel
Scanning dependencies of target osc_rel
[ 75%] Building Fortran object tests/oscillator/CMakeFiles/osc_rel.dir/osc_rel.f90.o
Linking Fortran executable osc_rel
[ 75%] Built target osc_rel
Scanning dependencies of target well
[ 77%] Building Fortran object tests/well/CMakeFiles/well.dir/optimize.f90.o
/nh/nest/u/ondrej/repos/dftatom/tests/well/optimize.f90:22:0: warning: unused parameter ‘f’ [-Wunused-parameter]
[ 79%] Building Fortran object tests/well/CMakeFiles/well.dir/special.f90.o
Linking Fortran static library libwell.a
[ 79%] Built target well
Scanning dependencies of target well_nonrel
[ 81%] Building Fortran object tests/well/CMakeFiles/well_nonrel.dir/well_nonrel.f90.o
Linking Fortran executable well_nonrel
[ 81%] Built target well_nonrel
Scanning dependencies of target well_rel
[ 83%] Building Fortran object tests/well/CMakeFiles/well_rel.dir/well_rel.f90.o
Linking Fortran executable well_rel
[ 83%] Built target well_rel
Scanning dependencies of target vloc_nonrel
[ 85%] Building Fortran object tests/pseudopotential/CMakeFiles/vloc_nonrel.dir/vloc_nonrel.f90.o
Linking Fortran executable vloc_nonrel
[ 85%] Built target vloc_nonrel
Scanning dependencies of target vloc_nonrel_dft
[ 87%] Building Fortran object tests/pseudopotential/CMakeFiles/vloc_nonrel_dft.dir/vloc_nonrel_dft.f90.o
Linking Fortran executable vloc_nonrel_dft
[ 87%] Built target vloc_nonrel_dft
Scanning dependencies of target vloc_nonrel_dft_hyp
[ 89%] Building Fortran object tests/pseudopotential/CMakeFiles/vloc_nonrel_dft_hyp.dir/vloc_nonrel_dft_hyp.f90.o
Linking Fortran executable vloc_nonrel_dft_hyp
[ 89%] Built target vloc_nonrel_dft_hyp
Scanning dependencies of target double_min
[ 91%] Building Fortran object tests/double_min/CMakeFiles/double_min.dir/lapack.f90.o
[ 93%] Building Fortran object tests/double_min/CMakeFiles/double_min.dir/interpolation.f90.o
Linking Fortran static library libdouble_min.a
[ 93%] Built target double_min
Scanning dependencies of target N_conv
[ 95%] Building Fortran object tests/double_min/CMakeFiles/N_conv.dir/N_conv.f90.o
/nh/nest/u/ondrej/repos/dftatom/tests/double_min/N_conv.f90:81.72:

            Z, c, relat, .false., Emin_init, Emax_init, converged, E, y)
                                                                        1
Error: Missing actual argument for argument 'q' at (1)
Fatal Error: Error count reached limit of 1.
make[2]: *** [tests/double_min/CMakeFiles/N_conv.dir/N_conv.f90.o] Error 1
make[1]: *** [tests/double_min/CMakeFiles/N_conv.dir/all] Error 2
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant