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

Blog Entries

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

Old

新年快乐

Posted January 20, 2012 at 10:32 by lakeat (Computational Wind Engineering)
Updated July 6, 2012 at 22:09 by lakeat

Happy Chinese New Year!
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 283 Comments 0 lakeat is offline Edit Tags
Old

Find & Replacement & Delete

Posted January 19, 2012 at 11:13 by lakeat (Computational Wind Engineering)

Here are some tips, to show that linux is really very powerful, once you know how to use it.

Example-1
If you want to find or replacement, you dont need to open an editor, gedit, or vi. You can just simply do the following (choose one).
Why not just vi and :%s....? Because, the following command can be implemented in a shell scripts, so once you have dozens of files to operate, this is the better way.

perl -e "s/old_string/new_string/g"
...
lakeat's Avatar
Senior Member
Posted in Uncategorized
Views 356 Comments 1 lakeat is offline Edit Tags
Old

Dark side of Amdahl's law. Epilogue

Posted January 12, 2012 at 10:03 by SergeAS
Updated January 13, 2012 at 07:32 by SergeAS

Dependence of efficiency on the number of cores is a very important characteristic of scalability solver based on which one can predict the scaling limit. For simplicity we consider only one option for the solver, using the asynchronous version of the MPI exchanges Isend() + Irecv(). It is seen that the dependence of the efficiency of parallelization of the solver is linear or nearly linear, with a gradual drop in effectivity with increasing number of cores used
...
Attached Thumbnails
Click image for larger version

Name:	HyperFLOW2D-effectivity0.png
Views:	481
Size:	10.4 KB
ID:	46   Click image for larger version

Name:	HyperFLOW2D-speedup0.png
Views:	140
Size:	10.3 KB
ID:	47  
SergeAS's Avatar
Member
Posted in Uncategorized
Views 358 Comments 0 SergeAS is offline Edit Tags
Old

Running OpenFOAM in parallel with different locations for each process

Posted December 15, 2011 at 16:56 by wyldckat

The other day a fellow forum user asked me for help about a problem dealing with the specific configuration of a case for running in a cluster. The specific configuration was simple: each slave machine of the cluster has it's own independent storage address on a similar path.
Below is an edited version of the reply I sent him.


OK, first detail - In the following file you have a (sort-of) well documented "decomposeParDict":
Code:
applications/utilities/parallelProcessing/decomposePar/decomposeParDict
...
Super Moderator
Views 1206 Comments 0 wyldckat is offline Edit Tags
Old

Dark side of Amdahl's law. Part III

Posted December 9, 2011 at 11:04 by SergeAS
Tags mpi, parallel

...use a blocking call Sendrecv() instead of a pair of Send() + Recv() slightly improves the performance of the code but does not result to improved scalability


...
Attached Thumbnails
Click image for larger version

Name:	HyperFLOW2D-parallel-factor2.png
Views:	571
Size:	12.0 KB
ID:	42   Click image for larger version

Name:	HyperFLOW2D-speedup2.png
Views:	564
Size:	11.4 KB
ID:	43   Click image for larger version

Name:	HyperFLOW2D-speed2.png
Views:	555
Size:	11.8 KB
ID:	44   Click image for larger version

Name:	HyperFLOW2D-effectivity2.png
Views:	116
Size:	12.6 KB
ID:	45  
SergeAS's Avatar
Member
Posted in Uncategorized
Views 427 Comments 0 SergeAS is offline Edit Tags

All times are GMT -4. The time now is 03:15.