View Single Post
  #15   Report Post  
Old October 1st 07, 08:48 AM posted to rec.radio.amateur.antenna
[email protected] oeguet@gmx.de is offline
external usenet poster
 
First recorded activity by RadioBanter: Jun 2007
Posts: 22
Default Speedup NEC-Engine, using multiple CPU-Cores

Hello Jim,

on the last 6 month, I wrote a "C-language-like" NEC-Compiler, which
generates symbolic antenna models and therefore the output model can
be read directly from 4nec2. The generated code is fully symbolic, so
the antenne parameters can be optimized with 4nec2 as usual.

As an experiment of one of the simplest optimization function (monte
carlo method), I started the new optimizer and of course in the hope
of getting some speed enhancements. Some antenne problems have a big
local minima problem and sometimes the optimization get stucks in a
next optimum level (local minima), but not the best one (global
minima).

With the monte carlo method, this can not be happend, but it takes
much more computation time. The new optimizer of course, uses the new
NEC-compiler, to generate different parameters and NEC-Input for the
engines.

At the moment, I interrupted the development of the optimizer and
startet with the NEC-Engine Wrapper. I have coded during last night
the most parts of it and I just have to merge the results now. On my
dual-core Intel CPU, the performance level of the CPU goes directly to
100% with running two NEC-Engines in the background, so they use all
the CPU-Cores at the same time.
Merging the results, is much more non-trivial part. I hope, I can
solve this very elegant.
The integration of the NEC-Wrapper will be transparent and seamless.

I will see, how far I can go.

Regards,
Aziz