Skip to content

Build issues with gfnff_api #478

@ER-Elivian

Description

@ER-Elivian

I have got following error while building from source with cmake:

/home/USERNAME/crest-3.0.1/src/calculator/gfnff_api.F90:75:25:

   75 |       & ichrg=chrg,print=pr,iostat=io,iunit=iunit)
      |                         1
Error: Keyword argument ‘print’ at (1) is not in the procedure
/home/USERNAME/crest-3.0.1/src/calculator/gfnff_api.F90:80:25:

   80 |       & ichrg=chrg,print=pr,iostat=io,iunit=iunit)
      |                         1
Error: Keyword argument ‘print’ at (1) is not in the procedure

function gfnff_initialize (as I see from _deps/gfnff-src/src/gfnff_interface.f90) doesn't have "print" and "iunit" arguments)

After removing these arguments (which is improperly, but "iunit" doesn't described in gfnff_api.f90 and "pr" looks like "be verbose" flag). I've got many errors from tblite_api.f90 telling "Error: Missing actual argument for argument ‘error’" at new_gfn1_calculator, new_gfn2_calculator, new_ipea1_calculator and others

To Reproduce
I am using gfortran (Ubuntu 13.3.0-6ubuntu2~24.04.1) and gcc (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0 to build. That issue arises both in crest 3.0.1 and 3.0.2

git clone https://github.com/crest-lab/crest.git
cd crest
git submodule init
git submodule update
git submodule update --remote
export FC=gfortran CC=gcc
cmake -B _build
make -C _build

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions