We have fixed a lot of bugs in the area of modules and dbx for the new
release which we have re-branded as Forte(tm) Developer 6 (think Sun
WorkShop 6). You can download the software at http://www.sun.com/forte/
and try it for free for 30 days. Sun has also announced a very
aggressive program for qualified educational institutions to obtain the
this software.
Chuck
> I've found that dbx won't 'see' variables which are
> within a module. If I run the program shown below:
>
> MODULE hi
> real,allocatable::a(:)
> END MODULE hi
>
> PROGRAM test
>
> USE hi
> IMPLICIT none
> INTEGER b
>
> b=2
> ALLOCATE(a(2))
> a=(/1,2/)
> WRITE(*,*)a
>
> END PROGRAM test
>
> through dbx and ask it to print the value of a, I get:
>
> dbx: "a" is not defined in the scope `test`test.f90`MAIN`
>
> Whereas, it can see b just fine.
>
> Any ideas? There are about 3 of here who are stumped on this. I'm
> using
> dbx with Sun WorkShop 5.0 release. Thanks a lot for your time,
> Rowena
>
> --
> _________________________________
> Rowena B. Lohman
> Division of Geological and Planetary Sciences
> MSC 100-23
> California Institute of Technology
> 626-395-6982
>
>
>
Chuck
--
Chuck Fisher
Fortran/HPC Product Manager, Forte Tools
Sun Microsystems, Inc.
901 San Antonio Rd., UMPK16-302, Palo Alto, CA 94303
Voice: +1-650-786-9317 Fax: 1+650-968-6396 [log in to unmask]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|