Homepage Books Releases Docs Discourse

OGS6 on Ubuntu 16.04

Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.

Most likely, source of errors came from;

scripts/cmake/SubmoduleSetup.cmake:41
CMakeLists.txt:36

scripts/cmake/SubmoduleSetup.cmake:42
CMakeLists.txt:36

fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)

scripts/cmake/CMakeSetup.cmake:7, 8,9
CMakeLists.txt:37,38

cripts/cmake/CompilerSetup.cmake:1,2,3,4
CMakeLists.txt:38

Regards,
Mohammad

CMakeOutput.log (46.3 KB)

still facing problem to configure OGS6. Please see attachment for configuration’s screen shot. Any clue to resolve the configuration problem will be appreciable.

Regards,
Mohammad

Dear Mohammed,

I am sorry for the late reply.

May I ask how you obtained the source code? Maybe via GitHubs Download ZIP-functionality? This does not work. You have to clone it with git:

git clone https://github.com/ufz/ogs.git

Does this solve your problem? It is because we conditionally clone other projects (via git submodule) inside the source code depending on OGS’ configuration.

Best,

Lars

···

On 13 Jul 2017, at 23:31, Mohammad Islam wrote:

Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.

Most likely, source of errors came from;

scripts/cmake/SubmoduleSetup.cmake:41
CMakeLists.txt:36

scripts/cmake/SubmoduleSetup.cmake:42
CMakeLists.txt:36

fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)

scripts/cmake/CMakeSetup.cmake:7, 8,9
CMakeLists.txt:37,38

cripts/cmake/CompilerSetup.cmake:1,2,3,4
CMakeLists.txt:38

Regards,
Mohammad

You received this message because you are subscribed to the Google Groups “ogs-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to ogs-users+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Dear Lars Bilke,
Thank you for your kind reply. I will get back to you soon, after trying the procedure as you mentioned. Yes, I have downloaded using “GitHubs Download ZIP-functionality”.

For quick note, couple of your notes as follows might need to revise
https://docs.opengeosys.org/docs/devguide/getting-started/build-configuration

For my case, to install Conan in UBuntu 16.04 I used following command and it works.

$ pip install conan

On the other hand, following section also might need to revise. Because, it is missing GLUT and it depends on OpenGL
https://docs.opengeosys.org/docs/devguide/advanced/third-party-libraries#panel5-2

Solution:
sudo apt-get install freeglut3 freeglut3-dev

To install third-party libraries, I followed following procedure;
GLUT:sudo apt-get install freeglut3 freeglut3-dev
Boost: sudo apt-get install libboost-dev
Eigen: sudo apt-get install libeigen3-dev
VTK:$ wget http://www.vtk.org/files/release/7.1/VTK-7.1.0.tar.gz
$ tar -xf VTK-7.1.0.tar.gz
$ cd VTK-7.1.0
$ mkdir build
$ cd build
$ cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DCMAKE_BUILD_TYPE=Release …
$ make
sudo make install
Lis: wget http://www.ssisc.org/lis/dl/lis-1.7.9.tar.gz
tar xf lis-1.7.9.tar.gz
cd lis-1.7.9
./configure
sudo make install

Regards,
Mohammad

···

On Tuesday, 18 July 2017 07:20:26 UTC-4, Lars Bilke wrote:

Dear Mohammed,

I am sorry for the late reply.

May I ask how you obtained the source code? Maybe via GitHubs Download ZIP-functionality? This does not work. You have to clone it with git:

git clone [https://github.com/ufz/ogs.git](https://github.com/ufz/ogs.git)

Does this solve your problem? It is because we conditionally clone other projects (via git submodule) inside the source code depending on OGS’ configuration.

Best,

Lars

On 13 Jul 2017, at 23:31, Mohammad Islam wrote:

Hi All,
I am trying to build OGS6 on Ubuntu 16.04. But, configuration failed due to error. I attached *.log file. Any co-operation will be appreciable.

Most likely, source of errors came from;

scripts/cmake/SubmoduleSetup.cmake:41
CMakeLists.txt:36

scripts/cmake/SubmoduleSetup.cmake:42
CMakeLists.txt:36

fatal: Not a git repository (or any of the parent directories): .git
CMake Error at scripts/cmake/SubmoduleSetup.cmake:41 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:36 (include)

scripts/cmake/CMakeSetup.cmake:7, 8,9
CMakeLists.txt:37,38

cripts/cmake/CompilerSetup.cmake:1,2,3,4
CMakeLists.txt:38

Regards,
Mohammad

You received this message because you are subscribed to the Google Groups “ogs-users” group.

To unsubscribe from this group and stop receiving emails from it, send an email to ogs-users+...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Dear Lars Bilke,

Still having problem. Please see screen shot and logfile.

Error messages are as follows:
CMake Error at /usr/local/lib/cmake/vtk-7.1/vtkModuleAPI.cmake:120 (message):
Requested modules not available:

 vtkParallelMPI

Call Stack (most recent call first):
/usr/local/lib/cmake/vtk-7.1/VTKConfig.cmake:89 (vtk_module_config)
scripts/cmake/ExternalProjectVtk.cmake:27 (find_package)
CMakeLists.txt:233 (include)

Regards,
Mohammad

CMakeOutput.log (54.7 KB)

Solved.

Mohammad