Giter VIP home page Giter VIP logo

Comments (6)

marekandreas avatar marekandreas commented on August 13, 2024

From the log it seems that the command line arguments to CPP (and probably to the Fortran compiler) are broken. Can you provide the output of "V=1 make" ?

from elpa.

yurivict avatar yurivict commented on August 13, 2024
$ V=1 gmake
gmake  all-am
gmake[1]: Entering directory '/disk-samsung/freebsd-ports/math/elpa/work/elpa-2021.05.002_bugfix'
/bin/sh ./libtool  --tag=FC   --mode=compile gfortran10 -DHAVE_CONFIG_H -I.   -fno-omit-frame-pointer -isystem /usr/local/include  -Imodules -Jmodules -Iprivate_modules -std=legacy -I/usr/local/include -I/disk-samsung/freebsd-ports/math/elpa/work/elpa-2021.05.002_bugfix -Isrc -Isrc/general -Wl,-rpath=/usr/local/lib/gcc10 -c -o src/libelpa_public_la-elpa.lo `test -f 'src/elpa.F90' || echo './'`src/elpa.F90
libtool: compile:  gfortran10 -DHAVE_CONFIG_H -I. -fno-omit-frame-pointer -isystem /usr/local/include -Imodules -Jmodules -Iprivate_modules -std=legacy -I/usr/local/include -I/disk-samsung/freebsd-ports/math/elpa/work/elpa-2021.05.002_bugfix -Isrc -Isrc/general -Wl,-rpath=/usr/local/lib/gcc10 -c src/elpa.F90  -fPIC
src/elpa.F90:338:7:

  338 |   use elpa_constants
      |       1
Fatal Error: Cannot open module file 'elpa_constants.mod' for reading at (1): No such file or directory
compilation terminated.

from elpa.

yurivict avatar yurivict commented on August 13, 2024

Any idea why does it break?

from elpa.

yurivict avatar yurivict commented on August 13, 2024

@marekandreas

What generates elpa_constants.mod?

from elpa.

marekandreas avatar marekandreas commented on August 13, 2024

elpa_constants.F90 contains a Fortran module which is used by several files of the API definition. The dependency checker realizes this and requires elpa_constants.F90 to be compiled (to elpa_constants.mod) before API files, like elpa_api.F90

from elpa.

marekandreas avatar marekandreas commented on August 13, 2024

I do not have any idea why the build fails, but I do assume that the pre-processing of the files does not work correctly

from elpa.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.