Git Product home page Git Product logo

Comments (5)

davydden avatar davydden commented on September 28, 2024

export CFLAGS="${CFLAGS} -fPIC" should help. Maybe done locally.

from candi-origin.

davydden avatar davydden commented on September 28, 2024

indeed, this helped

diff --git a/deal.II-toolchain/packages/parmetis.package b/deal.II-toolchain/packages/parmetis.package
index 1cff76b..ecf27d3 100644
--- a/deal.II-toolchain/packages/parmetis.package
+++ b/deal.II-toolchain/packages/parmetis.package
@@ -9,28 +9,31 @@ INSTALL_PATH=${INSTALL_PATH}/${NAME}

 package_specific_build() {
     cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
-
+
+    # needed for intel compiler
+    export CFLAGS="${CFLAGS} -fPIC"
+
     # Firstly build metis
     cd metis
-
+
     make config prefix=${INSTALL_PATH} shared=1
     quit_if_fail "parmetis/metis make config failed"
-
+
     make -j${PROCS}
     quit_if_fail "parmetis/metis make failed"
-
+
     make install
     quit_if_fail "parmetis/metis make install failed"
-
+
     # Secondly build parmetis
     cd ..
-
+
     make config prefix=${INSTALL_PATH} shared=1
     quit_if_fail "parmetis make config failed"
-
+
     make -j${PROCS}
     quit_if_fail "parmetis make failed"
-
+
     make install
     quit_if_fail "parmetis make install failed"
 }

from candi-origin.

koecher avatar koecher commented on September 28, 2024

metis/parmetis is somehow specific.
May you please export your CFLAGS before you start candi and without the patch and check if it is working? (-fPIC is needed for several packages)

from candi-origin.

davydden avatar davydden commented on September 28, 2024

yes, it worked with global cflags as well.

from candi-origin.

koecher avatar koecher commented on September 28, 2024

Okay, lets document this. Intel compiler getting me and others headaches (I think Timo has given up for this). Before analysing intel compilers carefully, I want to implement the configuration stuff for each package, but I need to work on some other things (which are more recent to me) firstly.

from candi-origin.

Related Issues (17)

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.