Code Monkey home page Code Monkey logo

Comments (4)

ohcfe avatar ohcfe commented on July 29, 2024 1

Following the instructions from my second link in my original post, these are the compiler versions I get

$ sudo yum install devtoolset-9
$ scl enable devtoolset-7 bash
$ module load mpi/openmpi-x86_64
$ export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77

Gives me the following compiler versions:

$ gcc --version
gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

$ mpicc --version
gcc (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

$ mpicxx --version
g++ (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

$ mpif90 --version
GNU Fortran (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

$ mpif77 --version
GNU Fortran (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

$ mpifort --version
GNU Fortran (GCC) 9.3.1 20200408 (Red Hat 9.3.1-2)
...

from candi.

koecher avatar koecher commented on July 29, 2024

Ah, nice idea. I always compile my own gcc+mpi compiler for centos to keep the build chain in track over years.

Your ideas seems feasible, to my knowlegde, the scl packages and devtoolsets were only available on rhel.
Does this include fitting mpi (openmpi or mpich) compilers for those gcc compilers as well?

Do you like to setup a pull request for the notes and your cmake?

For cmake: add the cmake package in this file
https://github.com/dealii/candi/blob/dealii-9.2/deal.II-toolchain/platforms/supported/centos7.platform

from candi.

ohcfe avatar ohcfe commented on July 29, 2024
$ cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)

from candi.

koecher avatar koecher commented on July 29, 2024

very nice!

from candi.

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.