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

Marcel Mohr marcel at physik.tu-berlin.de
Wed Apr 25 11:34:02 CEST 2007


It just calculates the faculty of 5000000 to keep the processor busy. So 
you can estimate the number of processor (see my mail before).
Just type 'bc' in a shell and copy the lines below.

>> A small calculation intensive task for the linux calculator "bc"
>>
>> -----
>> $ bc
>> define fac (x)
>> {
>>         res = 1
>>         while (x > 1)
>>         {
>>                 res *=x;
>>                 x -= 1;
>>         }
>>         return res;
>> }
>> fac (5000000)
>> ------
>
> Some hints on performing the above codes, will you?
> ---
> Hongyi Zhao
> GnuPG DSA: 0xD108493B
> _______________________________________________
> Pw_forum mailing list
> Pw_forum at pwscf.org
> http://www.democritos.it/mailman/listinfo/pw_forum
>




More information about the users mailing list