NEC-LIST: Re: Nec on linux

From: Darryl Holder <trebour_at_email.domain.hidden>
Date: Fri, 19 Aug 2005 14:19:56 -0400

Eric;

To start with the pre and post processing - I have had to resort to a
cluster of my own Perl scripts and gnuplot to get semi-effecient
operations. My scripts are not general in thier application, very
limited in scope, and are rather kludgey - but they work for my needs.
If you are interested in them, contact me offline.

As far as I can tell, batch rules in NEC. I have used commercial
packages such as GNEC which have some handy model building and
visualization aids, but those are Windows only - try Wine maybe?

I once started to set up a small (6 computer) distributed NEC processing
farm. I rolled my own connections using Perl to send/receive jobs by
UDP datagrams on the local ethernet. An NEC executable was installed on
all participants and a UDP-sensing Perl daemon script cought the model
segments and fired off the resident NEC-4. A central Commander sent and
collected things. I got to two-unit operation before the program
changed so it did not get deployed.

In case you have not found the reference yet to compiling NEC-4 on
Linux, it was posted here by John B. Wood 03/04/04:

> Hello. I ran a thread on this subject a while back. NEC 4.1 can be
> somewhat optimized to run on a Linux box by compiling with g77 as
> follows:
>
> g77 nec41.f -O3 -fno-automatic
>
> where nec41.f is the NEC 4.1 f77 source code file. The default
> executable filename will be nec41.o. The above gave me results
> consistent with those I had obained on an old HPUX workstation. You
> might also try
>
> g77 -O3 -fno-emulate-complex -funroll-loops nec41.f
>
> This version of the compile was published in the Nov. '98 ACES
> newletter but I never could get the executable to run reliably on the
> laptop I was using (Panasonic Toughbook CF-27). Sincerely,
>

I have used the first proceedure to compile NEC-4 on Mac OS X.

Hope this helps, I am shure others are much more up on this than I am.

Darryl Holder

-- 
The NEC-List mailing list
NEC-List_at_robomod.net
http://www.robomod.net/mailman/listinfo/nec-list
Received on Fri Aug 19 2005 - 18:20:07 EDT

This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:45 EDT