[mpich-discuss] MPICH on windows: not able to compile programs
Sangamesh B
forum.san at gmail.com
Sun Apr 26 03:06:09 CDT 2009
Thanks Jayesh..
With some workaround, I'm able to compile and run it with
mpich2-1.0.8p1_ia32.
Initially I used IDE. There were errors "undefined reference to ...". Then
used command line:
D:\condor\CON-MP~1>gcc himpi.c -o himpi.exe -I"E:\Dev-Cpp\include"
-I"E:\mpich2\
include" -L"E:\Dev-Cpp\lib" "E:\mpich2\lib\libmpi.a"
Now its required me to run mpi programs under condor scheduler. The error am
facing for this is:
D:\condor\CON-MP~1>condor_submit job.sub
Submitting job(s)
ERROR: Condor cannot find the "mpich.dll" file it needs to run your MPI job.
Please specify the full path to this file in the "transfer_input_files"
setting in your submit description file.
There is no mpich.dll in mpich2-1.0.8p1 version.
Is it possible to get mpich.dll by other ways of install/distribution?
Is mpich2 team testing condor?
Thanks in advance,
Sangamesh
On Fri, Apr 24, 2009 at 7:25 PM, Jayesh Krishna <jayesh at mcs.anl.gov> wrote:
> Hi,
> MPICH 1.2.5 is old. Can you try the latest stable version of MPICH2 (
> http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads
> )?
>
> Regards,
> Jayesh
>
> ------------------------------
> *From:* mpich-discuss-bounces at mcs.anl.gov [mailto:
> mpich-discuss-bounces at mcs.anl.gov] *On Behalf Of *Sangamesh B
> *Sent:* Friday, April 24, 2009 7:53 AM
> *To:* MPICH ML
> *Subject:* [mpich-discuss] MPICH on windows: not able to compile programs
>
> Dear All,
> MPICH-1.2.5 (ftp://ftp.mcs.anl.gov/pub/mpi/nt/mpich.nt.1.2.5.exe) and
> Dev-C++-4.9.9.2 is installed on a Windows XP machine.
> When I try to compile cpi.c program, it thrown errors wrt MPI header files:
> Compiler Log:
> Compiler: Default compiler
> Executing gcc.exe...
> gcc.exe "D:\mpich\SDK\Examples\nt\Basic\cpi.c" -o
> "D:\mpich\SDK\Examples\nt\Basic\cpi.exe" -I"E:\Dev-Cpp\include"
> -I"D:\mpich\SDK\Include" -L"E:\Dev-Cpp\lib" -L"D:\mpich\SDK\Lib"
> In file included from D:/mpich/SDK/Include/mpidefs.h:54,
> from D:/mpich/SDK/Include/mpi.h:239,
> from D:\mpich\SDK\Examples\nt\Basic\cpi.c:1:
>
> D:/mpich/SDK/Include/mpio.h:30: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:30: warning: data definition has no type or
> storage class
>
> D:/mpich/SDK/Include/mpio.h:101: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:102: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:103: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:110: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:112: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:116: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:118: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:120: error: syntax error before "MPI_Offset"
>
> D:/mpich/SDK/Include/mpio.h:122: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:129: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:131: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:153: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:154: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:155: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:171: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:172: error: syntax error before "MPI_Offset"
>
> D:/mpich/SDK/Include/mpio.h:175: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:178: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:274: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:275: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:276: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:283: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:285: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:289: error: syntax error before "MPI_Offset"
>
> D:/mpich/SDK/Include/mpio.h:291: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:293: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:295: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:302: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:304: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:326: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:327: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:328: error: syntax error before "MPI_Offset"
>
> D:/mpich/SDK/Include/mpio.h:344: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:345: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:348: error: syntax error before "MPI_Offset"
> D:/mpich/SDK/Include/mpio.h:351: error: syntax error before "MPI_Offset"
>
> D:\mpich\SDK\Examples\nt\Basic\cpi.c: In function `main':
> D:\mpich\SDK\Examples\nt\Basic\cpi.c:11: warning: return type of 'main' is
> not `int'
>
> Execution terminated
>
> Why these errors?
> Is there anybody successful to compile C mpi program on Windows?
> I've faced same problem with MPICH2 also.
> Thanks in advance,
> - Sangamesh
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20090426/1f47527f/attachment.htm>
More information about the mpich-discuss
mailing list