Yu-Cheng Chou, if you need MPI that work with VC++, try MPICH
http://www-unix.mcs.anl.gov/mpi/mpich/ It works well if what you intend to
do is not complex.
If you intend to use lam-mpi under cygwin environment, then you have to plow
the path Tim Prince suggested or simply use g++. If all you need is a good
editor for cygwin, then try xemacs. It is quite matured and does a lot. If
your interest is in the debugger interface, then try Insight/GDB debugger
binaries. Insight has been in the works since '94 and is pretty reliable as
well -
Have fun...
-Ton
---------------------
"Until thought is linked with purpose there is no intelligent
accomplishment." (As A Man Thinketh)
---------------------
-----Original Message-----
From: lam-bounces_at_[hidden] [mailto:lam-bounces_at_[hidden]] On Behalf Of
Tim Prince
Sent: 18 August 2004 13:38
To: General LAM/MPI mailing list; lam_at_[hidden]
Subject: Re: LAM: How to link the lam-mpi library using VC++?
At 09:40 PM 8/17/2004, Yu-Cheng Chou wrote:
>Hi, there:
>
>I installed lam-mpi under cygwin environment. Now I'd like to use VC++ to
>create an executable file, which implies I need to link the lam-mpi
>library. But the library contains xxx.a and xxx.la files, which are for
>the unix/linux system. So, what should I do to successfully create an
>executable file using VC++?
Cygwin .a files should work the same as 32-bit Windows .lib files. If you
are using a 64-bit Windows, you would need to extract the .o files from a
cygwin .a file (not a Unix or linux .a file) and use lib to build a 64-bit
library. I'm not certain it makes sense to use VC++; why not use g++
? If your code is so non-standard that g++ won't take it, you may have
other problems.
Tim Prince
_______________________________________________
This list is archived at http://www.lam-mpi.org/MailArchives/lam/
|