[FLASH-USERS] compiling issue--error: too few arguments to function [WINDOWS-1252?]】5Dopen2? size=

Nathan Hearn nhearn at ucar.edu
Tue Feb 10 13:44:55 EST 2009


Hi Ken,

    You are welcome.  Unfortunately, I am not sure that I understand
your current question; it sounds like you are asking why the
MPI-compiled code runs even if you only have one CPU.  If so, this is
not a problem, as MPI is perfectly happy running with only one process
(CPU).  MPI is required for compiling Flash because the Flash code
depends upon some MPI services, even when not running in parallel.

    By the way, since you are using Open-MPI for compilation, you have
the option of running without using mpirun.  (When you run flash3 by
itself, it should run in serial, the same as if you ran "mpirun -np 1
flash3".)

    I hope this is helpful.  If I misunderstood your question, please
let me know.


- Nathan


2009/2/10 Ken Chen <ken at asiaa.sinica.edu.tw>:
> Hi Nathan:
> Thank you very much. Your are correct. I just changed the flags and compiler from
> gfortran to mpif90. Then I can successfully compile the code. However, I try to use
> mpirun, it seems also works for single cpu, I don't really what happen here. Could you
> give me some comments on this? Many thanks again.
>
>
> cheers;
>
> Ken



More information about the flash-users mailing list