forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: "Jorissen Kevin" <Kevin.Jorissen@ua.ac.be>
- To: <forum@abinit.org>
- Subject: RE: [abinit-forum] Installation_problem
- Date: Thu, 16 Dec 2004 17:10:40 +0100
The ifort '-c' option sets the runtime behaviour of the code.
In particular, it will crash when array bounds are exceeded, ambiguous
allocations occur, subroutines are called with arguments of the wrong type
... and when it meets undeclared variables.
Fortran allows (unfortunately) implicit type declaration. If the authors of
the code have relied on this feature, then you must compile without the -c
flag.
You can replace it by separate flags for array bounds excession etc. so that
you don't lose all of its functionality.
See your ifort manual for more details
Kind regards,
Kevin Jorissen
EMAT - Electron Microscopy for Materials Science
(http://webhost.ua.ac.be/emat/)
Dept. of Physics
UA - Universiteit Antwerpen
Groenenborgerlaan 171
B-2020 Antwerpen
Belgium
tel +32 3 2653249
fax + 32 3 2653257
e-mail kevin.jorissen@ua.ac.be
________________________________
Van: Reuti [mailto:reuti@staff.uni-marburg.de]
Verzonden: do 16-12-2004 15:57
Aan: forum@abinit.org; bandri@tu.koszalin.pl
Onderwerp: Re: [abinit-forum] Installation_problem
Hi, I compiled the latest version of ABINIT v4.4 on an Athlon XP with ifort
version 8.1 without any problems, after just adjusting some lines in the
pointed to makefile_macros according to my installtion of the compilers. Are
you getting the same errors with v4.4? - Reuti
Quoting bandri@tu.koszalin.pl:
> Dear ABINIT Users,
> My PC (machine) is i686. And I do't know how to do the proper changes
> of the configuration files of ABINIT v4.2 to execute successful compilation
> of
> the code.
>
> So, after first compilation of the initial code I have obtained the
> following communication:
>
> /opt/intel_fc_80/bin/ifort -FR -c herald_cpp.f
> fortcom: Error: herald_cpp.f, line 61: This name does not have a type,
> and must
> have an explicit type. [HOST]
> &HOST,' computer)'
> -^
> compilation aborted for herald_cpp.f (code 1)
> make[2]: *** [herald.o] Error 1
>
> Then, I have added the following two lines (95,96) into the 'herald.f'
> file:
> #elif defined i686
> #define HOST 'i686'
>
> After the next compilation I have obtained the following communication:
> rm -f timein_cpp.f
> /usr/bin/cpp -C -Di686 -P timein.f > timein_cpp.f
> /opt/intel_fc_80/bin/ifort -FR -c timein_cpp.f
> fortcom: Error: timein_cpp.f, line 92: Syntax error, found IDENTIFIER
> 'FIND' whe
> n expecting one of: ( : % . = => PLEASE FIND TIMER FOR THIS MACHINE
> --------^
> compilation aborted for timein_cpp.f (code 1)
> make[2]: *** [timein.o] Error 1
>
> What I have to do?
> Please, help me to insert proper changes into the compilation scripts.
> Thank you in advance for your reply.
>
> Best regards,
> Bohdan Andriyevsky
>
<<winmail.dat>>
- RE: [abinit-forum] Installation_problem, Jorissen Kevin, 12/16/2004
- RE: [abinit-forum] Installation_problem, verstraete, 12/16/2004
Archive powered by MHonArc 2.6.16.