<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
Hi Yantao,<br>
<br>
Can you make a symlink to the 4.4 version and ./configure with that?<br>
<br>
For example:<br>
<br>
ln -s /usr/bin/gfortran /usr/bin/gfortran-4.4 to make the
link (change /usr/bin/gfortran to wherever the gfortran 4.4 binary
is)<br>
<br>
then configure espresso with<br>
<br>
./configure F90=gfortran-4.4<br>
<br>
I tried it on my computer and it configured ok...I haven't tried
making it yet though.<br>
<br>
All the best,<br>
<br>
Ben<br>
<br>
<blockquote
cite="mid:CA+kOOnsuJ4jH=o4ne1ugGQuM48xazd+wac5+ncDf4isppxsX_g@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Axel,
<div><br>
</div>
<div>Thank you for your reply. But can you be more specific
about how to override the compilers? In the User's Guide, the
most relevant thing I could find was to modify some
environment variables. But in the environment_variables.txt, I
only found something about path setting, wget, parallelism,
and image parallelization, none of which seems to be relevant
to overriding the compilers. </div>
<div><br>
</div>
<div style="">Thanks you, </div>
<div style="">Yantao </div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Tue, May 21, 2013 at 9:53 AM, Axel
Kohlmeyer <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:akohlmey@gmail.com" target="_blank">akohlmey@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<div class="im">On Tue, May 21, 2013 at 6:45 PM, Yantao Wu
<<a moz-do-not-send="true" href="mailto:ywu@g.hmc.edu">ywu@g.hmc.edu</a>>
wrote:<br>
> Dear all,<br>
><br>
> My administrator just installed gfortran44 (version
4.4), which is somewhat<br>
> newer than 4.1.2. However, I don't he removed the
4.1.2 compiler. When I ran<br>
<br>
</div>
it is outdated just as well. gcc-4.7 is current and will
soon be<br>
succeeded by gcc-4.8<br>
<div class="im"><br>
> ./configure, it seemed that QE still recognized the
4.1.2 one instead of the<br>
> 4.4 one. So in the case of two or more fortran
compilers, what should one do<br>
> to make QE realize that the newest version should be
used?<br>
<br>
</div>
follow the installation instructions. they explain how to
override the<br>
compiler.<br>
axel.<br>
<div>
<div class="h5"><br>
<br>
> Thanks for your time,<br>
> Yantao Wu,<br>
> Undergraduate Student<br>
> Physics and Chemistry, HMC'15<br>
><br>
><br>
> On Mon, May 20, 2013 at 9:47 PM, Yantao Wu <<a
moz-do-not-send="true" href="mailto:ywu@g.hmc.edu">ywu@g.hmc.edu</a>>
wrote:<br>
>><br>
>> Thank you very much, Surender. (I want to bake
you cookies! ) I ran<br>
>> ./configure again and it seems that I'm using
gfortran-4.1.2 as well.<br>
>><br>
>> Yantao<br>
>><br>
>><br>
>> On Mon, May 20, 2013 at 2:41 PM, Surender <<a
moz-do-not-send="true"
href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
>> wrote:<br>
>>><br>
>>> Hi,<br>
>>> I had a similar problem with GNU Fortran
4.1.2 compiler, and if you are<br>
>>> using gfortran version < 4.5 then most
probably its the compiler<br>
>>> issue.Now<br>
>>> either you can use a newer version gfortran
or compile your code with<br>
>>> Intel non-commercial compilers.<br>
>>><br>
>>> Moreover, you can search pw-forum and may
be you can find a better<br>
>>> answer.<br>
>>><br>
>>> <a moz-do-not-send="true"
href="http://www.democritos.it/cgi-bin/htsearch?words="
target="_blank">http://www.democritos.it/cgi-bin/htsearch?words=</a><br>
>>><br>
>>> Surender<br>
>>> IIT Bombay<br>
>>><br>
>>> > Hi all,<br>
>>> ><br>
>>> > When I ran example01 in PW, the
following error resulted:<br>
>>> ><br>
>>> ><br>
>>> >
########################################################################################################################<br>
>>> > # FROM IOTK LIBRARY, VERSION 1.2.0<br>
>>> > # UNRECOVERABLE ERROR (ierr=1)<br>
>>> > # ERROR IN: iotk_scan_end
(iotk_scan.f90:241)<br>
>>> > # CVS Revision: 1.23<br>
>>> > # foundl<br>
>>> > # ERROR IN: iotk_close_read
(iotk_files.f90:746)<br>
>>> > # CVS Revision: 1.20<br>
>>> ><br>
>>> >
########################################################################################################################<br>
>>> ><br>
>>> > Does anyone know what this is
referring to?<br>
>>> > Thanks.<br>
>>> ><br>
>>> ><br>
>>> > On Mon, May 20, 2013 at 1:04 PM, Paolo
Giannozzi<br>
>>> > <<a moz-do-not-send="true"
href="mailto:paolo.giannozzi@uniud.it">paolo.giannozzi@uniud.it</a>>wrote:<br>
>>> ><br>
>>> >> On Mon, 2013-05-20 at 11:34 -0700,
Yantao Wu wrote:<br>
>>> >><br>
>>> >> > wouldn't this imply an error
in the source files, which I'm sure<br>
>>> >> > most people didn't encounter.
Does anyone know why?<br>
>>> >><br>
>>> >> some compilers are more picky than
others. In this case, I do not see<br>
>>> >> anything wrong in the syntax, so
maybe your compiler has been too<br>
>>> >> picky<br>
>>> >><br>
>>> >> P.<br>
>>> >><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > Thanks<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > On Mon, May 20, 2013 at 10:38
AM, Surender<br>
>>> >> > <<a moz-do-not-send="true"
href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
>>> >> > wrote:<br>
>>> >> > Hi Yantao Wu<br>
>>> >> ><br>
>>> >> > May be you need to
put a space between ENDIF and &<br>
>>> >> > then do make clean
and recompile the code<br>
>>> >> ><br>
>>> >> > Surender<br>
>>> >> > IIT Bombay, India<br>
>>> >> ><br>
>>> >> > > Dear QE users,<br>
>>> >> > ><br>
>>> >> > > Recently I
reinstalled QE-5.0.2 on my computer, but the<br>
>>> >> > following error<br>
>>> >> > > message
resulted:<br>
>>> >> > ><br>
>>> >> > > "<br>
>>> >> > > gfortran -O3 -g
-x f95-cpp-input -D__GFORTRAN -D__STD_F95<br>
>>> >> > -D__FFTW<br>
>>> >> > > -I../include
-I../../iotk/src -I../../Modules -I. -c<br>
>>> >> > exx.f90<br>
>>> >> > > In file
exx.f90:1547<br>
>>> >> > ><br>
>>> >> > >
ENDIF&<br>
>>> >> > >
1<br>
>>> >> > > Error: Expected
terminating name at (1)<br>
>>> >> > > "<br>
>>> >> > ><br>
>>> >> > > Do anyone
recognize this message and suggest anyway to<br>
>>> >> > help?<br>
>>> >> > ><br>
>>> >> > > Thank you very
much.<br>
>>> >> > > Yantao Wu,<br>
>>> >> > > Undergraduate
student<br>
>>> >> > > Physics and
Chemistry, HMC'15<br>
>>> >> ><br>
>>> >> > >
_______________________________________________<br>
>>> >> > > Pw_forum mailing
list<br>
>>> >> > > <a
moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> >> > > <a
moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>> >> ><br>
>>> >> >
_______________________________________________<br>
>>> >> > Pw_forum mailing list<br>
>>> >> > <a
moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> >> > <a
moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>> >> ><br>
>>> >> ><br>
>>> >> >
_______________________________________________<br>
>>> >> > Pw_forum mailing list<br>
>>> >> > <a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> >> > <a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>> >><br>
>>> >> --<br>
>>> >> Paolo Giannozzi, Dept.
Chemistry&Physics&Environment,<br>
>>> >> Univ. Udine, via delle Scienze
208, 33100 Udine, Italy<br>
>>> >> Phone <a moz-do-not-send="true"
href="tel:%2B39-0432-558216" value="+390432558216">+39-0432-558216</a>,
fax <a moz-do-not-send="true"
href="tel:%2B39-0432-558222" value="+390432558222">+39-0432-558222</a><br>
>>> >><br>
>>> >>
_______________________________________________<br>
>>> >> Pw_forum mailing list<br>
>>> >> <a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> >> <a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>> >><br>
>>> >
_______________________________________________<br>
>>> > Pw_forum mailing list<br>
>>> > <a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> > <a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>><br>
>>>
_______________________________________________<br>
>>> Pw_forum mailing list<br>
>>> <a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> <a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Pw_forum mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
> <a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
<br>
<br>
<br>
--<br>
</div>
</div>
Dr. Axel Kohlmeyer <a moz-do-not-send="true"
href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a> <a
moz-do-not-send="true" href="http://goo.gl/1wk0"
target="_blank">http://goo.gl/1wk0</a><br>
International Centre for Theoretical Physics, Trieste.
Italy.<br>
<div class="HOEnZb">
<div class="h5">_______________________________________________<br>
Pw_forum mailing list<br>
<a moz-do-not-send="true"
href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a moz-do-not-send="true"
href="http://pwscf.org/mailman/listinfo/pw_forum"
target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
</div>
</div>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Pw_forum mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a>
<a class="moz-txt-link-freetext" href="http://pwscf.org/mailman/listinfo/pw_forum">http://pwscf.org/mailman/listinfo/pw_forum</a></pre>
</blockquote>
<br>
</body>
</html>