Giter Site home page Giter Site logo

Comments (8)

dtaller avatar dtaller commented on August 30, 2024 1

Hello. I just looked through my log files. Actually I think that you are right, your fix worked for scalapack and I was seeing another error for a different package (not scalapack) that my project builds after scalapack. I think that your fix also works.

Thanks and sorry for the trouble.

from scalapack.

zerothi avatar zerothi commented on August 30, 2024 1

Great, I still think the definitions should be made in the repo, so let's keep this issue open.

from scalapack.

zerothi avatar zerothi commented on August 30, 2024

Add the flag -Wno-error=implicit-function-declaration can't remember if it has plural s or not. This should work AFAIK, can't test since I am not at my comp.

from scalapack.

dtaller avatar dtaller commented on August 30, 2024

Thanks, @zerothi ! I appreciate your help. Your suggestion got me past this type of error, but unfortunately some others came up.

I ended up forcing the C standard to 90 (using -DCMAKE_C_STANDARD=90 but there are other ways to do this). That seems to have allowed me to build. For my application this is probably easiest, but yes you are right I could probably disable this and other errors in the way you suggested also.

from scalapack.

zerothi avatar zerothi commented on August 30, 2024

If I recall I managed to build it using that flag, but I was using make files. Perhaps if you show the errors we could help /figure out what to do

from scalapack.

orbeckst avatar orbeckst commented on August 30, 2024

Thanks for the workaround. With the following changes to SLmake.inc.example

   CDEFS         = -DAdd_

   FC            = mpifort
   CC            = mpicc
   CCFLAGS       = -O3 -diag-disable=10441 -Wno-error=implicit-function-declaration

   BLASLIB       = -L/opt/intel/oneapi/mkl/2023.2.0/lib -I/opt/intel/oneapi/mkl/2023.2.0/include -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
   LAPACKLIB     =
   LIBS          = $(LAPACKLIB) $(BLASLIB)

I could compile with Intel OneAPI 2023.2.0

  • icc version 2021.10.0 (deprecated, therefore -diag-disable=10441)
  • ifort version 2021.10.0
    on Intel MacOS 13.5 (Xcode 14.3.1).

(Note that this issue and Issue #31 comment on the same problem.)

from scalapack.

fxcoudert avatar fxcoudert commented on August 30, 2024

Clang 15 and later now have this enabled by default into an error.

from scalapack.

eli-schwartz avatar eli-schwartz commented on August 30, 2024

Effectively a duplicate of #31

from scalapack.

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.