Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Old October 24th 06, 08:01 PM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Oct 2006
Posts: 1
Default NEC-1.2 compile error with g77 FORTRAN

I downloaded the NEC source code from http://www.qsl.net/m5aiq/nec.html

My compiler is GNU FORTRAN (g77).

The compile error is: "Reference to intrinsic function 'SECNDS' as if
it were a subroutine at (^)"

My FORTRAN is a bit rusty, before I go climb that hill, can a wise old
coder offer a fix?

  #2   Report Post  
Old October 24th 06, 09:23 PM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 112
Default NEC-1.2 compile error with g77 FORTRAN

In message om,
WaveMaker writes
I downloaded the NEC source code from http://www.qsl.net/m5aiq/nec.html

My compiler is GNU FORTRAN (g77).

The compile error is: "Reference to intrinsic function 'SECNDS' as if
it were a subroutine at (^)"

My FORTRAN is a bit rusty, before I go climb that hill, can a wise old
coder offer a fix?

It's used to work out execution time

There is a call to a subroutine SECNDS . SECNDS is a built in function
in gnu FORTRAN that interrogates the computer clock

http://gcc.gnu.org/onlinedocs/gcc-4....an/SECNDS.html

remove the "CALL" and it should work


Brian GM4DIJ
--
Brian Howie
  #3   Report Post  
Old October 24th 06, 09:37 PM posted to rec.radio.amateur.antenna
external usenet poster
 
First recorded activity by RadioBanter: Jul 2006
Posts: 7
Default NEC-1.2 compile error with g77 FORTRAN

WaveMaker schreef:

I downloaded the NEC source code from http://www.qsl.net/m5aiq/nec.html

My compiler is GNU FORTRAN (g77).

The compile error is: "Reference to intrinsic function 'SECNDS' as if
it were a subroutine at (^)"

My FORTRAN is a bit rusty, before I go climb that hill, can a wise old
coder offer a fix?


You could download my slightly modiefied Nec2 source code at
http://home.ict.nl/~arivoors/Nec2dXS_src.zip

I once encountered similar problems. You could compare both sources to
see what I changed to overcome the error message.

Arie.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
NEC2 translation to C Neoklis Antenna 19 February 6th 04 11:17 AM


All times are GMT +1. The time now is 12:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 RadioBanter.
The comments are property of their posters.
 

About Us

"It's about Radio"

 

Copyright © 2017