Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to make fdtd codes run faster?

Status
Not open for further replies.

tmalc

Member level 1
Joined
Apr 18, 2007
Messages
35
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,288
Activity points
1,474
how to make fdtd codes run faster?

such as what kind of languages we choose, C, fortran or matlab.
the style the code writing. etc.

can anybody pose a guide line?
 

how to make fdtd codes run faster?

such as what kind of languages we choose, C, fortran or matlab.
the style the code writing. etc.

That is a difficult question but

1) Use a language where you have very close control on what the processor does
in the end, => C or Fortran or Assembler

2) I don't understand what you mean by coding style?

3) concrete suggestion depend on
a) your algorithm (2D,3D,materials, excitation, output data, ABC)
b) your processor (clock, pipeline length, cache size, number of registers)
c) memory bandwith
d) parallelization (OpenMP, MPI, etc)
etc.

Some general advice
- Really understand the algorithm you use
- Measure speed/memory
- Concentrate on the innermost loops
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top