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

I think I made a mistake with bashrc file

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 10, 2014, 12:16
Default I think I made a mistake with bashrc file
  #1
New Member
 
Keith
Join Date: Oct 2014
Posts: 2
Rep Power: 0
nov_des_eng is on a distinguished road
I just started using openFOAM, and first I had just installed it and got everything to work in the tutorials, but I screwed some things up and ended up reinstalling. I also tried to use HELYX-OS and I kept getting weird errors like:
Code:
 Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
So I went on the forum and it looked like my $HOME/.bashrc file was incorrect, so I used the solution Here at the bottom of the page. Now I can't run blockMesh from the terminal in any of the tutorial cases. I just get

Code:
Inconsistency detected by ld.so: dl-version.c: 224: _dl_check_map_versions: Assertion `needed != ((void *)0)' failed!
The code I put in the bashrc file is:
Code:
source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc WM_NCOMPPROCS=2 WM_MPLIB=SYSTEMOPENMPI

alias of230='source $HOME/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc '
I am getting a new error in HELYX-OS also. it is
Code:
/home/datacollector/OpenFOAM/OpenFOAM-2.3.0/etc/bashrc: line 182: /home/datacollector/OpenFOAM-2.3.0/bin/foamEtcFile:
which you can see is skipping a folder. There are more errors, but they are all missing the same folder

Code:
/home/datacollector/OpenFOAM-2.3.0/bin/foamEtcFile
should look like
Code:
/home/datacollector/OpenFOAM/OpenFOAM-2.3.0/bin/foamEtcFile
Any idea how to fix this?

Thanks
nov_des_eng is offline   Reply With Quote

Old   October 11, 2014, 17:56
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
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
Greetings Keith and welcome to the forum!

Why do I have the feeling you copy-pasted those two lines of code to the wrong "bashrc" file? The correct file should be "$HOME/.bashrc" .

In addition, knowing which Linux Distribution you're using and which installation instructions you followed for installing OpenFOAM and HelyxOS, would make it a lot easier for us to diagnose the problem.

Beyond this, I believe this problem is very similar to the one reported here: http://www.cfd-online.com/Forums/ope...u-14-04-a.html
In the second post there is a solution reported there.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 16, 2014, 13:37
Default
  #3
New Member
 
Keith
Join Date: Oct 2014
Posts: 2
Rep Power: 0
nov_des_eng is on a distinguished road
I reinstalled Ubuntu 14.04 and OpenFOAM 2.3.0, and now I can run everything just fine. However, I still can not get Helyx-OS v2.1.1 to run no matter what I try.
nov_des_eng is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[swak4Foam] funkyDoCalc with OF2.3 massflow NiFl OpenFOAM Community Contributions 14 November 25, 2020 04:30
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
[swak4Foam] Swak4FOAM 0.2.3 / OF2.2.x installation error FerdiFuchs OpenFOAM Community Contributions 27 April 16, 2014 16:14
friction forces icoFoam ofslcm OpenFOAM 3 April 7, 2012 11:57
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24


All times are GMT -4. The time now is 12:54.