[Pw_forum] compliation problem
Paolo Giannozzi
giannozz at democritos.it
Sun Apr 19 20:08:53 CEST 2009
On Apr 18, 2009, at 21:14 , ramesh kumar wrote:
> ...i am not able to find the answer please help me....
please "help yourself". Compilation problems, especially weird
problems like yours,
are often due to something strange in a specific machine. Sometimes
expert eyes
can immediately detect what is wrong, sometimes the origin of the
problem is not
obvious. In the latter case only the owner of the machine can find
out what is wrong
by carefully looking at the error message and by trial and error.
> ./configure
> said success
and nothing else? look for suspicious warnings and messages
> mpif90 -O2 -assume byterecl -nomodule -fpp -D__INTEL -D__FFTW -
> D__USE_INTERNAL_FFTW -D__MPI -D__PARA -I../include -I./ -I../
> Modules -I../iotk/src -I../PW -I../PH -c iotk_base.f90
iotk_base.f90 is compiled...
>
> mpif90 -O2 -assume byterecl -nomodule -fpp -D__INTEL -D__FFTW -
> D__USE_INTERNAL_FFTW -D__MPI -D__PARA -I../include -I./ -I../
> Modules -I../iotk/src -I../PW -I../PH -c iotk_misc_interf.f90
> fortcom: Error: iotk_misc_interf.spp, line 55: Error in opening the
> compiled module file. Check INCLUDE paths. [IOTK_BASE]
...module iotk_base is not found. Are there iotk/src/iotk_base.o and
iotk_base.mod
files (or .d, or .whatever your compiler uses)? If not, there is
something wrong with
your compiler or your mpif90 and you should try to understand why it
doesn't produce
an object file. If yes, you should try to understand why it doesn't
locate a module,
since options -I are correct
Paolo
---
Paolo Giannozzi, Democritos and University of Udine, Italy
More information about the users
mailing list