From: Valery P. <pi...@is...> - 2006-05-15 10:58:42
|
> Good. That makes four (actually probably five) platforms where gfortran is > working. I've successfully compiled plplot with f95 bindings on kubuntu-dapper which has gfortran-4.0.1 currently. > > The common blocks is obsolete in F90-95. I would recommend to use > > "USE" . > > Noted, but not implemented yet. I would like to change this whole area of > the API to use proper callbacks (where the API of the function or > subroutine name being passed as an argument of the library routine is fully > specified). Is this C-like approach available in fortran 95 (perhaps with > the interface statement)? This is a kind of hard question to me because I've never used interface statements in my practice. > > > This experiment was on altlinux where we have gfortran-4.1. I shall > > check my dapper part this afternoon. > > > > For intel fortran I've get the linkage error: > > /bin/sh ../../libtool --mode=link ifort -I. -O3 -o > > .... > > I don't want to discourage you; your experiments with ifort may eventually > pay off. > However, from what I have heard from the libtool experts, we are > limited to just gfortran for now because libtool is not yet ready for full > fortran 9x support. Once libtool is improved in this respect (hopefully > within a few months from now), then the plplot fortran 95 interface should > be able to support commercial fortran compilers such as ifort, pgf90, and > the absoft fortran compiler. Yes that's a way, best regards Valery |