[Pw_forum] Fatal Error: File 'mpif.h' not found.
Chao Cao
cao at qtp.ufl.edu
Wed Apr 25 17:24:20 CEST 2007
That's good point...
Another question is, for multi-core system, shouldn't we use OpenMP over
MPI, or we could easily by-pass MPI by enable thread in compilation? I
didn't do test though...
Chao Cao
wlyim at puccini.che.pitt.edu wrote:
> If you are running linux system, check "/proc/cpuinfo"
>
> William
>
> On Wed, 25 Apr 2007, Marcel Mohr wrote:
>
>
>> 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
>>>
>>>
>> _______________________________________________
>> Pw_forum mailing list
>> Pw_forum at pwscf.org
>> http://www.democritos.it/mailman/listinfo/pw_forum
>>
>>
>
>
More information about the Pw_forum
mailing list