Dear gpc list,
I have tried searching through the archives and my conclusion is that I will have difficulty linking Fortran into my pascal programs on Linux/Intel. However, any clues would be most welcome.
This is my situation:
I am using the current linux gpc rpms on intel systems (RedHat 6.1) as well as using it on an Alpha. The main thing I'm needing to do with my (rather old) pascal programs involves matrix diagonalization, which is blindingly fast on Alpha with the optimized BLAS and Lapack.
On the Alpha (running True64 Unix, i.e. Digital (AKA Compaq :-()) I can link the Fortran routines just fine.
However, on intel I can't link the gnu fortran libraries successfully, presumably because gpc is based on one version of gcc and our current g77 is based on another.
I don't particularly care about efficiency (the Alpha code is 10x faster due to the optimized matrix libraries) but it would be very useful to be able to develop and check the programs on my Linux boxes. So any clues as to how to just make it run would be very much appreciated. Since the primary platform is the Alpha Lapack/BLAS the obvious alternative of using the C version of Lapack is not really a solution.
Hello,
Mike Reid wrote:
However, on intel I can't link the gnu fortran libraries successfully, presumably because gpc is based on one version of gcc and our current g77 is based on another.
The best solution is to compile GPC for your system using a current version of GPC and the same version of GCC your G77 is based on.
While you are on it, it is easy to compile the most current G77 along with GPC. :-)
Please see http://home.pages.de/~gnu-pascal/download.html for how to get a current source snapshot of GPC. The installation instructions coming with GPC will also cover installation of G77 when you replace "--enable-languages=pascal" with "--enable-languages=pascal,f77".
Hope this helps,
Peter