Hi Alan,

I do not have any experience building Open MPI with the new “flang” compiler 
from the LLVM project (previously known as f18), but I successfully built an 
Open MPI 4.0.5 with the legacy “flang” compiler on top of LLVM 9.0.0.
If your users’ requirement for LLVM is not strongly linked on LLVM 11.x 
versions, you can find tips on how to build this flang compiler here : 
https://github.com/flang-compiler/flang/wiki/Building-Flang

Regards,
Marc

----
Marc Sergent
HPC Runtime Systems Expert
BDS R&D HPC & Big Data SW
T: +33 (0) 4 76 29 81 31
Bull an Atos Company
1 Rue de Provence
38130 Echirolles, France

De : users <users-boun...@lists.open-mpi.org> De la part de Alan Wild via users
Envoyé : vendredi 16 octobre 2020 01:54
À : users@lists.open-mpi.org
Cc : Alan Wild <a...@madllama.net>
Objet : [OMPI users] Anyone try building openmpi 4.0.5 w/ llvm 11


Caution! External email. Do not open attachments or click links, unless this 
email comes from a known sender and you know the content is safe.
More specifically building the new “flang” compiler and compiling openmpi with 
the combination of clang/flang rather than clang/gfortran.

Configure is passing (including support for 16 byte REAL and COMPLEX types.  
However there is one file that uses REAL128 and CONPLE(REAL128) and I’m getting 
type in supported KIND=-1 errors.

(Quick aside I’m surprised that the one file is using the ISO_FORTRAN_ENV type 
names but configure is only checking for the non-standard REAL*# names.  Feels 
like an oversight to me.)

From what I’ve been able to find (and reading their iso_fortran_env.f90 module 
file the compiler should support the two types. I barely know enough FORTRAN to 
be dangerous (took one semester of F77 in like 1996) so I’m not really sure 
what I’m looking at here or what to try next.

I would really like to provide an openmpi build to my users that is a “pure 
LLVM” build.

-Alan
--
a...@madllama.net<mailto:a...@madllama.net> 
http://humbleville.blogspot.com<https://eur01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fhumbleville.blogspot.com%2F&data=04%7C01%7Cmarc.sergent%40atos.net%7C1cfbc066cd354fdd98c708d8750ec18c%7C33440fc6b7c7412cbb730e70b0198d5a%7C0%7C0%7C637388053522802777%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ZKEfJYQlM%2BZbrgYXar9MwVfkzgVRK0R20Hx%2BU0q3yGk%3D&reserved=0>

Reply via email to