Skip to Content.
Sympa Menu

charm - Re: [charm] charm++ installation windows

charm AT lists.cs.illinois.edu

Subject: Charm++ parallel programming system

List archive

Re: [charm] charm++ installation windows


Chronological Thread 
  • From: Gengbin Zheng <gzheng AT uiuc.edu>
  • To: Sangamesh B <forum.san AT gmail.com>
  • Cc: Charm++ M L <ppl AT cs.uiuc.edu>, Charm ML <charm AT cs.uiuc.edu>
  • Subject: Re: [charm] charm++ installation windows
  • Date: Mon, 30 Jun 2008 11:02:38 -0500
  • List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
  • List-id: CHARM parallel programming system <charm.cs.uiuc.edu>

Sangamesh,

I have no access to a windows box with SUA, so I have no experience with it.
I suppose you can write a simple shell script called "cygpath" which returns exactly the same path as input.

Gengbin


Sangamesh B wrote:
Hi Gengbin,

Since CYGWIN is a 3rd party tool, we've come out of it. Now using only SUA.

The charm++ distribution contains two build files for windows:

net-cygwin (gcc)
net-win64 (VC++)

If used SUA, both are not helpful, as the build files contain "cygpath".

In SUA, we use "cc" as a C/C++ compiler. "cc" is a clever shell script which uses internally VC++ and handles the INCLUDE and LIBRARY paths.

So the paths used in net-win64, produce error on SUA,

So if you can send build file for SUA or else advise the required changes to be made for the build file?


Thanks,
Sangamesh

On Fri, Jun 27, 2008 at 8:06 PM, Gengbin Zheng <gzheng AT uiuc.edu <mailto:gzheng AT uiuc.edu>> wrote:


Sangamesh,

If you check out latest charm from CVS, you can now compile
charm++ with mingw like:

./build charm++ net-cygwin mingw

follow the instruction in charm/README.cygwin to install mingw
win32api library.


Gengbin


Gengbin Zheng wrote:


Sangamesh,

you can build charm/NAMD using visual studio compiler, but you
need to install cygwin to use "Make" and shell like in Linux.
Using VC++ compiler, you will not have cygwin1.dll issue.
Please see charm/README.win for some detailed information. The
latest charm++ in CVS has some changes I made last night that
sorted out some compilation errors with VC++.

-mno-cygwin requires MingW runtime, we never tried that
before. But it should work with some tweaks. If you are
interested in using mingW, I can take a look.

Gengbin

Sangamesh B wrote:

Hi Gengbin,


We built Charm and NAMD on Windows using Cygwin.

The charmrun.exe and namd2.exe executables contain
cygwin1.dll dynamic library.

To remove this, we used "-mno-cygwin", in
src/arch/net-cygwin/conv-mach.sh
as follows:

CMK_CC="gcc -mno-cygwin"
CMK_CXX="g++ -mno-cygwin"

But it thrown an error, during compilation.

Can you tell me where we can mention this or any other
option, which can produce the executables free from
cygwin1.dll.

Thank you,
Sangamesh

On Wed, Jun 18, 2008 at 12:12 PM, Gengbin Zheng

<gzheng AT uiuc.edu

<mailto:gzheng AT uiuc.edu>

<mailto:gzheng AT uiuc.edu

<mailto:gzheng AT uiuc.edu>>>
wrote:


Please find README.win under charm top level directory
for the
instruction on how to install Charm++ on windows.
Cygwin is required. Installing Cygwin on windows vista
has all
sorts of problems (mostly hang during installation).
There are
some workaround if you search on the web.

Gengbin


Sangamesh B wrote:


Hi All,

We're trying to compile charm++ (For NAMD
compilation) on
Windows. Till now we tried:

1. Compiling on native Windows: Visual C++ compiler
and using
nmake command.
Makefile.win32 refers to a folder called "Common",
which is
not available in src dir. Edited Makefile.win32
according the
dir structure.
failed andd couldn't proceed.

2. Using SUA: SUA doesn't have bash shell.
Installation of
bash on SUA also failed.
Then used sh shell. This also failed.
Is Charm++/Charmc compilation certainly require bash?

3. Cygwin: Initial stage - errors. Still not completed.
Has any one compiled cham++ on windows? Can you
share your
experience with us..

Thanks,
Sangamesh










Archive powered by MHonArc 2.6.16.

Top of Page