On Thursday, April 16, 2015, Rob Latham <robl@mcs.anl.gov> wrote:


On 04/16/2015 08:33 AM, Jeff Hammond wrote:
https://wiki.mpich.org/mpich/index.php/Frequently_Asked_Questions#Q:_Why_can.27t_I_build_MPICH_on_Windows_anymore.3F


well jeff since you unhelpfully replied to this poor guy with a link to the wiki that he already got last week, allow me to be pedantic for a moment:  he's not building mpich *on* windows.  he's building mpich *for* windows.  *On* linux.


Is the FAQ precise that building on Windows is the problem, as opposed to building for Windows? Because I have to believe the issues cannot be separated. What compiler executes on Linux that can generate Windows executables? That doesn't even seem remotely feasible, particularly if any header in MPICH is included from a sub directory, since the slashes will be wrong on a Linux file system. 

I stand by my redundant response unless someone can explain the theory of how it would work.

Jeff 
 



On Wed, Apr 15, 2015 at 12:37 AM, mapalo92 . <mapalo2008@gmail.com> wrote:
my target is windows and my host is linux

2015-04-09 17:07 GMT+03:00 Rob Latham <robl@mcs.anl.gov>:



On 04/09/2015 03:33 AM, mapalo92 . wrote:

Is possible to use mpich in order to cross compile between windows and
linux? I tried to built mpich 's libraries using mingw-w64 but nothing
done. I got many many errors. Any feedback will be helpful.


which is your target and which is your host? If you are building a linux
target on a windows host, you might be better off setting up a virtual
machine and doing your cross compilation there.

In general, cross compilation works with mpich: we do it regularly for
Blue Gene.

==rob

--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA

_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss



_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss




--
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA
_______________________________________________
discuss mailing list     discuss@mpich.org
To manage subscription options or unsubscribe:
https://lists.mpich.org/mailman/listinfo/discuss


--
Jeff Hammond
jeff.science@gmail.com
http://jeffhammond.github.io/