[Pw_forum] Fatal Error: File 'mpif.h' not found.

Marcel Mohr marcel at physik.tu-berlin.de
Wed Apr 25 10:33:04 CEST 2007


Dear Hongyi

i forget one little thing in the top output, you have too look for this 
line

Tasks:  69 total,   3 running,  66 sleeping,   0 stopped,   0 zombie
Cpu(s): 49.0% us,  1.1% sy,  0.0% ni, 49.9% id,  0.0% wa,  0.0% hi,  0.0% si
^^^^^^^^^^^^^^^^^
Mem:   8311244k total,  1326936k used,  6984308k free,     8156k buffers
Swap:        0k total,        0k used,        0k free,  1061072k cached

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
  8367 marcel    25   0  2612 1560  708 R 99.9  0.0   1:20.28 bc
  3253 marcel    25   0  220m 209m 2968 R 99.9  2.6   3682:20 pw.x

so here we have 4 cpus in one computer!

Cheers Marcel


On Wed, 25 Apr 2007, lan haiping wrote:

> Dear Hongyi,
>
> I thought your problem is related with FC setting..
> For my experience, when intalling mpich package, we should set FC=ifort or
> FC=pgf90 depending on your compilor...
>
> Regards,
> H.P
>
>
> On 4/25/07, Hongyi Zhao <hongyi.zhao at gmail.com> wrote:
>> 
>> Hi all,
>> 
>> Now, I download the espresso-3.2.tar.gz and its patch.  Tho I can
>> successfully configure it, the make command will give me the following
>> error messages:
>> 
>> -------------
>> Fatal Error: File 'mpif.h' not found
>> make[2]: *** [iotk_error.o] error 1
>> make[2]: Leaving directory `/home/hongyi/Desktop/espresso-3.2/iotk/src'
>> make[1]: *** [libiotk.a] error 2
>> make[1]: Leaving directory `/home/hongyi/Desktop/espresso-3.2/iotk'
>> make: *** [libiotk] error 2
>> -------------
>> 
>> Would anyone give some hints?
>> 
>> P.S.  My operating system is Debian Sid with gcc 4.1.2 20061115 and g95.
>> 
>> Thanks in advance.
>> ---
>> Hongyi Zhao
>> GnuPG DSA: 0xD108493B
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://www.democritos.it/mailman/listinfo/pw_forum
>> 
>
>
>
> -- 
> Hai-Ping Lan
> Department of Electronics ,
> Peking University , Bejing, 100871
>




More information about the users mailing list