<div dir="ltr"><div>hi surender,</div><div><br></div><div>on running the configure command it shows the following error:</div><div><br></div><div>[vipin@localhost fftw-3.3.4]$ ./configure --prefix="/home/vipin/fftw" --enable-shared --enable-threads --enable-openmp F77=gfortran CC=gcc FFLAGS=-O3 CFLAGS=-O3</div><div>-bash: ./configure: Permission denied</div><div>[vipin@localhost fftw-3.3.4]$ ./configure</div><div>-bash: ./configure: Permission denied</div><div><br></div><div><br></div><div>can u please help.</div><div><br></div><div><br></div><div>Regards</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><font size="4" color="#0000ff" face="georgia, serif"><b><i><u>Tushar  Gupta.</u></i></b></font></div></div></div>
<br><div class="gmail_quote">On Fri, Feb 12, 2016 at 1:12 AM, Surender <span dir="ltr"><<a href="mailto:surender_kumar@iitb.ac.in" target="_blank">surender_kumar@iitb.ac.in</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
You are right "fftw3.f" doesn't have to be in FFTXLib folder because QE<br>
doesn't provide it. And I think, you have already downloaded the<br>
fftw-3.3.4 package. Now you can try to compile it, follow these steps one<br>
by one<br>
(1) Go to fftw-3.3.4 folder<br>
(2) Let's say, you want to install the libraries in "/home/vipin/fftw"<br>
using GCC compilers, then run (its a single command)<br>
<br>
./configure --prefix="/home/vipin/fftw" --enable-shared --enable-threads<br>
--enable-openmp F77=gfortran CC=gcc FFLAGS=-O3 CFLAGS=-O3<br>
<br>
(3) If above step finishes with out error then run these two commands<br>
<br>
make all<br>
make install<br>
<br>
(4) If everything goes fine you will have your "fftw3.f" file in<br>
"/home/vipin/fftw/include" folder. You will also have to update the<br>
LD_LIBRARY_PATH. Add the following line into your bashrc (a hidden file in<br>
your home folder, it can be listed using "ls -a" command)<br>
<br>
export LD_LIBRARY_PATH="/home/vipin/fftw":${LD_LIBRARY_PATH}<br>
<br>
And run the following command<br>
<br>
. ~/.bashrc<br>
<br>
(5) Now go to your QE directory and follow the steps outlined in my last<br>
email.<br>
<span class="HOEnZb"><font color="#888888"><br>
Surender<br>
</font></span><span class="im HOEnZb"><br>
> hi surender,<br>
> actually FFTXLib is already there below I have list all the tools of my<br>
> espresso library but it does not have that file fftw3.f what should I do<br>
> now?<br>
><br>
><br>
> inspiron@DELL ~<br>
> $ ssh <a href="mailto:vipin@10.111.102.145">vipin@10.111.102.145</a><br>
> <a href="mailto:vipin@10.111.102.145">vipin@10.111.102.145</a>'s password:<br>
> Last login: Thu Feb 11 18:48:39 2016 from 10.111.102.54<br>
> [vipin@localhost ~]$ ls<br>
> Desktop  DFTBP  fftw-3.3.4  Quantum_Espresso<br>
> [vipin@localhost ~]$ cd Quantum_Espresso/<br>
> [vipin@localhost Quantum_Espresso]$ ls<br>
> espresso-5.3.0  espresso-5.3.0.tar.gz<br>
> [vipin@localhost Quantum_Espresso]$ cd espresso-5.3.0<br>
> [vipin@localhost espresso-5.3.0]$ ls<br>
> archive    COUPLE     environment_variables  include   make.sys  PW<br>
> bin        CPV        FFTXlib                install   Modules   README<br>
> clib       dev-tools  flib                   License   PP<br>
> configure  Doc        foo                    Makefile  pseudo<br>
> [vipin@localhost espresso-5.3.0]$<br>
><br>
><br>
</span><div class="HOEnZb"><div class="h5">> *Tushar  Gupta.*<br>
><br>
> On Thu, Feb 11, 2016 at 10:02 PM, Surender <<a href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
> wrote:<br>
><br>
>> Hi,<br>
>> I will suggest you to first ask the system administrator whether he had<br>
>> already installed the FFTW library somewhere? If he hadn't then you can<br>
>> ask him to do the same or you can install it in your home directory (I<br>
>> can<br>
>> help with the installation).<br>
>><br>
>> Surender<br>
>><br>
>> > Thank you so much surender but as I runned the locate fftw.f command<br>
>> it<br>
>> > showed the following response. it is not able to find the concerned<br>
>> > directory.<br>
>> ><br>
>> > [vipin@localhost espresso-5.3.0]$ locate fftw3.f<br>
>> > warning: locate: could not open database: /var/lib/slocate/slocate.db:<br>
>> No<br>
>> > such file or directory<br>
>> > warning: You need to run the 'updatedb' command (as root) to create<br>
>> the<br>
>> > database.<br>
>> > Please have a look at /etc/updatedb.conf to enable the daily cron job.<br>
>> ><br>
>> > Regards:<br>
>> > Tushar<br>
>> ><br>
>> ><br>
>> > *Tushar  Gupta.*<br>
>> ><br>
>> > On Thu, Feb 11, 2016 at 3:47 PM, Surender <<a href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
>> > wrote:<br>
>> ><br>
>> >> Hi<br>
>> >> Even for CentOS the procedure is same, first locate fftw3.f file by<br>
>> >> running<br>
>> >> locate fftw3.f (in terminal)<br>
>> >><br>
>> >> === sample output ====<br>
>> >> /export/apps/fftw3/intel/float/include/fftw3.f<br>
>> >> /export/apps/intel/Compiler/11.1/069/mkl/include/fftw/fftw3.f<br>
>> >> /export/apps/intel/Compiler/11.1/073/mkl/include/fftw/fftw3.f<br>
>> >><br>
>> >> So my fftw3.f is located in /export/apps/fftw3/intel/float/include<br>
>> (if<br>
>> >> available, you can try the intel version as well), now change your<br>
>> >> IFLAGS<br>
>> >> in make.sys file and it should look like<br>
>> >><br>
>> >> IFLAGS         = -I../include<br>
>> -I/export/apps/fftw3/intel/float/include<br>
>> >><br>
>> >> And if it doesn't work the copy and paste the fftw3.f file in FFTXlib<br>
>> >> folder in espresso-5.3.0. If you can't locate fftw3.f then you will<br>
>> have<br>
>> >> to ask your sysadmin either to locate or install the same.<br>
>> >><br>
>> >> Surender Kumar<br>
>> >><br>
>> >> PS : Both options worked for me (Cluster with CentOS release 5.4)<br>
>> >><br>
>> >> > Hi surender<br>
>> >> > my OS is centOS.<br>
>> >> ><br>
>> >> > Thanks.<br>
>> >> > Tushar<br>
>> >> ><br>
>> >> > *Tushar  Gupta.*<br>
>> >> ><br>
>> >> > On Thu, Feb 11, 2016 at 2:19 AM, Surender<br>
>> <<a href="mailto:surender_kumar@iitb.ac.in">surender_kumar@iitb.ac.in</a>><br>
>> >> > wrote:<br>
>> >> ><br>
>> >> >> Hi Tushar,<br>
>> >> >><br>
>> >> >> You didn't mentions your OS so I assume its Ubuntu and you have<br>
>> >> already<br>
>> >> >> installed "libfftw3-dev" package. Now you can try the following,<br>
>> >> first<br>
>> >> >> find out the location of "fftw3.f" and then add it to your IFLAGS<br>
>> in<br>
>> >> >> "make.sys" file. For Ubuntu 12.04 LTS this file is located in<br>
>> >> >> "/usr/include/". After adding to IFLAGS, it should look like<br>
>> >> >><br>
>> >> >> IFLAGS         = -I../include  -I/usr/include/<br>
>> >> >><br>
>> >> >> If above doesn't work, then try to copy the file into FFTXlib<br>
>> folder<br>
>> >> >> located in your main QE directory and have look at the discussion<br>
>> >> >> <a href="http://www.mail-archive.com/pw_forum%40pwscf.org/msg27600.html" rel="noreferrer" target="_blank">http://www.mail-archive.com/pw_forum%40pwscf.org/msg27600.html</a><br>
>> >> >><br>
>> >> >> HTH<br>
>> >> >> Surender Kumar<br>
>> >> >><br>
>> >> >> > Dear all,<br>
>> >> >> ><br>
>> >> >> > I am a novice to this field of computational studies and i am<br>
>> >> trying<br>
>> >> >> to<br>
>> >> >> > install quantum espresso version 5.3.0 in linux so as I run the<br>
>> >> >> > configuration file I am getting an error which says unable to<br>
>> find<br>
>> >> a<br>
>> >> >> > fftw3.f file. I am unable to figure out what to do next.<br>
>> >> >> > I will be even more grateful if any body could suggest me a good<br>
>> >> >> reference<br>
>> >> >> > so that I can clear my basics in this field of computational<br>
>> >> studies<br>
>> >> >> > particularly with this quantum espresso.<br>
>> >> >> > Please try to respond in a simplest manner possible.<br>
>> >> >> ><br>
>> >> >> ><br>
>> >> >> > Thanks and Regards:<br>
>> >> >> > *Tushar  Gupta.*<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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" 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" rel="noreferrer" target="_blank">http://pwscf.org/mailman/listinfo/pw_forum</a><br>
</div></div></blockquote></div><br></div>