Giter Site home page Giter Site logo

Pluto MPI build fail about pluto HOT 7 CLOSED

bondhugula avatar bondhugula commented on August 23, 2024
Pluto MPI build fail

from pluto.

Comments (7)

dfszabo avatar dfszabo commented on August 23, 2024

fixed llvm issue but still get the same error with pluto

from pluto.

bondhugula avatar bondhugula commented on August 23, 2024

It looks like pet is being compiled with the wrong version of Clang headers, or there is a mismatch between the version it was compiled against and the one it's being linked to. Could you post what flags you used with configure and the output of your

llvm-config --version

and

cat pet/config.log | grep llvm

from pluto.

dfszabo avatar dfszabo commented on August 23, 2024

I can only do that tomorrow, because I had these errors the pc at my workplace.

Also i tried to install on my own laptop and got error even at configure time:

checking clang/Basic/DiagnosticOptions.h usability... yes
checking clang/Basic/DiagnosticOptions.h presence... yes
checking for clang/Basic/DiagnosticOptions.h... yes
checking for clang/Lex/HeaderSearchOptions.h... yes
checking for clang/Lex/PreprocessorOptions.h... yes
checking for main in -lclangEdit... yes
configure: isl sources in /home/dszabo/pluto-distmem/pluto/isl
checking which isl to use... build
./configure: line 16688: syntax error near unexpected token ISL,' ./configure: line 16688: PKG_CHECK_MODULES(ISL, isl)'
checking for pet/Makefile... no
configure: error: configure in pet/ failed

I use no flags for ./configure.

llvm-config --version
3.4svn

cat pet/config.log | grep llvm
configure:16112: checking for llvm-config
configure:16128: found /usr/local/bin/llvm-config
ac_cv_prog_llvm_config_found=yes
llvm_config_found='yes'

Maybe I should make a different issue for this? I had this same configure error at my workplace too, but somehow it got resolved. Maybe because I also installed other versions of llvm/clang too or I dont know, but I think the problem lies here then.

I downloaded clang and llvm tar from llvm website and built them with cmake, following these steps:
https://llvm.org/docs/CMake.html

from pluto.

dfszabo avatar dfszabo commented on August 23, 2024

Ok so for my original problem (which is in the first comment)

I didn't used any configure flag.

llvm-config --version output:
3.4svn

cat pet/config.log | grep llvm output:
configure:16127: checking for llvm-config
configure:16143: found /usr/local/bin/llvm-config
ac_cv_prog_llvm_config_found=yes
llvm_config_found='yes'

Seems the same for me.

from pluto.

dfszabo avatar dfszabo commented on August 23, 2024

I put -fPIC for CFLAGS and -shared to LDFLAGS for all subdiractories Makefile and now it installed and seems working.

from pluto.

bondhugula avatar bondhugula commented on August 23, 2024

llvm-config --version output:
3.4svn

It looks like the version being compiled against isn't the version you downloaded and built. Did you build an SVN version or a stable one? If you downloaded and built clang and llvm from the released 3.4 version sources, that should definitely work. Did you install those in /usr/local/?

from pluto.

bondhugula avatar bondhugula commented on August 23, 2024

Pluto will now work with the latest version of Clang (version 3.4 is no longer needed); also, the pet branch has been merged into the master. Please reopen if you face this issue with the current master.

from pluto.

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.