[Pw_forum] compilation error

Prasenjit Ghosh prasenjit.jnc at gmail.com
Thu Dec 14 16:14:37 CET 2006


when u do ./configure, it should be identified. If not in the make.sys
file, which is in the main directory ($espresso-ver).
The flags which u need to change are:F90/MPIF90 and F77/MPIF77

Hope this helps.
Prasenjit.



On 12/14/06, Srijan Kumar Saha <srijan.india at gmail.com> wrote:
>
>
>
>    Dear Sir,
>
> >>>>>>>>>mpif90 -O2 -tpp6 -assume byterecl -nomodule -fpp -D__INTEL
> > -D__FFTW
> > > -D__USE_INTERNAL_FFTW -I../include -lfftw -I./  -I../Modules  -I../
> > > iotk/src -I../PW  -I../PH  -I../CPV -c iotk_base.f90
> > > /hpc/mpich/bin/mpif90: line 332: eval: -O: invalid option
> > > eval: usage: eval [arg ...]
> > >
> > > What does the above error mean?
> >
> > it means that your mpif90 script is broken
> >
> > >  How to solve this problem?
> >
> > >>>>>>>>>>>>replace your mpif90 script with one that works
>
>
>
>
>   The script that works in my system is  /hpc/mpich/bin/mpif90.
>
>   I don't have the script  /opt/mpich/intel/bin/mpif90 which works very
> well
>   in my friend's system..
>
>   But I did not understand that in which file of esspresso, I have to
> replace the /hpc/mpich/bin/mpif90  script?
>
>
>   With best regards,
>   Srijan
>



-- 
PRASENJIT GHOSH,
Ph. D STUDENT,
THEORETICAL SCIENCES UNIT,
JNCASR,
BANGALORE-560064,
INDIA.

PHONE:
OFFICE : +91-80-22082835/34
MOBILE:  +91-9880519401
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20061214/47dce1ae/attachment.html>


More information about the users mailing list