OpenFoam trouble - parallel on multi-core machine

  • Johannes Theron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
9 years 1 month ago #6320 by Johannes Theron
OpenFoam trouble - parallel on multi-core machine was created by Johannes Theron
I have passwordless ssh set up on my machine and would like to run a parallel OpenFoam case on eight cores. The single-core case runs OK and decomposePar works just fine. However, it seems that when mpirun logs into the machine, the OpenFoam .bash file is not sourced by the new shell and the run aborts.

Can anyone point me to the location of the OpenFoam .bash file on the CAElinux 2011 file system so that I can source it in my .bash_login or .profile ?

Thank you!

Jan Theron
www.kanoefabrik.com

Please Log in or Create an account to join the conversation.

  • Johannes Theron
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
9 years 1 month ago #6321 by Johannes Theron
Replied by Johannes Theron on topic Re: OpenFoam trouble - parallel on multi-core machine
No worries, I found it in /opt/openfoam201/etc/bashrc

Thank you for the trouble.

Speedup is about 4X vs a single core on my dual-quadcore Xeon and I use about 5GB of RAM.

Would be great if OpenMP directives were added to OpenFoam source code so one can get the most out of modern multicore machines. Unfortunately my time to dig into the code is pretty limited.

Please Log in or Create an account to join the conversation.

Moderators: catux
Time to create page: 0.131 seconds
Powered by Kunena Forum