CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] OpenFoam installation on CentOs 6.5 without root access

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 10, 2016, 03:19
Default
  #21
New Member
 
Wang Wei
Join Date: Apr 2016
Posts: 11
Rep Power: 5
Wang Wei is on a distinguished road
Hi,Chariton, below is the commands I used in compiling openfoam v3.0.1 in my /home directory.
Quote:
1. mkdir OpenFOAM
cd OpenFOAM
wget "http://downloads.sourceforge.net/foam/OpenFOAM-3.0.1.tgz?use_mirror=mesh" -O OpenFOAM-3.0.1.tgz
wget "http://downloads.sourceforge.net/foam/ThirdParty-3.0.1.tgz?use_mirror=mesh" -O ThirdParty-3.0.1.tgz

tar -xzf OpenFOAM-3.0.1.tgz
tar -xzf ThirdParty-3.0.1.tgz

2. module load openmpi/intel/1.10.2 || export PATH=$PATH:/usr/lib64/openmpi/bin

export LD_LIBRARY_PATH=/usr/lib64/openmpi/lib/:$LD_LIBRARY_PATH

3. source $HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc WM_LABEL_SIZE=64 foamCompiler=system

4. echo "alias of301='module load openmpi/intel/1.10.2; source \$HOME/OpenFOAM/OpenFOAM-3.0.1/etc/bashrc $FOAM_SETTINGS'" >> $HOME/.bashrc

5. module load gcc/4.9.3

6. cd $WM_PROJECT_DIR
./Allwmake -j 4 > log.make 2>&1
./Allwmake -j 4 > log.make 2>&1
It works well, I can calculate my case using it, but there are fatal errors in log.make file like this

Quote:
In file included from ../conformalVoronoiMesh/lnInclude/CGALTriangulation3Ddefs.H:41:0,

from ../conformalVoronoiMesh/lnInclude/conformalVoronoiMesh.H:46,

from foamyHexMesh.C:36:

../conformalVoronoiMesh/lnInclude/CGALTriangulation3DKernel.H:36:43: fatal error: CGAL/Delaunay_triangulation_3.h: No such file or directory
#include "CGAL/Delaunay_triangulation_3.h"
^
compilation terminated.
make[2]: *** [/home/nus/e0013038/OpenFOAM/OpenFOAM-3.0.1/platforms/linux64GccDPInt64Opt/applications/utilities/mesh/generation/foamyMesh/foamyHexMesh/foamyHexMesh.o] Error 1
make[1]: *** [generation] Error 2
make[1]: *** Waiting for unfinished jobs....
I don't know what's the purpose of CGAL.
Wang Wei is offline   Reply With Quote

Old   January 31, 2018, 05:08
Default
  #22
New Member
 
Chayanit Nigaltia
Join Date: Jan 2018
Posts: 29
Rep Power: 3
CHAYANIT is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Quick question: Have you tried following the instructions given here: http://openfoamwiki.net/index.php/In...HEL#CentOS_6.5
If not, then since you do not have root access, you can skip the first 3 steps.

And since you're trying to install on a cluster, you can also skip steps 16 to 18.
I also want to install openfoam in centOS with no root access and I also skiiped the first three steps. But the system shows the following error with .tar file.
[chayanit@un03 OpenFOAM]$ tar -xzf OpenFOAM-2.3.0.tgz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
CHAYANIT is offline   Reply With Quote

Old   December 10, 2018, 06:00
Default
  #23
Member
 
Ramana
Join Date: Jul 2017
Location: India
Posts: 58
Rep Power: 4
svramana is on a distinguished road
Hi everyone, I'm also trying to install OF5.0 on my institute cluster in home folder. I also don't have root access. I have followed all the instruction given in this link, https://openfoam.org/download/5-0-source/. After running ./Allwake command I'm getting following error
In file included from UOPwrite.C:30:0:
PstreamGlobals.H:42:17: fatal error: mpi.h: No such file or directory
#include <mpi.h>
^
compilation terminated.
make: *** [/data/me16d023/OpenFOAM/OpenFOAM-5.0/platforms/linux64GccDPInt32OptSYSTEMOPENMPI/src/Pstream/mpi/UOPwrite.o] Error 1

Anybody have solution ? Please help me.
svramana is offline   Reply With Quote

Old   December 16, 2018, 15:18
Default
  #24
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,942
Blog Entries: 42
Rep Power: 121
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: The Institute cluster should have a way to load/activate the MPI version that could be used with OpenFOAM. My guess is that if you run the following command:
Code:
module avail
you should get a complete list of the available modules in that cluster. Among them, search for one that states "openmpi" in some way. Then you can load the respective version, by using the associated name, for example, the name "openmpi/1.10.1" would be activated by running this command:
Code:
module load openmpi/1.10.1
then try building OpenFOAM once again.
__________________
wyldckat is offline   Reply With Quote

Old   December 21, 2018, 11:09
Default
  #25
Member
 
Ramana
Join Date: Jul 2017
Location: India
Posts: 58
Rep Power: 4
svramana is on a distinguished road
Thank you sir. It work for me.
svramana is offline   Reply With Quote

Old   September 11, 2019, 05:26
Default
  #26
New Member
 
Fahime Firoozpour
Join Date: Jan 2018
Posts: 10
Rep Power: 3
Fahime is on a distinguished road
Quote:
Originally Posted by elham usefi View Post
Hi I found the solution arsalan.dryi sent me the correct links
thanks
Hi Ebrahim
can you plz send me those links?
Thanks in advance
Fahime is offline   Reply With Quote

Reply

Tags
centos, installation of openfoam, root access

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to contribute to the community of OpenFOAM users and to the OpenFOAM technology wyldckat OpenFOAM 17 November 10, 2017 15:54
[OpenFOAM.org] OpenFOAM 2.4.x on CentOS 6.5 kpsl OpenFOAM Installation 2 July 27, 2015 06:50
[OpenFOAM.org] How to get OpenFoam compiled on a cluster with CentOS 6.5 and no root permissions hulli OpenFOAM Installation 2 November 6, 2014 18:01
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 linnemann OpenFOAM Installation 7 July 30, 2009 03:14
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 01:48


All times are GMT -4. The time now is 11:07.