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

[foam-extend.org] Error during the installation of foam-extend 3.1

Register Blogs Community New Posts Updated Threads Search

Like Tree4Likes
  • 4 Post By snak

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 18, 2014, 03:16
Default Error during the installation of foam-extend 3.1
  #1
Senior Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13
shipman is on a distinguished road
Hi to all,

I am using openfoam version 2.2.2 with ubuntu 12.04 and tried to install foam-extend 3.1 using this instruction in this link by following the 2nd option: installation from source code: http://openfoamwiki.net/index.php/In...om_source_code

1st: i run the following command for ubuntu 12.04 at this link: http://openfoamwiki.net/index.php/In...end-3.1/Ubuntu

2nd: get the source code using following commands:

Code:
cd ~  mkdir foam cd foam git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 foam-extend-3.1
Everything is ok until here. I dowloaded the foam-extend to HOME/foam.
However when i tried to compile the code as indicated here:

Code:
cd ~/foam/foam-extend-3.1 source etc/bashrc   echo "alias fe31='source \$HOME/foam/foam-extend-3.1/etc/bashrc'" >> $HOME/.bashrc
when i run the command: source etc/bashrc it gives following error:
Code:
efs@efs-desktop:~/foam/foam-extend-3.1$ source etc/bashrc
bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/etc/settings.sh: No such file or directory
bash: /opt/foam-extend-3.1/etc/aliases.sh: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
i cant understand why this command search the inside /opt... if someone can help to me to install foam-extend i will be appreciated.

Thanks in advance.

B
shipman is offline   Reply With Quote

Old   July 19, 2014, 02:12
Default
  #2
Senior Member
 
shinji nakagawa
Join Date: Mar 2009
Location: Japan
Posts: 113
Blog Entries: 1
Rep Power: 18
snak is on a distinguished road
Hi Baris

When you install foam-extend from a terminal with OpenFOAM settings, the error will occur.

Could you try the following steps.
1. Comment out OpenFOAM2.2.2 related part from ~/.bashrc
2. Open a terminal windows
3. compile foam-extend





Quote:
Originally Posted by shipman View Post
Hi to all,

I am using openfoam version 2.2.2 with ubuntu 12.04 and tried to install foam-extend 3.1 using this instruction in this link by following the 2nd option: installation from source code: http://openfoamwiki.net/index.php/In...om_source_code

1st: i run the following command for ubuntu 12.04 at this link: http://openfoamwiki.net/index.php/In...end-3.1/Ubuntu

2nd: get the source code using following commands:

Code:
cd ~  mkdir foam cd foam git clone git://git.code.sf.net/p/openfoam-extend/foam-extend-3.1 foam-extend-3.1
Everything is ok until here. I dowloaded the foam-extend to HOME/foam.
However when i tried to compile the code as indicated here:

Code:
cd ~/foam/foam-extend-3.1 source etc/bashrc   echo "alias fe31='source \$HOME/foam/foam-extend-3.1/etc/bashrc'" >> $HOME/.bashrc
when i run the command: source etc/bashrc it gives following error:
Code:
efs@efs-desktop:~/foam/foam-extend-3.1$ source etc/bashrc
bash: /opt/foam-extend-3.1/bin/foamGetSystemInfo: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/etc/settings.sh: No such file or directory
bash: /opt/foam-extend-3.1/etc/aliases.sh: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
bash: /opt/foam-extend-3.1/bin/foamCleanPath: No such file or directory
i cant understand why this command search the inside /opt... if someone can help to me to install foam-extend i will be appreciated.

Thanks in advance.

B
snak is offline   Reply With Quote

Old   July 19, 2014, 23:06
Default Thank you
  #3
Senior Member
 
Baris (Heewa)
Join Date: Jan 2013
Location: Japan
Posts: 130
Rep Power: 13
shipman is on a distinguished road
Dear Nakagawa Sensei,

Thank you very much. Finally, i have compiled foam-extend and works well after your kind help.

I would like to ask one thing more: After running any case of tutorial in foam-extend when i try to view the result using paraview all the time it shows the attached list "open data with.." if i choose the openfoam it shows the results properly. Just i would like to ask that is there any setting not to choose all the time "openfoam" option when i view the results in foam-extend.

Thanks in advance.

Baris
Attached Images
File Type: jpg paraview.jpg (90.4 KB, 64 views)
shipman is offline   Reply With Quote

Old   October 24, 2014, 04:48
Default
  #4
Member
 
behzad Ghasemi
Join Date: Sep 2013
Location: Iran
Posts: 56
Rep Power: 12
behzad-cfd is on a distinguished road
Quote:
Originally Posted by snak View Post
Hi Baris

When you install foam-extend from a terminal with OpenFOAM settings, the error will occur.

Could you try the following steps.
1. Comment out OpenFOAM2.2.2 related part from ~/.bashrc
2. Open a terminal windows
3. compile foam-extend
Hi
I have same problem, but i didn't get this step 1. Comment out OpenFOAM2.2.2 related part from ~/.bashrc
what should i do exactly?
I'm amateur please explain more.
I have not install any open foam version and i was trying to install extend 3.1 version on fedora 20
behzad-cfd is offline   Reply With Quote

Old   March 5, 2016, 08:50
Default
  #5
Member
 
thegauravonline's Avatar
 
GS
Join Date: Mar 2016
Posts: 81
Rep Power: 10
thegauravonline is on a distinguished road
exactly

what does this mean...?

1. Comment out OpenFOAM2.2.2 related part from ~/.bashrc



confused
thegauravonline is offline   Reply With Quote

Old   March 6, 2016, 04:04
Default
  #6
Senior Member
 
shinji nakagawa
Join Date: Mar 2009
Location: Japan
Posts: 113
Blog Entries: 1
Rep Power: 18
snak is on a distinguished road
Quote:
Originally Posted by thegauravonline View Post
exactly

what does this mean...?

1. Comment out OpenFOAM2.2.2 related part from ~/.bashrc



confused
Please read the first post carefully. The problem was installing the foam-extend from the terminal that is already included the OpenFOAM2.2.2 settings.

If you want to use multiple versions of OpenFOAM and/or foam, you should not read automatically the setting files for specific version. Instead, you can create aliases for openfoams and execute the alias which corresponds to the version you want to use.

There are helpful pages …
http://openfoamwiki.net/index.php/In...with_the_Shell
http://www.cfd-online.com/Forums/ope...e-machine.html
http://www.cfd-online.com/Forums/blo...vironment.html
snak is offline   Reply With Quote

Old   April 18, 2016, 06:37
Default
  #7
Senior Member
 
Saideep
Join Date: Apr 2015
Location: INDIA
Posts: 203
Rep Power: 11
Saideep is on a distinguished road
Hi guys,
I installed OF-ext 3.1 in my Home and sourced my bash with an alias.

Though the inbuilt libraries and solvers work, when I try to modify the code or use the existing code into another folder to compile that,
I get this: relocation _ has invalid symbol index error.

I guess I made a mistake somewhere but unable to find it out. Could anyone of you advice me!!

Saideep
Saideep 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
[Other] refineWallLayer Error Yuby OpenFOAM Meshing & Mesh Conversion 2 November 11, 2021 11:04
fvSchemes in FOAM extend 3.1 Shenan OpenFOAM Running, Solving & CFD 3 December 22, 2014 09:45
[blockMesh] non-orthogonal faces and incorrect orientation? nennbs OpenFOAM Meshing & Mesh Conversion 7 April 17, 2013 05:42
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 19:08


All times are GMT -4. The time now is 20:22.