Re: [DuMux] Importing an Eclipse Grid

2021-03-28 Thread Timo Koch
Hi Mahmoud,

dumux is tested with OPM version: release/2020.04.
Can you try this and see if the error persists?

Also it might be necessary to add "-DUSE_MPI=ON” to your opts file.
You might also need BLAS, LAPACK, Boost, SuiteSparse, Zoltan (see opm 
(optional) dependencies).

This information is from 
https://git.iws.uni-stuttgart.de/dumux-repositories/dumux/-/blob/master/bin/installexternal.sh
 

You can also run "./dumux/bin/installexternal.sh opm” to download the opm 
modules in the matching version. 

Timo

> On 28. Mar 2021, at 15:49, Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151 
>  wrote:
> 
> Hello Dumux team,
> 
> 
> Sorry for re-sending this but I just hope someone can help me.
> I hope you're all doing great. I want to use an eclipse grid for my dumux 
> problem. It was indicated in the handbook I should install opm-grid module. I 
> had only the minimum dumux setup along with the dumux-course module. So I 
> first installed opm-common (dependency of opm-grid) using this command:
> 
> (dunecontrol --module=opm-common all)
> 
> 
> 
> and then I installed opm-grid using this command
> 
> (dunecontrol --module=opm-grid all)
> 
> 
> 
> They both installed successfully. The versions of opm-common and opm-grid I 
> used for the installation are the master versions in the following 
> repositories:
> 
> https://github.com/OPM/opm-common
> 
> https://github.com/OPM/opm-grid
> 
> 
> 
> To check that everything is OK before I start my own module with my own 
> eclipse grid, I first tried to build the dumux example with the eclipse grid 
> located in dumux/test/porousmediumflow/2p/implicit/cornerpoint from its build 
> directory. However, I was faced with this error: The following cmake 
> condition is not met: HAVE-OPM-GRID
> 
> 
> 
> I then deleted all the build folders in all modules using these two commands:
> 
> (rm -r d*/build-cmake)
> 
> (rm -r o*/build-cmake)
> 
> 
> 
> Then I ran dunecontrol again using this command:
> 
> (./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all)
> 
> 
> 
> Again everything installed successfully. I tried to build the dumux example 
> with the eclipse grid again. It built successfully but when I tried to run it 
> using this command:
> 
> (./test_2p_cornerpoint params.input), I got the following error:
> 
> Reading parameters from file params.input.
> 
> Found PORO...
> 
> Found PERMX...
> 
> PERMZ not found, set equal to PERMX...
> 
> [mahmoud-Inspiron-N5110:120949] *** An error occurred in MPI_Barrier
> 
> [mahmoud-Inspiron-N5110:120949] *** reported by process [1393164289,0]
> 
> [mahmoud-Inspiron-N5110:120949] *** on communicator MPI_COMM_WORLD
> 
> [mahmoud-Inspiron-N5110:120949] *** MPI_ERR_COMM: invalid communicator
> 
> [mahmoud-Inspiron-N5110:120949] *** MPI_ERRORS_ARE_FATAL (processes in this 
> communicator will now abort,
> 
> [mahmoud-Inspiron-N5110:120949] ***and potentially your MPI job)
> 
> 
> 
> I have no clue what’s the problem. I have no problem building and running 
> other dumux examples. I just have the problem with this example problem with 
> the eclipse grid.
> 
> 
> 
> My OS is Ubuntu 20.04 LTS
> 
> 
> 
> My installed pre-requisites for dumux are the following:
> 
>  - cmake version 3.16.3
> 
>  - gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
> 
>  - pkg-config version: 0.29.1
> 
>  - Open MPI version:4.0.3
> 
>  - paraview version 5.7.0
> 
>  - Python 3.8.5
> 
>  - git version 2.25.1
> 
> 
> 
> My installed dune modules are:
> 
> 1) dumux Version: 3.2-git
> 
> 2) dune-common Version: 2.7.1
> 
> 3) dune-geometry Version 2.7.1
> 
> 4) dune-grid Version: 2.7.1
> 
> 5) dune-istl Version: 2.7.1
> 
> 6) dune-localfunctions Version: 2.7.1
> 
> 7) dumux-course Version: 2018
> 
> 8) opm-common Version: 2021.04-pre
> 
> 9) opm-grid Version: 2021.04-pre
> 
> 
> 
> Your help and advice to solve the issue are very highly appreciated. Thanks 
> in advance !
> 
> 
> 
> Best Regards,
> 
> 
> 
> Mahmoud Atef
> ___
> DuMux mailing list
> DuMux@listserv.uni-stuttgart.de
> https://listserv.uni-stuttgart.de/mailman/listinfo/dumux

___
DuMux mailing list
DuMux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux


[DuMux] Importing an Eclipse Grid

2021-03-28 Thread Mahmoud Atef Mahmoud Mohamed Aboelseoud S277151

Hello Dumux team,


Sorry for re-sending this but I just hope someone can help me.
I hope you're all doing great. I want to use an eclipse grid for my 
dumux problem. It was indicated in the handbook I should install 
opm-grid module. I had only the minimum dumux setup along with the 
dumux-course module. So I first installed opm-common (dependency of 
opm-grid) using this command:


(dunecontrol --module=opm-common all)



and then I installed opm-grid using this command

(dunecontrol --module=opm-grid all)



They both installed successfully. The versions of opm-common and 
opm-grid I used for the installation are the master versions in the 
following repositories:


https://github.com/OPM/opm-common

https://github.com/OPM/opm-grid



To check that everything is OK before I start my own module with my own 
eclipse grid, I first tried to build the dumux example with the eclipse 
grid located in dumux/test/porousmediumflow/2p/implicit/cornerpoint from 
its build directory. However, I was faced with this error: The following 
cmake condition is not met: HAVE-OPM-GRID




I then deleted all the build folders in all modules using these two 
commands:


(rm -r d*/build-cmake)

(rm -r o*/build-cmake)



Then I ran dunecontrol again using this command:

(./dune-common/bin/dunecontrol --opts=dumux/cmake.opts all)



Again everything installed successfully. I tried to build the dumux 
example with the eclipse grid again. It built successfully but when I 
tried to run it using this command:


(./test_2p_cornerpoint params.input), I got the following error:

Reading parameters from file params.input.

Found PORO...

Found PERMX...

PERMZ not found, set equal to PERMX...

[mahmoud-Inspiron-N5110:120949] *** An error occurred in MPI_Barrier

[mahmoud-Inspiron-N5110:120949] *** reported by process [1393164289,0]

[mahmoud-Inspiron-N5110:120949] *** on communicator MPI_COMM_WORLD

[mahmoud-Inspiron-N5110:120949] *** MPI_ERR_COMM: invalid communicator

[mahmoud-Inspiron-N5110:120949] *** MPI_ERRORS_ARE_FATAL (processes in 
this communicator will now abort,


[mahmoud-Inspiron-N5110:120949] ***and potentially your MPI job)



I have no clue what’s the problem. I have no problem building and 
running other dumux examples. I just have the problem with this example 
problem with the eclipse grid.




My OS is Ubuntu 20.04 LTS



My installed pre-requisites for dumux are the following:

  - cmake version 3.16.3

  - gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0

  - pkg-config version: 0.29.1

  - Open MPI version:4.0.3

  - paraview version 5.7.0

  - Python 3.8.5

  - git version 2.25.1



My installed dune modules are:

1) dumux Version: 3.2-git

2) dune-common Version: 2.7.1

3) dune-geometry Version 2.7.1

4) dune-grid Version: 2.7.1

5) dune-istl Version: 2.7.1

6) dune-localfunctions Version: 2.7.1

7) dumux-course Version: 2018

8) opm-common Version: 2021.04-pre

9) opm-grid Version: 2021.04-pre



Your help and advice to solve the issue are very highly appreciated. 
Thanks in advance !




Best Regards,



Mahmoud Atef
___
DuMux mailing list
DuMux@listserv.uni-stuttgart.de
https://listserv.uni-stuttgart.de/mailman/listinfo/dumux