Compilation error: Can't find module file 'mpi.mod' - D-Flow Flexible Mesh - Delft3D
intro story D-Flow FM
D-Flow Flexible MeshD-Flow Flexible Mesh (D-Flow FM) is the new software engine for hydrodynamical simulations on unstructured grids in 1D-2D-3D. Together with the familiar curvilinear meshes from Delft3D 4, the unstructured grid can consist of triangles, pentagons (etc.) and 1D channel networks, all in one single mesh. It combines proven technology from the hydrodynamic engines of Delft3D 4 and SOBEK 2 and adds flexible administration, resulting in:
An overview of the current developments can be found here. The D-Flow FM - team would be delighted if you would participate in discussions on the generation of meshes, the specification of boundary conditions, the running of computations, and all kinds of other relevant topics. Feel free to share your smart questions and/or brilliant solutions!
======================================================= | Sub groups
|
Message Boards
Compilation error: Can't find module file 'mpi.mod'
Hi All,
Thanks in advance. I'm trying to build Delft3D on a linux machine. I'm using fedora 25 with kernel 4.9.5-200. I have followed the instructions, except I have relied on fedora's package manager to obtain mpich, netcdf, g++, and gfortan. This could be the issue, but it seems that mpich was compiled with the same version compiler as I'm using to compile Delft3D, so I don't know.
The error I receive is in the make stage of the build process, ./autogen.sh and ./configure seem alright. When running make I receive the following error:
Loading the mpich module sets the right environmental variables, so the libraries and binaries are in the paths. However, there is no mpi.mod in my include directory, but there is a mpi.h.
I have attached the output of my ./configure and make commands. I'll probably build a seperate mpich and netcdf for Delft3D during my next step. Any insights would be appreciated.
thanks again
Thanks in advance. I'm trying to build Delft3D on a linux machine. I'm using fedora 25 with kernel 4.9.5-200. I have followed the instructions, except I have relied on fedora's package manager to obtain mpich, netcdf, g++, and gfortan. This could be the issue, but it seems that mpich was compiled with the same version compiler as I'm using to compile Delft3D, so I don't know.
The error I receive is in the make stage of the build process, ./autogen.sh and ./configure seem alright. When running make I receive the following error:
libtool: compile: mpif90 -DHAVE_CONFIG_H -I. -I../../../../.. -I../../../../../utils_lgpl/deltares_common/packages/deltares_common/src -DWITH_DELFTONLINE -g -O2 -ffree-line-length-none -cpp -c dfbroadc.F90 -fPIC -o .libs/dfbroadc.odfbroadc.F90:45:8: | |
use mpi | |
1 | |
Fatal Error: Can't open module file ‘mpi.mod’ for reading at (1): No such file or directory compilation terminated. |
Loading the mpich module sets the right environmental variables, so the libraries and binaries are in the paths. However, there is no mpi.mod in my include directory, but there is a mpi.h.
I have attached the output of my ./configure and make commands. I'll probably build a seperate mpich and netcdf for Delft3D during my next step. Any insights would be appreciated.
thanks again
Attachments:
Adri Mourits, modified 3 Years ago.
RE: Compilation error: Can't find module file 'mpi.mod' (Answer)
Yoda Posts: 1221 Join Date: 1/3/11 Recent Posts 00
Hi Cody,
Please check that environment parameter MPI_INCLUDE is defined and is pointing to the correct directory. You can have a view at the mpich part in ".../src/build.sh", to get an idea of what is needed.
Regards,
Adri
Please check that environment parameter MPI_INCLUDE is defined and is pointing to the correct directory. You can have a view at the mpich part in ".../src/build.sh", to get an idea of what is needed.
Regards,
Adri