|
[Sponsors] |
March 18, 2008, 04:30 |
Hi guys,
Just installed Op
|
#1 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
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 |
|
March 18, 2008, 04:53 |
My machines are always too slo
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40 |
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. |
|
March 18, 2008, 05:11 |
I slow response in the shell i
|
#3 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
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 |
|
March 18, 2008, 07:38 |
Hi Frank!
Do they permanent
|
#4 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
March 18, 2008, 07:56 |
Hi Bernhard!
Without sourci
|
#5 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
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 |
|
March 18, 2008, 08:32 |
Hi Frank!
I have no idea wh
|
#6 |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
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 |
|
March 18, 2008, 11:04 |
Thanks Mark and Bernhard, the
|
#7 |
Senior Member
Frank Bos
Join Date: Mar 2009
Location: The Netherlands
Posts: 340
Rep Power: 18 |
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 |
|
|
|
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 04:08 |
Bash g command not found | mamaly60 | OpenFOAM Installation | 0 | October 18, 2007 17:14 |
OpenSuSE maybe OT | alberto | OpenFOAM | 13 | December 13, 2006 07:54 |
Star-HPC, Bash | Wak | Siemens | 1 | June 2, 2004 15:44 |