From: lionel@quark.zko.dec.com (Steve Lionel)
Subject: Re: f90 compiler problem
Date: 1996/11/21 [thread overview]
Message-ID: <57204d$o0v$1@nntpd.lkg.dec.com> (raw)
In-Reply-To: 5713uj$4ut@hpg30a.csc.cuhk.edu.hk
In article <5713uj$4ut@hpg30a.csc.cuhk.edu.hk>, liu@liua.chem.cuhk.hk
(Zhifeng Liu) writes:
|>Hi! I am trying to compile a program on an AlphaStation running
|>OSF 2. The Fortran 90 compiler gave me an error message as the
|>following:
|>=============================
|>
|>f90: Error: main.f, line 278: There are too many dummy arguments for a FUNCTION or
|>SUBROUTINE subprogram. The current limit, which is set by the MAX_NUM_ARGS named
|>constant, is 256.
|>
|>===============================
|>
|>Is there a way to reset the value for MAX_NUM_ARGS for the f90 compiler?
|>Thanks for any help.
Sorry, no, this is internal to the compiler and is not changeable (other than
by editing the compiler source.) The message is confusing, I admit.
Few implementations allow more than 256 arguments - you should consider
modifying the code so that fewer arguments are passed. Perhaps you can use
MODULE variables or COMMON or a derived type.
--
Steve Lionel mailto:lionel@quark.zko.dec.com
Fortran Development http://www.digital.com/info/slionel.html
Digital Equipment Corporation
110 Spit Brook Road, ZKO2-3/N30
Nashua, NH 03062-2698 "Free advice is worth every cent"
For information on Digital Fortran, see http://www.digital.com/info/hpc/fortran/
prev parent reply other threads:[~1996-11-21 5:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-11-21 5:00 f90 compiler problem Zhifeng Liu
1996-11-21 5:00 ` Steve Lionel [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox