作者lance0705 (蓝‧声‧口‧琴)
看板Fortran
标题请教MPI fortran笨问题orz
时间Thu Sep 18 15:13:39 2008
小弟无fortran基础,但需要看懂一些国外人家写的程式
想请教板上的各位有写过fortran MPI的高手们
以下程式码
#ifdef MPI
include 'mpif.h'
integer(i4) :: ierror
#endif
请问这样写的结果是说 在compile 的时候如果compiler的FCFLAG中加了-DMPI
或是说把compiler name改成mpif90(intel compiler)
在compile的时候就会帮你define MPI这个参数吗
恳请不吝解答 谢谢!
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.32.133
1F:推 achen0504:这个是fortran code吗 09/18 17:35