Odeslat dotazOdeslat dotaz
 

Dotazproblems linking fortran 90 code with ms mpi

  • 19. května 2009 11:05Parsa1985 Uživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    hi,
    I installed microsoft compute cluster pack and there is no msmpif.lib or any other fortran library.
    I used msmpi.lib and It returns that "check your include directories: module [mpi]"
    It is said that msmpi works for fortran90 too.
    please help me out

    Regards
    Parsa
    • PřesunutýJosh BarnardMSFT, Vlastník19. května 2009 20:18Not scheduler related (From:Windows HPC Server Job Submission and Scheduling)
    •  

Všechny reakce

  • 23. května 2009 4:06LioMSFTUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    Hi Parsa,

    are you using Microsoft Compute Cluster Server (v1) or the Windows HPC Server (v2)?


    if you are using MSMPI sdk (v2), you need to link with msmpi.lib plus one of the fortran libraries.

    The msmpifec.lib supports compiling where the fortran compiler puts string length at the end of the parameter stack (most common case).
    The msmpifms.lib supports compiling where the Fortran compilers puts the string length right after the string pointer on the parameter stack (mixed).

    I assume that you are building for x64 target.

    Thanks,
    .Erez
  • 25. června 2009 23:20Don PatteeMSFT, ModerátorUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaileUživatelské medaile
     
    Parsa, were you able to get your app working?