Skip to content

Commit 9846c5a

Browse files
authored
Update INSTALL.md
1 parent b005b85 commit 9846c5a

File tree

1 file changed

+34
-1
lines changed

1 file changed

+34
-1
lines changed

INSTALL.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,40 @@
44
Linux Environment
55
-----------------------
66
Be sure to have all the required libraries installed before compiling CPPPO.
7-
You will need, at least, Qt-5 and an MPI library in order to compile CPPPO
7+
You will need, at least, Qt-5 and an MPI library in order to compile CPPPO.
8+
9+
__If you have Ubuntu 18.04 and OpenFOAM-6 just follow the instructions in the next section and ignore the rest!__
10+
11+
Ubuntu 18.04 and OpenFOAM-6
12+
-----------------------
13+
If you want to use CPPPO in Ubuntu 18.04 with OpenFOAM-6, the installation process is quite simple.
14+
15+
First, clone this repository __in your home folder__.
16+
17+
You may just need to intall the hdf5 library with the source code by typing:
18+
19+
`sudo apt install libhdf5-dev`
20+
21+
That is the only additional library required aside from openfoam6.
22+
23+
Source your openFoam bashrc to ensure you have the OpenFOAM variables set up properly.
24+
25+
Then just enter the etc folder:
26+
27+
`cd $HOME/C3PO/etc`
28+
29+
and source the C3PO bashrc:
30+
31+
`. bashrc`
32+
33+
Finally, run the compileMe script:
34+
35+
`cd $HOME/C3PO/etc`
36+
37+
`./compileMe`
38+
39+
40+
Enjoy.
841

942
### Qt (required)
1043
Be sure you have the Qt library installed:

0 commit comments

Comments
 (0)