LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Kwan Wing Keung (hcxckwk_at_[hidden])
Date: 2005-02-27 23:06:57


Hello,

It looks like a naive question but I got stuck.

We previously (1.5 years before) built the lam 6.5 and did not got any
problem.

We attempted to build the update lam-7.1.1 but failed upon size checking
on various FORTRAN data types.

We examined the source code within "configure" (a 45692 line monster!)
and located below the corresponding code.

cat > conftestf.f <<EOF
       program fsize
       external SIZE
       INTEGER x(2)
       call SIZE(x(1),x(2))
       end

"configure" was aborted as the subroutine SIZE is un-resolved.

We went back to the system level (standard Red Hat 9.0 linux) and
attempted to test compiling this segment of code, but again failed both
in using PGI Fortran and Intel Fortran, again due to the unresolved
subroutine SIZE.

We checked again within the source code of "configure", but we
could not locate the source of this subroutine SIZE. So if this
subroutine SIZE does not come along with "configure" and also NOT
within PGI/Intel Fortran compiler, then where will it come from?
>From the C or C++ compiler?

Although we can now configure and make the lam-7.1.1 by
temporarily bypassing this Fortran building portion upon specifying
the flag "--without-fc", it seems many previous questions to this
forum are also related to this SIZE problem upon building the
Fortran module.

Thanks

W.K. Kwan
Computer Centre
University of Hong Kong