romio | asynchronous networking primitives | Reactive Programming library
kandi X-RAY | romio Summary
kandi X-RAY | romio Summary
Asynchronous network primitives in Rust.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of romio
romio Key Features
romio Examples and Code Snippets
Community Discussions
Trending Discussions on romio
QUESTION
How to build MPICH with gfortran-10, gcc-10 and g++-10?
BackgroundI want to build MPICH with grortran-10 so as to be able to use up to date MPI bindings, but I haven't managed to do so. Trying to install MPICH via apt on Ubuntu always uses gfortran 7.5.0 (same version with gcc and g++), even if I have latest version of gfortran installed. Just for clarity, here is my current MPICH and gfortran configuration (installed via apt) :
...ANSWER
Answered 2021-Jan-17 at 10:30I followed advice VladimirF gave me in the comments, and everthing worked out. This site provided all the necessary guidelines. Only a few minor problems had to be dealth with. Before I could create ./configure
file, I was prompted to install some missing autotools, which was simply done using apt
. Once ./configure
file was ready, I passed in the mostly same configuration that apt
originally installed MPICH with (see the long list original question), with 'FC = gfortran-10' 'CC = gcc-10' 'CXX = g++-10'
replacing 'FC = gfortran' 'CC = gcc' 'CXX = g++'
. Several more prompts had to be dealt with (mostly adding something to configuration or installing missing packages, easily done with Synaptic package manager). After doing all the steps, F08 bindings were succesfully built and work properly. Here is my current MPICH configuration :
QUESTION
I have some Fortran code I would like to paralelize with MPI. Appereantly, recomended way to use MPI (MPICH, in my case) with Fortran is through mpi_f08
module (mpi-forum entry on the matter), but I have trouble making it work, since corresponding mod file is simply not created (unlike mpi.mod
, which works fine, but it's not up to date with Fortran standart). This discussion left me under the impression it's because gfortran can't build the F08 bindings. Below you can see my configuration, both gfortran and mpich have been installed throught apt install on ubuntu and should be up to date. I'm unsure about a few things :
- Is there any way to make the Fortran 2008 MPI syntax work with gfortran? From what I came across, it seems the answer is no, but hopefully someone may know a fix. I'm not too versed in this, so any relavant links or more entry level explanation would be greatly appreciated.
- Could using different compiler help? Intel compiler* maybe? I would rather stick with gfortran if reasonable.
- Maybe consistency with current standart isn't such a big deal. From your experience, would it be better to just go with support through mpi.mod module? What problems could I expect then? My application doesn't have much long term ambition, so falling out of support some time later isn't a big problem if it works properly now.
It seem's to have been problem of using outdated version of gfortran. This reduces my question to how to build MPICH with gfortran-10.
* hence the [intel-fortran] tag, feel free to remove it if you think it redundantJust for clarity, there's my gfortran and mpich configuration
...ANSWER
Answered 2021-Jan-16 at 14:57MPICH requires the Fortran compiler to support the array descriptor of Technical Specification 29113, and this is only supported in recent versions of gfortran
(GNU 10 is ok).
Intel compilers have been fine for a while fwiw.
Note that Open MPI is not that picky w.r.t. TS 29113 and does not need support for the array descriptor. GNU 7.5 can be used to generate the mpi_f08
module.
Bottom line, you have two options w.r.t. the mpi_f08
Fortran module:
- use a Fortran support that meets MPICH expectation w.r.t. TS 29113 (e.g. GNU 10, or Intel compilers for example)
- move to Open MPI
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install romio
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page