|
[Sponsors] | |||||
|
|
|
#1 | |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
Quote:
|
||
|
|
|
||
|
|
|
#2 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Try following these instructions: http://openfoamwiki.net/index.php/In...u#Ubuntu_11.04 - they should work on Ubuntu 11.10.
__________________
|
|
|
|
|
|
|
|
|
#3 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
I downloaded 1.6ext folder and followed instructions but nothing occurred when used ./Allwmake:
Code:
bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc: No such file or directory ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ ./AllMake > log.AllMake 2>&1 ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ ./AllMake > log.AllMake 2>&1 ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ gedit log.AllMake ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ source etc/bashrc bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamEtcFile: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/settings.sh: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/aliases.sh: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory bash: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/bin/foamCleanPath: No such file or directory ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ ./Allwmake > make.log 2>&1ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ ./Allwmake > make.log 2>&1ehsan@Ehsan-com:~/Desktop/OpenFOAM-1.6-ext-sf-master$ icoFoam -help icoFoam: command not found |
|
|
|
|
|
|
|
|
#4 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Hi Ehsan,
You didn't properly follow the instructions. Looks like you skipped step #2. Follow these instructions: Code:
cd ~ mkdir OpenFOAM cd OpenFOAM mv ~/Desktop/OpenFOAM-1.6-ext-sf-master OpenFOAM-1.6-ext Best regards, Bruno
__________________
|
|
|
|
|
|
|
|
|
#5 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
thanks.I supposed stages before are related to downloading.
now I have extracted ext folder in the desktop and this error occurs: Code:
ehsan@Ehsan-com:~/OpenFOAM$ cd OpenFOAM-1.6-ext bash: cd: OpenFOAM-1.6-ext: No such file or directory |
|
|
|
|
|
|
|
|
#6 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Please follow the instructions from the previous post.
By the way, I've moved this line of conversation to a new thread, given that the emphasis is about installing on Ubuntu 11.10.
__________________
|
|
|
|
|
|
|
|
|
#7 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
thanks.now is this on compiling?(nothing is shown)
Code:
ehsan@Ehsan-com:~/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty$ ./AllMake > log.AllMake 2>&1 |
|
|
|
|
|
|
|
|
#8 | |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Quote:
When it's finished, then you'll be able to build OpenFOAM 1.6-ext.
__________________
|
||
|
|
|
||
|
|
|
#9 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
ahy does it takes this so much?its now 2hours!
even doesn't show anything that user be certain its running or when ends! why is not like official version? |
|
|
|
|
|
|
|
|
#10 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
why this text displayed when i open a new terminal now?whats wrong?
Code:
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/settings.sh
Using openmpi-1.4.3 from the ThirdParty package: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/etc/openmpi-1.4.3.sh
Environment variables defined for OpenMPI:
OPENMPI_BIN_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/bin
OPENMPI_LIB_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib
OPENMPI_INCLUDE_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include
OPENMPI_COMPILE_FLAGS : -I/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include -pthread
OPENMPI_LINK_FLAGS : -pthread -L/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
MPI_HOME : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
MPI_ARCH_PATH : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
OPAL_PREFIX : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
PINC : -I/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include -pthread
PLIBS : -pthread -L/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/etc/mesquite-2.1.2.sh
MESQUITE_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64GccDPOpt/etc/metis-5.0pre2.sh
METIS_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64GccDPOpt/etc/ParMetis-3.1.1.sh
PARMETIS_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/etc/ParMGridGen-1.0.sh
PARMGRIDGEN_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/etc/libccmio-2.6.1.sh
LIBCCMIO_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64GccDPOpt/etc/scotch-5.1.10b.sh
SCOTCH_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64GccDPOpt/etc/cmake-2.8.8.sh
CMAKE_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64GccDPOpt
M4_DIR is initialized to:
BISON_DIR is initialized to:
FLEX_DIR is initialized to:
ZOLTAN_DIR is initialized to:
PYTHON_DIR is initialized to:
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64GccDPOpt/etc/qt-everywhere-opensource-src-4.7.4.sh
QT_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64GccDPOpt
PARAVIEW_DIR is initialized to:
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/aliases.sh
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/prefs.sh
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/settings.sh
Using openmpi-1.4.3 from the ThirdParty package: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/etc/openmpi-1.4.3.sh
Environment variables defined for OpenMPI:
OPENMPI_BIN_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/bin
OPENMPI_LIB_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib
OPENMPI_INCLUDE_DIR : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include
OPENMPI_COMPILE_FLAGS : -I/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include -pthread
OPENMPI_LINK_FLAGS : -pthread -L/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
MPI_HOME : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
MPI_ARCH_PATH : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
OPAL_PREFIX : /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt
PINC : -I/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/include -pthread
PLIBS : -pthread -L/home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/openmpi-1.4.3/platforms/linux64GccDPOpt/lib -lmpi -lopen-rte -lopen-pal -ldl -Wl,--export-dynamic -lnsl -lutil -lm -ldl
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt/etc/mesquite-2.1.2.sh
MESQUITE_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/mesquite-2.1.2/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64GccDPOpt/etc/metis-5.0pre2.sh
METIS_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/metis-5.0pre2/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64GccDPOpt/etc/ParMetis-3.1.1.sh
PARMETIS_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMetis-3.1.1/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt/etc/ParMGridGen-1.0.sh
PARMGRIDGEN_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/ParMGridGen-1.0/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt/etc/libccmio-2.6.1.sh
LIBCCMIO_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/libccmio-2.6.1/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64GccDPOpt/etc/scotch-5.1.10b.sh
SCOTCH_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/scotch-5.1.10b/platforms/linux64GccDPOpt
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64GccDPOpt/etc/cmake-2.8.8.sh
CMAKE_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/cmake-2.8.8/platforms/linux64GccDPOpt
M4_DIR is initialized to:
BISON_DIR is initialized to:
FLEX_DIR is initialized to:
ZOLTAN_DIR is initialized to:
PYTHON_DIR is initialized to:
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64GccDPOpt/etc/qt-everywhere-opensource-src-4.7.4.sh
QT_DIR is initialized to: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/ThirdParty/packages/qt-everywhere-opensource-src-4.7.4/platforms/linux64GccDPOpt
PARAVIEW_DIR is initialized to:
Sourcing: /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/aliases.sh
|
|
|
|
|
|
|
|
|
#11 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Start a new terminal, go to the same folder and run:
Code:
less log.AllMake It's taking so long because it has to build Qt and ParaView. This is to avoid some occasional running issues that occur with ParaView, when it's built with an untested or Ubuntu Qt version. And since Ubuntu 11.10 only provides ParaView 3.10, I didn't suggest using this particular version of ParaView. And it's not like the official version, because it does not have the same level of support and development At least as far as I know.
__________________
|
|
|
|
|
|
|
|
|
#12 | |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Quote:
The long description is a feature that 1.6-ext has got, since it provides tons of features. This way it's easier to verify if, what and where is installed and being used.
__________________
|
||
|
|
|
||
|
|
|
#13 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
its the bashrc now.what changes have to be done?
Code:
# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
. /etc/bash_completion
fi
#. /opt/openfoam220/etc/bashrc
#. /opt/openfoam211/etc/bashrc
#. /opt/openfoam210/etc/bashrc
alias of220='. /opt/openfoam220/etc/bashrc'
alias of210='. /opt/openfoam210/etc/bashrc'
export PATH="$PATH:/home/ehsan/Desktop/codes"
source /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc
source /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc
|
|
|
|
|
|
|
|
|
#14 |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Replace:
Code:
source /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc source /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc Code:
alias of16ext='source /home/ehsan/OpenFOAM/OpenFOAM-1.6-ext/etc/bashrc'
__________________
|
|
|
|
|
|
|
|
|
#15 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
now it has ended and 1.6.ext is compiling.but I can't see its progress by before commandyou said in 1.6ext folder.
and what do you mean by: Code:
And since Ubuntu 11.10 only provides ParaView 3.10, I didn't suggest using this particular version of ParaView. |
|
|
|
|
|
|
|
|
#16 | |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Quote:
Code:
sudo apt-get install paraview I didn't suggest to you to install this version, because it's a very outdated version.
__________________
|
||
|
|
|
||
|
|
|
#17 |
|
Banned
ehsan
Join Date: Oct 2012
Location: Iran
Posts: 1,106
Rep Power: 0 ![]() |
then how It can be possible to install a recent version pof paraview?or not possible?!
|
|
|
|
|
|
|
|
|
#18 | |
|
Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 4,228
Blog Entries: 31
Rep Power: 45 ![]() ![]() |
Quote:
I didn't suggest installing a more recent version of ParaView, because it can be a two-edge sword: it works great for many people, but leads to crashes for others. And one wrong step can lead to bigger problems. Therefore my suggestion is usually to take the safer route of building the custom version, even if it takes longer. Either way, instructions on how to install a pre-built version of ParaView can be found here: Using the official pre-built ParaView 3.10.1 version with OpenFOAM - It's possible to adapt to the latest ParaView 3.98.1, instead of "3.10.1".
__________________
|
||
|
|
|
||
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Installing OpenFOAM 2.1.1 and ParaView 3.12.0 on Ubuntu 12.10 | wyldckat | OpenFOAM Installation | 14 | February 12, 2013 04:43 |
| OpenFOAM 2.1 on Ubuntu SERVER 11.10 | samiam1000 | OpenFOAM Installation | 2 | March 7, 2012 02:40 |
| openFOAM installation in ubuntu 11.10 | kirubhakaran | OpenFOAM Installation | 5 | February 17, 2012 02:16 |
| OpenFOAM vs Ubuntu 10.10 64 bit | vkrastev | OpenFOAM Installation | 12 | April 23, 2011 10:14 |
| Trouble with installing OpenFOAM on Ubuntu | Milos | OpenFOAM Installation | 16 | November 16, 2009 02:44 |