Dear Rob, I've successfully tested the MPE2 example code 'cpilog.c' in .\mpe2-2.4.8\mpe2-2.4.8\src\wrappers\test in VS2013 on windows system, Using: include 'mpi.h' include 'mpe.h' and linking 'mpe.lib' But when it comes to FORTRAN code 'fpilog.f' files 'fmpich2.h' and 'mpe_logf.h' are included but I couldn't decide which '*.lib' file to link, and tryed mpe.lib then failed compiling, there are some error massages: ...unresolved external symbol...MPE_Describe_State ...... Could it be that MPICH2, 1.4.1p1 for windows system missed some '*.lib' files for FORTRAN ???
-----原始邮件----- 发件人: "Rob Latham" <[email protected]> 发送时间: 2016-07-15 22:59:53 (星期五) 收件人: [email protected] 抄送: 主题: Re: [mpich-discuss] Questions about Using MPE in FORTRAN on windows system
On 07/15/2016 08:55 AM, 解青 wrote:
Hello everyone, I'm currently trying to use MPE to generate logfiles of MPI programs My MPICH2 version is 1.4.1p1 on windows system , but I don't find the mpef.h file in the "include" folder I tried the example program in Chapter 3.7.5 in the Book "Using MPI", but it can't compile, using VS2013 Fortran I just want to know how to make it work What should I INCLUDE or LINK ? How should I set ?
You're going to be in a bit of trouble here, since I don't know how much use MPE got on windows. I can give you some pointers but I don't have a lot of first hand experience with what you're trying to do.
there has not been an mpef.h file since the MPICH1 days (ten years ago). I think it's now mpe_logf.h
Also, MPE is now distributed separately from MPICH: you'll be best off working from our git repository:
==rob
Best Wishes
--
解 青, Ph.D Student
北京市海淀区清华大学航天航空学院, 航博142班
School of Aerospace Engineering, Tsinghua University, Beijing, China 清华大学紫荆公寓15# 1001B,100084 Tsinghua ZJ15# 1001B, 100084 电话(Tel):+86-15201410572 邮箱(Email):[email protected]_ <mailto:[email protected]> [email protected]
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
_______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss
-- 解 青, Ph.D Student 北京市海淀区清华大学航天航空学院, 航博142班 School of Aerospace Engineering, Tsinghua University, Beijing, China 清华大学紫荆公寓15# 1001B,100084 Tsinghua ZJ15# 1001B, 100084 电话(Tel):+86-15201410572 邮箱(Email):[email protected] [email protected] _______________________________________________ discuss mailing list [email protected] To manage subscription options or unsubscribe: https://lists.mpich.org/mailman/listinfo/discuss