<div dir="ltr">Thank you, Ben, Surender, and Axel. Your suggestions are of much help to me. It seems gfortran44 works for me now, though it may produce errors in the future, and I will keep this possibility in mind. <div><br>
</div><div style>I talked to my professor about installing a newer version of gfortran, and just for your curiosity, the reason that that was difficult for us was <span style="font-family:arial,sans-serif;font-size:13px">"...due to the old(ish) linux distro on tera..."</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Yours, </span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Yantao, </span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px">Undergraduate Student, </span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Department of Physics and Chemistry, </span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px">HMC'15 </span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 21, 2013 at 11:19 AM, Ben Palmer <span dir="ltr"><<a href="mailto:benpalmer1983@gmail.com" target="_blank">benpalmer1983@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ah, I have to admit I didn't read their information closely :) getting<br>
the right version of gfortran to run seems to be the way then.<br>
<div class="HOEnZb"><div class="h5"><br>
> On Tue, May 21, 2013 at 8:07 PM, Ben Palmer<<a href="mailto:benpalmer1983@gmail.com">benpalmer1983@gmail.com</a>>  wrote:<br>
>> Hi Yantao,<br>
>><br>
>> Also you may qualify for the intel compiler:<br>
>><br>
>> <a href="http://software.intel.com/en-us/non-commercial-software-development" target="_blank">http://software.intel.com/en-us/non-commercial-software-development</a><br>
><br>
> *very* unlikely. the intel web site explains in great detail that<br>
> using the non-commercial version for research work is not allowed. you<br>
> need an academic license. the fact that Q-E is open source doesn't<br>
> change a thing about this.<br>
><br>
> you qualify, if you use the non-commercial license for *developing*<br>
> non-commercial software *in your free time*. that is it.<br>
><br>
> axel.<br>
><br>
><br>
>> Ben<br>
>><br>
>> Hi Axel,<br>
>><br>
>> Thank you for your reply. But can you be more specific about how to override<br>
>> the compilers? In the User's Guide, the most relevant thing I could find was<br>
>> to modify some environment variables. But in the environment_variables.txt,<br>
>> I only found something about path setting, wget, parallelism, and image<br>
>> parallelization, none of which seems to be relevant to overriding the<br>
>> compilers.<br>
>><br>
>> Thanks you,<br>
>> Yantao<br>
>><br>
>><br>
>> On Tue, May 21, 2013 at 9:53 AM, Axel Kohlmeyer<<a href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a>>  wrote:<br>
>>> On Tue, May 21, 2013 at 6:45 PM, Yantao Wu<<a 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<br>
>>>> somewhat<br>
>>>> newer than 4.1.2. However, I don't he removed the 4.1.2 compiler. When I<br>
>>>> ran<br>
>>> it is outdated just as well. gcc-4.7 is current and will soon be<br>
>>> succeeded by gcc-4.8<br>
>>><br>
>>>> ./configure, it seemed that QE still recognized the 4.1.2 one instead of<br>
>>>> the<br>
>>>> 4.4 one. So in the case of two or more fortran compilers, what should<br>
>>>> one do<br>
>>>> to make QE realize that the newest version should be used?<br>
>>> follow the installation instructions. they explain how to override the<br>
>>> compiler.<br>
>>> axel.<br>
>>><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 href="mailto:ywu@g.hmc.edu">ywu@g.hmc.edu</a>>  wrote:<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 href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
>>>>> wrote:<br>
>>>>>> Hi,<br>
>>>>>> I had a similar problem with GNU Fortran 4.1.2 compiler, and if you<br>
>>>>>> 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 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>
>>>>>>> ########################################################################################################################<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>
>>>>>>><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 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>
>>>>>>>> some compilers are more picky than others. In this case, I do not<br>
>>>>>>>> see<br>
>>>>>>>> anything wrong in the syntax, so maybe your compiler has been too<br>
>>>>>>>> picky<br>
>>>>>>>><br>
>>>>>>>> P.<br>
>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>> Thanks<br>
>>>>>>>>><br>
>>>>>>>>><br>
>>>>>>>>> On Mon, May 20, 2013 at 10:38 AM, Surender<br>
>>>>>>>>> <<a 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<br>
>>>>>>>>> -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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>>>>>          >  <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>>>>>          <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>>>>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>>>>>>> --<br>
>>>>>>>> Paolo Giannozzi, Dept. Chemistry&Physics&Environment,<br>
>>>>>>>> Univ. Udine, via delle Scienze 208, 33100 Udine, Italy<br>
>>>>>>>> Phone <a href="tel:%2B39-0432-558216" value="+390432558216">+39-0432-558216</a>, fax <a href="tel:%2B39-0432-558222" value="+390432558222">+39-0432-558222</a><br>
>>>>>>>><br>
>>>>>>>> _______________________________________________<br>
>>>>>>>> Pw_forum mailing list<br>
>>>>>>>> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>>>> <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>>>>> _______________________________________________<br>
>>>>>> Pw_forum mailing list<br>
>>>>>> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>>>> <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>>><br>
>>><br>
>>> --<br>
>>> Dr. Axel Kohlmeyer  <a href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a>  <a href="http://goo.gl/1wk0" target="_blank">http://goo.gl/1wk0</a><br>
>>> International Centre for Theoretical Physics, Trieste. Italy.<br>
>>> _______________________________________________<br>
>>> Pw_forum mailing list<br>
>>> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>>> <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Pw_forum mailing list<br>
>> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
>> <a href="http://pwscf.org/mailman/listinfo/pw_forum" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
><br>
><br>
> --<br>
> Dr. Axel Kohlmeyer  <a href="mailto:akohlmey@gmail.com">akohlmey@gmail.com</a>  <a href="http://goo.gl/1wk0" target="_blank">http://goo.gl/1wk0</a><br>
> International Centre for Theoretical Physics, Trieste. Italy.<br>
> _______________________________________________<br>
> Pw_forum mailing list<br>
> <a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
> <a 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 href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a 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>