由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Computation版 - a question about mpi-fortran
相关主题
problem about Fortran 77 in unix[转载] 问一个fortran的问题
MPI Write?Fotran77程序的移植问题
请教一个程序调用问题(FORTRAN DLL),谢谢!Problems about Mex-file to call Fortran
Fortran里面哪个函数显示系统时间?fortran的random number 相关的函数lib是啥?
help on interface for Matlab and Fortran再问个Fortran得问题
Re: fortran subroutine and function发现一个有趣的事情,关于fortran IMSL library
偶也问一fortran问题请教fortran debuger
Fortran code optimization问个fortran和python编程的问题
相关话题的讨论汇总
话题: mpi话题: fortran话题: program话题: each话题: grid
进入Computation版参与讨论
1 (共1页)
s*****l
发帖数: 167
1
I wrote some mpi-fortran code, and I discovered something funny.
Everytime I take the number of grid points to be some power of 2, the program
runs smoothly, and produces good results. But if I take the number to be
something else, the program will be terminated after running for a while.
Here # of grid points = # of processors \times # of subroutines run on each
processor, and the execution of each subroutine is completely independent, and
the only mpi commands I use are simply mpi_scatter and
s*****l
发帖数: 167
2
mpich,
my program is rather simple: send Ns independent subroutines to each node, and
collect them
afterwards, and there is no communications between them until they are
finished.

program
each
and
also
g*****n
发帖数: 37
3
1. try simple communication routine instead of collective routines
2. Make sure your mpich is the latest stable version

【在 s*****l 的大作中提到】
: mpich,
: my program is rather simple: send Ns independent subroutines to each node, and
: collect them
: afterwards, and there is no communications between them until they are
: finished.
:
: program
: each
: and
: also

1 (共1页)
进入Computation版参与讨论
相关主题
问个fortran和python编程的问题help on interface for Matlab and Fortran
Fortran里面子程序用END和END SUBROUTINE结尾有什么区别?Re: fortran subroutine and function
something strange in fortran90偶也问一fortran问题
Question about overloading in fortran90Fortran code optimization
problem about Fortran 77 in unix[转载] 问一个fortran的问题
MPI Write?Fotran77程序的移植问题
请教一个程序调用问题(FORTRAN DLL),谢谢!Problems about Mex-file to call Fortran
Fortran里面哪个函数显示系统时间?fortran的random number 相关的函数lib是啥?
相关话题的讨论汇总
话题: mpi话题: fortran话题: program话题: each话题: grid