Jayesh Krishna:

 

    Hi ,thank you for reading my E-mail, I'm a Chinese hydrodynamic student and helping my teacher to upgrade an old  software, but I am facing a problem now.    £º£¨

    My system condition is :

    Win7 64bit + VS2010 + IVF Composer XE 2011

    I downloaded "mpich2-1.4.1p1-win-ia3"  and  "mpich2-1.4.1p1-win-x86-64"  ( I  have tried both two .msi)

   

    I have run  smpd.exe  to install MPICH  (run as Administrator) and registered the servere (smpd.exe -regserver)

   

    After creating a new IVF Console Application project, I set :

    1¡¢Win32 to x64,

    2¡¢ Set "Fortran\General\Additional Include Directories"  to "C:\Program Files (x86)\MPICH2\include;"  (I have tried 64bit too,but return the same result)

    3¡¢ Set"Linker\General\Additional Library Directories" to "C:\Program Files (x86)\MPICH2\lib;"

    4¡¢Set"Linker\Input\ Additional Dependencies" to "mpi.lib"

     

    Then I wrote a piece code of  "Hello World" ¡£

 

    program Lab

 

    include 'mpif.h'

    

    character * (MPI_MAX_PROCESSOR_NAME) processor_name

    integer myid,numprocs,namelen,rc,ierr

    

    call MPI_INIT(ierr)

    call MPI_COMM_RANK(MPI_COMM_WORLD,myid,ierr)

    call MPI_COMM_SIZE(MPI_COMM_WORLD,numprocs,ierr)

    call MPI_GET_PROCESSOR_NAME(processor_name,namelen,ierr)

    write(*,10) myid,numprocs,processor_name

 10  FORMAT('Hello World!Process',I2,'of',I1,'on',20A)

    call MPI_FINALIZE(rc)

 

    end program Lab


    But there is a error "Cannot open mpi.lib"

ÄÚǶͼƬ 1

I'm sure that the file path is correct (I have tried 64bit already.)

ÄÚǶͼƬ 2

I have search the answer in Google for two days, unfortunaly I'm failed.   I request you to give me some hints,Please. *__*..

Best regards