Git Product home page Git Product logo

Comments (6)

monsieuralok avatar monsieuralok commented on August 11, 2024

@nordmoen please could you reply regarding meson build.

from blom.

nordmoen avatar nordmoen commented on August 11, 2024

Hi, there seems to be some peculiarities in how Meson detects Intel MPI.

Use the following to get it to work:

$ FC=ifort I_MPI_F90=mpifort meson setup builddir

Just wanted to note as well, excellent issue @dguibert, it is super helpful with a small reproducible example!

from blom.

dguibert avatar dguibert commented on August 11, 2024

As you pointed out, Meson is broken detecting Intel MPI. As mentionned if I_MPI_F90 is set to mpiifort itself, it enters in a infinite loop since the wrapper is calling himself.

So I_MPI_F90 should be unset.

I really don't understand, the example works on Betzy, not on another cluster: same compiler and mpi version.

from blom.

nordmoen avatar nordmoen commented on August 11, 2024

Don't know if you tried, but i set I_MPI_F90 to mpifort and not mpiifort

from blom.

dguibert avatar dguibert commented on August 11, 2024

On betzy, with module iimpi/2020a, mpifort is not found (Or I miss something).

I found the problem on the other cluster, the installation of Intel compilers defines custom options in ifort.cfg: -Xlinker -rpath=..., so ifort -v shows:

ifort version 19.1.1.217
ld    /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crt1.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/8/crtbegin.o --eh-frame-hdr --build-id -dynamic-linker /lib64/ld-linux-x86-64.so.2 -m elf_x86_64 -plugin /scratch/users/dguibert/s1-call3-blom/spack/opt/spack/linux-rhel8-x86_64/gcc-8.4.1/intel-19.1.1-q5oonts7ruca2ocddtunnb27v473xtdf/compilers_and_libraries_2020.1.217/linux/bin/intel64/../../lib/LLVMgold.so -o a.out [...]/compilers_and_libraries_2020.1.217/linux/compiler/lib/intel64 -Bdynamic -Bstatic -lifport -lifcoremt -limf -lsvml -Bdynamic -lm -Bstatic -lipgo -lirc -Bdynamic -lpthread -Bstatic -lsvml -Bdynamic -lc -lgcc -lgcc_s -Bstatic -lirc_s -Bdynamic -ldl -lc /usr/lib/gcc/x86_64-redhat-linux/8/crtend.o /usr/lib/gcc/x86_64-redhat-linux/8/../../../../lib64/crtn.o
/scratch/users/dguibert/s1-call3-blom/spack/opt/spack/linux-rhel8-x86_64/gcc-8.4.1/intel-19.1.1-q5oonts7ruca2ocddtunnb27v473xtdf/compilers_and_libraries_2020.1.217/linux/compiler/lib/intel64_lin/for_main.o: In function `main':
for_main.c:(.text+0x2e): undefined reference to `MAIN__'

and exits with error code 1 which breaks Meson find_external_program in find_config from configtool class.

from blom.

nordmoen avatar nordmoen commented on August 11, 2024

Sorry I was testing with iompi, indeed with iimpi it is mpiifort.

from blom.

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.