Comments (6)
@nordmoen please could you reply regarding meson build.
from blom.
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.
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.
Don't know if you tried, but i set I_MPI_F90
to mpifort
and not mpiifort
from blom.
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.
Sorry I was testing with iompi
, indeed with iimpi
it is mpiifort
.
from blom.
Related Issues (20)
- iHAMOCC structure for reading climatology input data from files HOT 2
- Add pause-resume function HOT 3
- Change last remaining fixed form .F files to free form .F90 files in iHAMOCC HOT 3
- Differences between current master and reference norESM2.0.5 run HOT 3
- Recode mapping between pore water and ocean tracers HOT 23
- iHAMOCC: Bugfix for sediment alkalinity needed? HOT 10
- Fix required for spatially variable porosity for case `sedbypass=true` HOT 4
- Correct unit of diagnostic variable "dp_trc"
- Make budget calculations selectable by namelist option
- Fix pnetcdf issues in recent iHAMOCC updates HOT 5
- Potential bug in `sedshi.F90` HOT 5
- Units of dust/clay in iHAMOCC output HOT 2
- iHAMOCC: convert to SI units (CGS -> MKS) HOT 3
- Fix `'` in ncout_hamocc.F90 needed
- Units in iHAMOCC restart file HOT 3
- MESON - Single column model setup/simulation for debugging purposes HOT 3
- BLOM density calculation CGS versus MKS at initialization
- simplified output choices for BLOM HOT 2
- BLOM is not compiling in DEBUG mode HOT 4
- default PE layout for compset NOINYOC at T62_tn14 hangs on betzy HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blom.