看板 Fortran 關於我們 聯絡資訊
小弟無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
achen0504:這個是fortran code嗎 09/18 17:35