compilation failed

Problems with Dalton installation? Find answers or ask for help here
Post Reply
Posts: 1
Joined: 04 Dec 2017, 12:15
First name(s): Hirotoshi
Last name(s): Mori
Affiliation: Ochanomizu University
Country: Japan

compilation failed

Post by qc_forest » 04 Dec 2017, 12:54

Dear DALTON developers and users,

This is Hirotoshi Mori at Ochanomizu University, Japan.
I'm a quite new user of DALTON.

I just finished downloading the latest DALTON2016 as a tar.gz file.
I expanded the compressed source codes, and tried to compile them by following installation instruction.
The command I used was shown below.

cd build

I could start my compilation process properly, however, I met the following error in the end of the compilation.

Code: Select all

[ 83%] Building Fortran object CMakeFiles/dalton.dir/DALTON/sirius/sir_mep.F.o
[ 84%] Building Fortran object CMakeFiles/dalton.dir/DALTON/sirius/sir_qfit.F.o

      use qfit_variables, only : qfit_multipole_rank                    
Error: Symbol 'qfit_multipole_rank' referenced at (1) not found in module 'qfit_variables'

      call qfit_get_results( charges, dipoles )                         
Error: More actual than formal arguments in procedure call at (1)
make[2]: *** [CMakeFiles/dalton.dir/DALTON/sirius/sir_qfit.F.o] Error 1
make[1]: *** [CMakeFiles/dalton.dir/all] Error 2
make: *** [all] Error 2

It seems that I can not handle this problem by myself.
Could you please let me know how to overcome this problem?

with the best regards,
Hirotoshi MORI, Ph.D.

Faculty of Core Research, Natural Science Division
Department of Chemistry & Biochemistry
Ochanomizu University
2-1-1 Otsuka, Bunkyo-ku, Tokyo 112-8610, Japan

JST PRESTO (Sakigake) Project Researcher
Advanced materials informatics through comprehensive integration
among theoretical, experimental, computational and data-centric sciences

Tel: +81-3-5978-5718

User avatar
Posts: 524
Joined: 27 Jun 2013, 16:32
First name(s): Jógvan Magnus
Middle name(s): Haugaard
Last name(s): Olsen
Affiliation: Aarhus University
Country: Denmark

Re: compilation failed

Post by magnus » 05 Dec 2017, 11:39

This happens because downloading a tar.gz file will not download all the dependencies (which are located in the external directory). You can download each of the external modules listed here: ... 6/external. The correct version of the external modules can be downloaded by clicking on the commit hash (e.g. ffc1a2f1 for efs) for each module that is shown in the list (except the one without a commit hash) and then using the download button on the page you will be directed to. Then you have to extract each of these in their respective subdirectory under the external directory.

A much easier approach is to use the following command to download Dalton and all of the external modules (requires internet connection):

Code: Select all

git clone --recursive -b release/2016
This will create a directory named dalton from which you can repeat your original approach, i.e.:

Code: Select all

cd build

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 3 guests