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

[foam-extend.org] Having trouble following the installation instructions for foam-extend 3.1

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 8, 2015, 06:40
Default foam-extend 3.1
  #21
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, so apparently you compressed and provided the wrong file.
Start a new terminal and run:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc
foam
tar -czf log.make.tar.gz log.make
pwd
The last command will tell you the full path to the folder where the file log.make.tar.gz" is located.
http://www.mediafire.com/download/00...og.make.tar.gz
cliff is offline   Reply With Quote

Old   February 8, 2015, 07:49
Default
  #22
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
OK, finally, we now have a clear picture of what went wrong.

The problem is that you're not able to access the website sourceforge.net. If you open the file "make.log" with a simple text editor, search for the following error message:
Code:
ERROR 504: Gateway Time-out.
The first one you'll find is this block:
Code:
Download openmpi-1.6.5.tar.gz from : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/openmpi-1.6.5.tar.gz
--2015-02-07 20:32:46--  http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/openmpi-1.6.5.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
2015-02-07 20:33:01 ERROR 504: Gateway Time-out.
The first line shown above tells which file is being downloaded and from where.

For example, for this first file, you need to search online for the file "openmpi-1.6.5.tar.gz", download it and place it inside the folder "~/foam/foam-extend-3.1/ThirdParty/rpmBuild/SOURCES".

Then do the same for all other files that have been reported in "make.log" that were not downloaded.
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 09:04
Default foam-extend 3.1
  #23
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, finally, we now have a clear picture of what went wrong.

The problem is that you're not able to access the website sourceforge.net. If you open the file "make.log" with a simple text editor, search for the following error message:
Code:
ERROR 504: Gateway Time-out.
The first one you'll find is this block:
Code:
Download openmpi-1.6.5.tar.gz from : http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/openmpi-1.6.5.tar.gz
--2015-02-07 20:32:46--  http://downloads.sourceforge.net/project/openfoam-extend/foam-extend-3.1/ThirdParty/openmpi-1.6.5.tar.gz
Resolving downloads.sourceforge.net (downloads.sourceforge.net)... 216.34.181.59
Connecting to downloads.sourceforge.net (downloads.sourceforge.net)|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 504 Gateway Time-out
2015-02-07 20:33:01 ERROR 504: Gateway Time-out.
The first line shown above tells which file is being downloaded and from where.

For example, for this first file, you need to search online for the file "openmpi-1.6.5.tar.gz", download it and place it inside the folder "~/foam/foam-extend-3.1/ThirdParty/rpmBuild/SOURCES".

Then do the same for all other files that have been reported in "make.log" that were not downloaded.
Hi Bruno i've done what you said. There was 6 "Gateway Time-out" error including not downloading these 6 files:
openmpi-1.6.5.tar.gz
metis-5.1.0.tar.gz
mesquite-2.1.2.tar.gz
scotch-6.0.0.tar.gz
PyFoam-0.6.1.tar.gz
hwloc-1.7.2.tar.gz
i downloaded them from this link http://sourceforge.net/projects/open....0/ThirdParty/
and copied to that direction. Please tell me the next step.
cliff is offline   Reply With Quote

Old   February 8, 2015, 09:19
Default
  #24
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
OK, now it's the same as before, namely:
Quote:
Originally Posted by wyldckat View Post
OK, then try to follow these steps:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
and if all goes well, please indicate what the last 2 lines give you.
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 09:29
Default foam-extend 3.1
  #25
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, now it's the same as before, namely:
How long "./Allwmake.firstInstall > log.make 2>&1"
takes to compile?
cliff is offline   Reply With Quote

Old   February 8, 2015, 09:30
Default
  #26
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
Quote:
Originally Posted by cliff View Post
How long "./Allwmake.firstInstall > log.make 2>&1"
takes to compile?
6 to 8 hours, if compiled with only one core.
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 09:47
Default
  #27
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
6 to 8 hours, if compiled with only one core.
It seems like compiling is done after 10 minutes.
This time just last command gave nothing.
Here is my terminal window:

sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc
sepinood@sepinood-Inspiron-N5010:~$ foam
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ ./Allwmake.firstInstall > log.make 2>&1
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ source $HOME/foam/foam-extend-3.1/etc/bashrc
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which icoFoam
/home/sepinood/foam/foam-extend-3.1/applications/bin/linuxGccDPOpt/icoFoam
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which paraview
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$
cliff is offline   Reply With Quote

Old   February 8, 2015, 09:50
Default
  #28
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
Have a look into the file "log.make" to try and see where the error is now.

If you cannot understand what the error is, compress the latest file and attach it or provide a link for it.
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 10:00
Default foam-extend 3.1
  #29
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Have a look into the file "log.make" to try and see where the error is now.

If you cannot understand what the error is, compress the latest file and attach it or provide a link for it.
Here is the link of my log file http://www.mediafire.com/download/sb...make.tar(2).gz
cliff is offline   Reply With Quote

Old   February 8, 2015, 10:15
Default
  #30
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
OK, here we go, another lap around the block... hopefully this time ParaView will build... run the following commands:
Code:
export QT_SELECT=qt4
export QT_BIN_DIR=$(which qmake)
echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh

source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 10:21
Default foam-extend 3.1
  #31
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
OK, here we go, another lap around the block... hopefully this time ParaView will build... run the following commands:
Code:
export QT_SELECT=qt4
export QT_BIN_DIR=$(which qmake)
echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh

source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
The third command have a problem.
Terminal window:
sepinood@sepinood-Inspiron-N5010:~$ export QT_SELECT=qt4
sepinood@sepinood-Inspiron-N5010:~$ export QT_BIN_DIR=$(which qmake)
sepinood@sepinood-Inspiron-N5010:~$ echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh
bash: etc/prefs.sh: No such file or directory
sepinood@sepinood-Inspiron-N5010:~$
cliff is offline   Reply With Quote

Old   February 8, 2015, 10:29
Default
  #32
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
Sorry, I forgot that the shell environment had to already be readied... try this:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam

export QT_SELECT=qt4
export QT_BIN_DIR=$(which qmake)
echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh

source $HOME/foam/foam-extend-3.1/etc/bashrc 
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 10:40
Default foam-extend 3.1
  #33
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Sorry, I forgot that the shell environment had to already be readied... try this:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam

export QT_SELECT=qt4
export QT_BIN_DIR=$(which qmake)
echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh

source $HOME/foam/foam-extend-3.1/etc/bashrc 
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
The last command gave nothing again
Terminal window:

sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrc
sepinood@sepinood-Inspiron-N5010:~$ foam
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ export QT_SELECT=qt4
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ export QT_BIN_DIR=$(which qmake)
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ echo "export QT_BIN_DIR=$QT_BIN_DIR" >> etc/prefs.sh
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ source $HOME/foam/foam-extend-3.1/etc/bashrc
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ ./Allwmake.firstInstall > log.make 2>&1
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ source $HOME/foam/foam-extend-3.1/etc/bashrc
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which icoFoam
/home/sepinood/foam/foam-extend-3.1/applications/bin/linuxGccDPOpt/icoFoam
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which paraview
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$
cliff is offline   Reply With Quote

Old   February 8, 2015, 10:49
Default
  #34
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
I need the latest log file to see what went wrong: "log.make"
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 11:01
Default foam-extend 3.1
  #35
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Here it is.
log.make.tar.gz
cliff is offline   Reply With Quote

Old   February 8, 2015, 11:24
Default
  #36
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
What do the following commands give you?
Code:
which qmake
which qmake-qt4
If neither one give you anything, then run:
Code:
sudo apt-get install qt4-dev-tools libqt4-dev libqtwebkit-dev
Then try again running the two commands above. If they now work, then do again the commands from my previous post.
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 11:28
Default foam-extend 3.1
  #37
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
What do the following commands give you?
Code:
which qmake
which qmake-qt4
If neither one give you anything, then run:
Code:
sudo apt-get install qt4-dev-tools libqt4-dev libqtwebkit-dev
Then try again running the two commands above. If they now work, then do again the commands from my previous post.
these cpmmands gave some directories
Terminal window:

sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which qmake
/usr/bin/qmake
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ which qmake-qt4
/usr/bin/qmake-qt4
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$
cliff is offline   Reply With Quote

Old   February 8, 2015, 11:37
Default
  #38
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
This is strange... OK, I need to see the output from these commands:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc
foam 
cat etc/prefs.sh
wyldckat is offline   Reply With Quote

Old   February 8, 2015, 11:51
Default foam-extend 3.1
  #39
Member
 
mojtaba
Join Date: Dec 2014
Location: iran
Posts: 41
Rep Power: 11
cliff is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
This is strange... OK, I need to see the output from these commands:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc
foam 
cat etc/prefs.sh
sepinood@sepinood-Inspiron-N5010:~$ source $HOME/foam/foam-extend-3.1/etc/bashrcsepinood@sepinood-Inspiron-N5010:~$ foam
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$ cat etc/prefs.sh
export QT_BIN_DIR=/path/to/qmake
export CUDA_ARCH=sm_30
export CUDA_ARCH=sm_30
export QT_BIN_DIR=/path/to/qmake
export CUDA_ARCH=sm_30
export CUDA_ARCH=sm_30
export QT_BIN_DIR=/path/to/qmake
export CUDA_ARCH=sm_30
export QT_BIN_DIR=/usr/bin/qmake
sepinood@sepinood-Inspiron-N5010:~/foam/foam-extend-3.1$
cliff is offline   Reply With Quote

Old   February 8, 2015, 12:00
Default
  #40
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
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
OK, try this:
Code:
source $HOME/foam/foam-extend-3.1/etc/bashrc 
foam

export QT_SELECT=qt4
echo "export QT_BIN_DIR=/usr/bin/qmake" > etc/prefs.sh

source $HOME/foam/foam-extend-3.1/etc/bashrc 
./Allwmake.firstInstall > log.make 2>&1

source $HOME/foam/foam-extend-3.1/etc/bashrc 
which icoFoam
which paraview
wyldckat is offline   Reply With Quote

Reply


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
[foam-extend.org] A problem about installation of open foam extend 3.1 Toalchemist OpenFOAM Installation 1 May 31, 2018 09:58
[foam-extend.org] Foam extend 3.2 wrong installation directory geop OpenFOAM Installation 0 May 11, 2016 06:52
[foam-extend.org] Error during the installation of foam-extend 3.1 shipman OpenFOAM Installation 6 April 18, 2016 07:37
ParaView-4.0.1 did not compile for foam extend 3.0 installation mhkenergy OpenFOAM Installation 8 June 4, 2014 03:26
64bitrhel5 OF installation instructions mirko OpenFOAM Installation 2 August 12, 2008 19:07


All times are GMT -4. The time now is 08:24.