Home > Archive > Fortran > September 2005 > [newbie,gfortran] Error: Symbol 'aint' at (1) has no IMPLICIT type
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
[newbie,gfortran] Error: Symbol 'aint' at (1) has no IMPLICIT type
|
|
| Thomas Baruchel 2005-09-20, 7:57 am |
| Hi,
I follow the advice of several people concerning a previous question,
and decided to switch from Fortran 77 to Fortran 90/95. I have on my
system gfortran40 which is a part of gcc. I first decided to compile
several librairies from Bailey that I had heard about but couldn't
use as long as I would use Fortran 77.
For instance, I downloaded
http://crd.lbl.gov/~dhbailey/mpdist/ddfun90.tar.gz
and tried
gfortran40 -ffree-form -c ddfun90.f ddmod90.f second.f
But I get :
> In file ddmod90.f:2790
>
> alpha = aint (con1 * ndp + 1.d0)
> 1
> Error: Symbol 'aint' at (1) has no IMPLICIT type
> In file ddmod90.f:2770
>
> elseif (t == anint (t)) then
> 1
> Error: Symbol 'anint' at (1) has no IMPLICIT type
> In file ddmod90.f:2763
>
> ddpicx = ddpi ()
> 1
> Error: Symbol 'ddpi' at (1) has no IMPLICIT type
> In file ddmod90.f:2831
>
> z = sqrt (ddpicx * sum1 / (t * sin (ddpicx * t) * sum2))
> 1
> Error: Symbol 'sin' at (1) has no IMPLICIT type
>
> [...]
I then tried to compile
http://crd.lbl.gov/~dhbailey/mpdist/mpfun90.tar.gz
and (after having fixed the Makefile :
> ###### Fortran Test Programs ######
> F90 = gfortran40
>
> #F90FLAGS = -O3 -qnoescape -qstrict
> F90FLAGS = -O3 -ffree-form
I get similar error messages ; I don't understand what I have to do.
Regards,
--
Thomas Baruchel
write to baruchel at the host called bluebottle dot com
écrire à baruchel chez l'hôte nommé bluebottle point com
| |
| Gordon Sande 2005-09-20, 7:57 am |
| On 2005-09-20 08:16:46 -0300, Thomas Baruchel <baruchel@127.0.0.1> said:
> Hi,
>
> I follow the advice of several people concerning a previous question,
> and decided to switch from Fortran 77 to Fortran 90/95. I have on my
> system gfortran40 which is a part of gcc. I first decided to compile
> several librairies from Bailey that I had heard about but couldn't
> use as long as I would use Fortran 77.
>
> For instance, I downloaded http://crd.lbl.gov/~dhbailey/mpdist/ddfun90.tar.gz
> and tried gfortran40 -ffree-form -c ddfun90.f ddmod90.f second.f
>
> But I get :
>
>
> I then tried to compile
> http://crd.lbl.gov/~dhbailey/mpdist/mpfun90.tar.gz
> and (after having fixed the Makefile :
>
> I get similar error messages ; I don't understand what I have to do.
You have to stop living dangerously!
gfortran is alpha software. (Either report the bug, except it is probably
already fixed in their current version, or hope someone else will if it
has not been reported. My guess is that AINT is missing from the intrinsics
list. I believe that some time ago they did an intrinsics cleanup so the
missing ones will have have been found.)
As a minimum you need the current version of gfortran.
Better would be to get a compiler that is not still being debugged.
> Regards,
| |
|
| > gfortran40 -ffree-form -c ddfun90.f ddmod90.f second.f[color=darkred]
>
> But I get :
>
You will need to use the latest version of the compiler. Regular binaries
are available for most platforms here:
http://gcc.gnu.org/wiki/GFortranBinaries
gfortran is a work-in-progress, and the versions distributed with most OS
is a well behind the current state.
--
FX
| |
| Steven G. Kargl 2005-09-20, 7:02 pm |
| In article <432fef9e$0$31676$626a14ce@news.free.fr>,
Thomas Baruchel <baruchel@127.0.0.1> writes:
> I follow the advice of several people concerning a previous question,
> and decided to switch from Fortran 77 to Fortran 90/95. I have on my
> system gfortran40 which is a part of gcc. I first decided to compile
> several librairies from Bailey that I had heard about but couldn't
> use as long as I would use Fortran 77.
>
> For instance, I downloaded
> http://crd.lbl.gov/~dhbailey/mpdist/ddfun90.tar.gz
> and tried
> gfortran40 -ffree-form -c ddfun90.f ddmod90.f second.f
This compiles fine with
troutmask:kargl[31] gfc --version
GNU Fortran 95 (GCC 4.0.2 20050825 (prerelease))
Note gcc-4.0.2 is scheduled to be released in the
next few days. You probably want to upgrade to at
least this release.
mpfun90 does not compile due to an internal compiler error.
I haven't tried to reduce this to a test case, but I suspect
that is is related to mpfun90 heavy use of MODULE.
--
Steve
http://troutmask.apl.washington.edu/~kargl/
|
|
|
|
|