Ask a questionAsk a question
 

Questionproblems linking fortran 90 code with ms mpi

  • Tuesday, May 19, 2009 11:05 AMParsa1985 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
    • Moved byJosh BarnardMSFT, OwnerTuesday, May 19, 2009 8:18 PMNot scheduler related (From:Windows HPC Server Job Submission and Scheduling)
    •  

All Replies

  • Saturday, May 23, 2009 4:06 AMLioMSFTUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    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
  • Thursday, June 25, 2009 11:20 PMDon PatteeMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Parsa, were you able to get your app working?