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

Slow bash on OpenSuse 103_64

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

Reply
 
LinkBack Thread Tools Display Modes
Old   March 18, 2008, 05:30
Default Hi guys, Just installed Op
  #1
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
Hi guys,

Just installed OpenFOAM on a freshly installed OpenSuse 10.3_64 machine.

After sourcing the .OpenFOAM-1.4.1/bashrc the bash shell becomes terribly slow, especially when compiling. (It doesn't matter which compiler, system or the one provided).

Did someone experience and/or solve the same issue???

Regards, Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   March 18, 2008, 05:53
Default My machines are always too slo
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: http://olesenm.github.io/
Posts: 777
Rep Power: 18
olesen will become famous soon enough
My machines are always too slow too ;)

I did notice a few minor issues with bash 3.2.25, but these were mostly problems with PS1 escape sequences messing up the commandline editing.

- Check if the $PATH and other environments look sensible. Perhaps something has change in how the /etc/profile.d/... are getting sourced and you have a horribly long path, etc.

- You might try ksh/pdksh and see it that changes anything.

- Maybe you have other issues (network, automounter, etc) that are the true culprits and that have only shown up with your update.
olesen is offline   Reply With Quote

Old   March 18, 2008, 06:11
Default I slow response in the shell i
  #3
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
I slow response in the shell is a real pain. Without sourcing the OpenFOAM bashrc / cshrc there is not problem at all.

Csh is slightly faster compared to bashrc, but the problem remains. It is not only the responsivity, but programs are running slower after sourcing openfoam......:-( very strange.
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   March 18, 2008, 08:38
Default Hi Frank! Do they permanent
  #4
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Frank!

Do they permanently run slower or do they just take longer to start up? In the second case I would think that Mark is right with hs last hint (automounter etc). If for instance you installed OpenFOAM in your /home, the /home is on a NFS-fileserver and that fileserver is slow .....

Another thing: SuSE 10.3 is fairly recent, isn't it? Chances are good that the vendor-installed gcc is sufficient. Remove the OpenFOAM-gcc (and his libs) from your path and try it that way. Maybe these libs don't like each other ...

And one last thing. Are you running the 32 or the 64 bit version of OF?

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 18, 2008, 08:56
Default Hi Bernhard! Without sourci
  #5
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
Hi Bernhard!

Without sourcing OpenFOAM, everything works the way it should, so our network mounter should not be a problem.

I am using the gcc provided with opensuse 10.3, which is 64 bit. Therefore, I am using the 64 bits version of OpenFOAM.

After sourcing the OpenFOAM bash, a simple hello world c-code compiles 3x slower. Not only compiling, the startup of all programs is slower and they are running slower too. Without openfoam everything works really fast.....

I think that there are some lines in OpenFOAM-1.4.1/.bashrc or .OpenFOAM-1.4.1/bashrc which are colliding with my system.....
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Old   March 18, 2008, 09:32
Default Hi Frank! I have no idea wh
  #6
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,912
Rep Power: 40
gschaider will become famous soon enoughgschaider will become famous soon enough
Hi Frank!

I have no idea what could be wrong. My next best idea would be to start a distro-flame-war ("Get CentOS, man") but that would help nobody (but it would keep everyone entertained)

Two last ideas:
- To completly rule out a network problem move the OF-Installation to a local disk (/opt or something like this). If the problem persists a network problem can be excluded from the list of suspects (and move the installation back)
- Do in an OpenFOAMified bash "export | sort >vanille.environ". Do the same in a foamified shell. Diff the files.
From the diff try to rebuild in an untainted shell a "minimal" OF environment (start with PATH and LD_LIBRARY_PATH - if the compilation of hello world starts to suck then you've got to disect the Paths)

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 18, 2008, 12:04
Default Thanks Mark and Bernhard, the
  #7
Senior Member
 
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 338
Rep Power: 9
lr103476 is on a distinguished road
Thanks Mark and Bernhard, the problem is solved.

All our computers are migrated to a new system running opensuse 10.3 with nfs mounted home dirs. All my openfoam stuff is on an extra harddrive, which is linked in my home/fmbos/openFOAM.... Apparently, following symbolic links through the home dirs is extremely slow. I solved this issue by changing $HOME in .OpenFOAM-1.4.1/bashrc by /media/sdb, the real location. Now all necessary foam related files are accessed directly and everything is compiling with similar speeds as before....

Frank
__________________
Frank Bos
lr103476 is offline   Reply With Quote

Reply

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fluent does not work on openSUSE 11.0 Stanislav Sviderek FLUENT 1 July 28, 2008 17:21
Gambit error on opensuse Alessandro FLUENT 0 February 26, 2008 05:08
Bash g command not found mamaly60 OpenFOAM Installation 0 October 18, 2007 17:14
OpenSuSE maybe OT alberto OpenFOAM 13 December 13, 2006 08:54
Star-HPC, Bash Wak CD-adapco 1 June 2, 2004 15:44


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