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

[OpenFOAM.org] Installing and Running on a Cluster

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By ashwin.dohare

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 10, 2022, 16:59
Default Installing and Running on a Cluster
  #1
New Member
 
gabriel rodrigues
Join Date: Jan 2022
Posts: 10
Rep Power: 4
Lucc is on a distinguished road
Hello everyone,

I've been trying to install openFoamV10 on my college's cluster, which runs Ubuntu 20.04 on every node, it has a node for only management and 22 for computing.

The thing is when I go streight to the node I want to install, I follow the steps for the OF foundation and go to the bashrc to add the source line to able openFoam commands in terminal. It all seems to go well but when I go test it with "simpleFoam -help" it shows that it is not installed, then I verify on terminal the installed programs and there it is the OFv10.

I'll first try to use one node at the time, i'm not even looking into use them simultaneously for now.

Have anyone gone through something like this?? Any guide or usefull tutorial for running OF on clusters? I'm a beginner on the subject.

Thank you!
Lucc is offline   Reply With Quote

Old   August 11, 2022, 00:59
Default
  #2
New Member
 
Join Date: Aug 2022
Posts: 7
Rep Power: 4
ashwin.dohare is on a distinguished road
Clone the OpenFOAM-9 repository
cd $HOME/OpenFOAM
git clone https://github.com/OpenFOAM/OpenFOAM-9.git
Compile OpenFOAM
cd OpenFOAM-9
echo "source $HOME/OpenFOAM/OpenFOAM-9/etc/bashrc" >> ~/.bashrc
source etc/bashrc
./Allwmake > log.Allwmake 2>&1


///Try this process. it works pretty fine. just change the of-9 to of-10 as per the link.
Lucc likes this.
ashwin.dohare is offline   Reply With Quote

Old   August 11, 2022, 15:03
Default
  #3
New Member
 
gabriel rodrigues
Join Date: Jan 2022
Posts: 10
Rep Power: 4
Lucc is on a distinguished road
Thank you for your repply,

Unfortunatelly I've got the same result:

gabrielluc@vulpecula:~/OpenFOAM$ $HOME/.bashrc
-bash: /home/gabrielluc/.bashrc: Permission denied
gabrielluc@vulpecula:~/OpenFOAM$ source $HOME/.bashrc
-bash: /home/gabrielluc/OpenFOAM/OpenFOAM-10/etc/bashrc: No such file or directory

vulpecula is the name of the node, it seems that I don't have access to the bash file, I'll ask my coordinator to add the source line there for me if its the cause should work next time.
Lucc is offline   Reply With Quote

Reply

Tags
cluster computing, cluster setup, openfoam 10


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Setup Ansys RSM with ARC on Linux cluster -Maxim- ANSYS 7 March 29, 2023 09:14
[OpenFOAM.org] Installing OpenFOAM-4.x on a cluster always stops at a particular point cryabroad OpenFOAM Installation 3 July 9, 2019 20:04
[Other] Basic questions about OpenFOAM cluster running and installing Fauster OpenFOAM Installation 0 May 25, 2018 16:00
[OpenFOAM.org] Installing OpenFOAm 3.0 on Rocks cluster Hillie OpenFOAM Installation 0 July 25, 2016 21:05
[OpenFOAM.org] Installing OpenFoam 3.0.1 on cluster hello177 OpenFOAM Installation 1 April 24, 2016 09:35


All times are GMT -4. The time now is 09:55.