Search the web
Sign In
New User? Sign Up
Fortran · Fortran Q/A's, info, lib and fans
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
compiling error in solaris   Message List  
Reply | Forward Message #420 of 509 |
Re: compiling error in solaris

--- In fortran@yahoogroups.com, "dlyzxl" <dlyzxl@y...> wrote:
> Dear friends:
>
> I am trying to compile downloaded mopac7 source code (many files)
in
> Sparc solaris system. Tons of errors come up. A little beginning is
> copied directly.
>
> Can any one suggest me how so many errors are caused? by system? by
> compiler? etc.......
>

There are two problems with the example code, but these are
probably only the tip of the iceberg.

i. The $ format descriptor means write the line without a newline
(Carriage return, linefeed etc) at the end. It is non-
standard, but is supported by most Fortran systems. Most (not
all) of those do not require a comma to separate the $ from
the next token. Your Solaris compiler either doesn;t accept $
(there is an alternative and standard mechanism in Fortran 90)
or requires the comma.

ii. The Fortran standard requires that a COMMON block (except the
un-named common) is the same size wherever it is referenced.
Many Fortran compilers do not impose this restriction. Most
Unix compilers do. Yours does.

The underlying problem is that the code was written for a fairly
permissive system like VMS or CVF, and won't run on a strict Fortran
90 or Fortran 77 system. We have a tool, WinFPT (See
http://www.simcon.uk.com) which will convert the code. Please
contact us if you would like to use it.

Best wishes, and good luck!

John.
john_collins@...









Fri Jun 10, 2005 7:45 am

jcollinssimcon
Offline Offline
Send Email Send Email

Forward
Message #420 of 509 |
Expand Messages Author Sort by Date

Dear friends: I am trying to compile downloaded mopac7 source code (many files) in Sparc solaris system. Tons of errors come up. A little beginning is copied...
dlyzxl
Offline Send Email
Jun 9, 2005
3:51 pm

... in ... There are two problems with the example code, but these are probably only the tip of the iceberg. i. The $ format descriptor means write the line...
jcollinssimcon
Offline Send Email
Jun 13, 2005
3:11 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help