[mpich-discuss] Fwd: Windows and mpicc
Jayesh Krishna
jayesh at mcs.anl.gov
Mon Nov 26 16:41:49 CST 2012
Hi,
The LANG setting might be related to the unrecognized characters in the makefile.
Looks like the build system is not able to find the definition for sighandler_t (usually found in signal.h). This should have been handled at configure time.
You should be able to find MPICH2 configure options in the MPICH2 installers guide (http://www.mpich.org/documentation/guides/).
Regards,
Jayesh
----- Original Message -----
From: "John Mole" <j.mole at imperial.ac.uk>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Monday, November 26, 2012 8:54:42 AM
Subject: RE: [mpich-discuss] Fwd: Windows and mpicc
Hi Jayesh,
The LANG environment variable refers to localisation, so is not relevant.
On looking closely at the code, I found some bugs in dbxerr.c.in. I made the following changes to get it to compile:
Line 406:
#define SIG_HANDLER_PROTOTYPE sighandler_t
Changed to:
#define SIG_HANDLER_PROTOTYPE int
Line 409:
int sig
Changed to:
int sig;
I am still trying to resolve the Win32 memory issue.
Meanwhile, can you let me have a full list of the mpich config options please?
Regards,
John Mole
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: 20 November 2012 14:42
To: Mole, John
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Fwd: Windows and mpicc
Hi,
A google search suggests that your setting for LANG environment variable may be incorrect. Can you check what it is (Can you set it to say "LANG=C" and see if it works)?
Regards,
Jayesh
----- Original Message -----
From: "John Mole" <j.mole at imperial.ac.uk>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Monday, November 19, 2012 9:37:49 AM
Subject: RE: [mpich-discuss] Fwd: Windows and mpicc
Hi Jayesh,
I have checked dbxerr.c in hex and there are no DOS characters - make output attached. I don't want to disable MPE so I need to solve this problem somehow.
I will post on the Cygwin forum about the memory issue as you suggested.
Regards,
John Mole
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: 12 November 2012 16:32
To: mpich-discuss at mcs.anl.gov
Cc: Mole, John
Subject: Re: [mpich-discuss] Fwd: Windows and mpicc
Hi,
Looks like you have compile time errors for mpe because of DOS characters. If you are not planning to use MPE you can disable it (Specify "--disable-mpe" during configure time).
The error that stopped the build looks like a Cygwin error (Unable to allocate enough memory for the linker). I have seen these errors when packages are updated (A "rebase" sometimes solves the problem). I would recommend posting your issue on a Cygwin forum.
Can you try running the build again (after disabling MPE at compile time) after you fix the Cygwin issue?
Regards,
Jayesh
----- Original Message -----
From: "Jayesh Krishna" <jayesh at mcs.anl.gov>
To: mpich-discuss at mcs.anl.gov
Sent: Friday, November 9, 2012 2:58:06 PM
Subject: [mpich-discuss] Fwd: Windows and mpicc
FYI
----- Forwarded Message -----
From: "John Mole" <j.mole at imperial.ac.uk>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Friday, November 9, 2012 10:25:19 AM
Subject: RE: [mpich-discuss] Windows and mpicc
Hi Jayesh,
Thanks. I did as you suggested. On the configure stage, I had to convert all the configure-related files to change the end of line characters to UNIX rather than DOS. The Cygwin version of BASH seems to be very picky about this.
Eventually I managed to persuade the ./configure to work (output attached). However, the make stage failed with various errors (output attached).
I have also included a list of the environmental variables, which may be relevant.
Any advice on how to proceed would be much appreciated.
Regards,
John Mole
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: 07 November 2012 15:50
To: Mole, John
Cc: mpich-discuss at mcs.anl.gov
Subject: Re: [mpich-discuss] Windows and mpicc
Hi,
There are two ways to install MPICH2 on Windows - (1) Using the Windows installers (2) Downloading MPICH2 source and compiling it under Cygwin.
If you install MPICH2 using the Windows msi installers mpicc is not installed (Users typically compile their programs using Visual Studio, Intel Windows compilers etc).
Since you are working in the Cygwin environment please uninstall MPICH2 and download the MPICH2 source from the link below and install (configure/make/make install - like you would install software on a unix-like/cygwin system) it.
Regards,
Jayesh
----- Original Message -----
From: "John Mole" <j.mole at imperial.ac.uk>
To: "Jayesh Krishna" <jayesh at mcs.anl.gov>
Sent: Wednesday, November 7, 2012 6:49:59 AM
Subject: RE: [mpich-discuss] Windows and mpicc
Hi Jayesh,
I have already downloaded and installed the Windows version but there is no sign of mpicc (or the Fortran equivalent) in the /bin folder hence my original query.
Regards,
John Mole
-----Original Message-----
From: Jayesh Krishna [mailto:jayesh at mcs.anl.gov]
Sent: 06 November 2012 15:27
To: mpich-discuss at mcs.anl.gov
Cc: Mole, John
Subject: Re: [mpich-discuss] Windows and mpicc
Hi,
mpicc is the compiler wrapper that is installed with MPICH2 (or an MPI library suite). You can download the source and install MPICH2 from the MPICH2 website (http://www.mcs.anl.gov/research/projects/mpich2/downloads/index.php?s=downloads).
Regards,
Jayesh
----- Original Message -----
From: "John Mole" <j.mole at imperial.ac.uk>
To: mpich-discuss at mcs.anl.gov
Sent: Monday, November 5, 2012 4:40:58 PM
Subject: [mpich-discuss] Windows and mpicc
I am currently porting a mathematical modelling application from Ubuntu to Windows. I am fairly new to Linux. I am mostly working in Cygwin which emulates the Linux environment in Windows. I have installed MPICH2 on Windows and have set the necessary paths.
In trying to make Parmetis in Cygwin I get the error ‘mpicc not found’. So I am trying to track down mpicc. I don’t know where it comes from. Is it from GNU or MPICH or where? How do I get hold of it?
I would be most grateful if someone could provide guidance.
Thanks,
John Mole
_______________________________________________
mpich-discuss mailing list mpich-discuss at mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
_______________________________________________
mpich-discuss mailing list mpich-discuss at mcs.anl.gov
To manage subscription options or unsubscribe:
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss
More information about the discuss
mailing list