That works too, but i still get an error at the end of my nec output
that i dont get when i use the dos version. Anyone know whats wrong
or have any ideas?
***** CARD ERROR - INVALID NUMBER AT INTEGER POSITION 1
***** TEXT --> =°?$ÛÉ LINEAR ` o?Ë` o?Ë` o?Ë`@V`@V`
http://spawn.signull.com/~mikes/nec2/solaris/test.out
-Mike Spenard
> mike,
>
> try...
>
> g77 -O4 -Wno-globals nec2dx.f
>
> when i last tried compiling as you ahve it below the compiler finished
> but generated warnings. the man/info pages for the gnu tools are
> helpful when you have warnings to work with... you might also try
> using -O5 or 6 instead jsut to see if it speeds things up (g77 should
> support this...). i havent done any numerical validation of the gcc
> executables. i assume others have done such, but maybe not...
>
>
> chris
>
>
> to get it working on solaris. The fortran code.
> I have the C port and i cant get it to compile with gcc. So im
> sticking
> with the fortran code for now.
> Ive had a few problems.. i dont know fortran, im fluent with C
> which is why i wanted a C port..anyway..
>
> I dont have f77, but g77. The compile instructions
> say to do "f77 -fast -O4 -parallel nec2dx.f"
> g77 doesnt support -fast and -parrallel arguments, are
> there equivalent arguments for g77?
>
> It does compile without those arguments, but when i run it it
> processes
> my .nec file, but at the very end i get..
>
> ***** CARD ERROR - INVALID NUMBER AT INTEGER POSITION 1
> ***** TEXT --> =°^X$ÛÉ LINEAR `
>
> my output file can be found here
> http://spawn.signull.com/~mikes/nec2/solaris/test.out
>
> and the rest here..
> http://spawn.signull.com/~mikes/nec2/solaris/
>
>
> -Mike
>
>
> > It's been (roughly) ported to C, but I have no idea of the quality
> or
> > fidelity. I would imagine a better strategy would be to find the
> FORTRAN
> > version compiled for Linux. There are a bunch of other variants it
> has
> been
> > compiled for on the various archive sites.
> >
> > As far as Beowulf and clusters with NEC, it's been done quite a lot.
> Your
> > real question is whether you want to do the matrix math on the
> cluster
> (i.e.
> > one problem, divided up among processors), in which case you need to
> track
> > down one of the modified versions that uses PVM or MPI matrix math
> > libraries. Or, the alternate strategy, running a lot of parallel
> copies
> > for, e.g. genetic algorithms, systematic sensitivity analysis, etc.,
> in
> > which case it's an embarrassingly parallel problem and some scripts
> will
> do
> > very nicely, along with some sort of parser to scatter the input
> files and
> > gather the output files.
> >
> > ----- Original Message -----
> > From: "Mike Spenard" <mikes_at_signull.com>
> > To: <nec-list_at_gweep.ca>
> > Sent: Friday, December 27, 2002 6:57 PM
> > Subject: NEC-LIST: Unix NEC or C port?
> >
> >
> > > Has NEC been ported to a Unix variant or to C?
> > > Being stuck in dos mode is a drag, i would like
> > > to be able to run NEC on a beowolf cluster to
> > > do some more sophisticated modeling.
> > >
> > > Mike Spenard
> > > --
> > > The NEC-List mailing list <nec-list_at_gweep.ca>
> > > http://www.gweep.ca/mailman/listinfo.cgi/nec-list
> > --
> > The NEC-List mailing list <nec-list_at_gweep.ca>
> > http://www.gweep.ca/mailman/listinfo.cgi/nec-list
> >
>
>
-- The NEC-List mailing list <nec-list_at_gweep.ca> http://www.gweep.ca/mailman/listinfo.cgi/nec-listReceived on Wed Jan 08 2003 - 22:01:18 EST
This archive was generated by hypermail 2.2.0 : Sat Oct 02 2010 - 00:10:44 EDT