From: accomp lin (accomplin_at_yahoo.com.cn)
Date: Sun Jan 11 2009 - 02:02:54 CST
I just wish to have a convenient environment, which is windows, for me to change the code and compile NAMD. But like you siad, It's maybe complicated and painful. I better try it just myself or switch to Linux easily. Maybe to do it on windows is really not a good idea. So no more questions.
--- 09年1月10日，周六, Axel Kohlmeyer <akohlmey_at_cmm.chem.upenn.edu> 写道：
发件人: Axel Kohlmeyer <akohlmey_at_cmm.chem.upenn.edu>
主题: Re: namd-l: compiling NAMD failed on windows with Cygwin
收件人: "accomp lin" <accomplin_at_yahoo.com.cn>
On Sat, 10 Jan 2009, accomp lin wrote:
JL> changed all "\" into "/" and the problem
disappear. However, I got a
JL> new error, it says:
JL> cannot find -ltcl8.3 collect2: ld returened 1 exit status Fatal
JL> error by charmc in directory .....
JL> I already downloaded window version of TCL and fixed the path to its
JL> files as NAMD release notes states. So what's the problem. Should I
how the hell should _i_ know?? from the information that you provide
i can only extract that your linker cannot find the tcl library.
i cannot read your mind or the mind of your computer and see exactly
what you have done. there are several possible reason: typos in your
arch files, errors in the installation, incompatible libraries.
JL> copy TCL libs into some directory of Cygwin manually? Thank you
why waste you time on compiling NAMD for windows anyways??
unless you have a windows cluster with myrinet or infiniband
(...and who would even want to set up such a monstrosity?),
i don't see any reason for not using the precompiled binaries.
JL> --- 08ÿÿ12ÿÿ29ÿÿÿÿÿÿÿÿ, Axel Kohlmeyer
JL> ÿÿÿÿÿÿ: Axel Kohlmeyer <akohlmey_at_cmm.chem.upenn.edu>
JL> ÿÿÿÿ: Re: namd-l: compiling NAMD failed on windows with Cygwin
JL> ÿÿÿÿÿÿ: "accomp lin" <accomplin_at_yahoo.com.cn>
JL> ÿÿÿÿ: namd-l_at_ks.uiuc.edu
JL> ÿÿÿÿ: 2008,1229,ÿÿÿÿ,11:36ÿÿÿÿ
JL> On Mon, 29 Dec 2008, accomp lin wrote:
JL> J> Dear developer of NAMD:
JL> dear jiaqi,
JL> J> I'm compiling NAMD on windows with Cygwin. I tried several
JL> failed. The problem is that i didn't set the directory of charm5.9,
JL> fftw in .arch file correctly. After making this right, I finally got
JL> compling on progress. But I then I got the follows error:
JL> J> -LE:\Mr.Lin\comp\NAMD_2.6_Source\tcl/lib -ltcl8.3
JL> J> -LE:\Mr.Lin\comp\NAMD_2.6_Source\fftw/lib -lsrfftw
JL> -lsfftw \
JL> J> obj/dcdplugin.o \
JL> J> \
JL> J> -lm -o namd2
JL> J> E:Mr.LincomNAMD_2.6_Sourcecharm-5.9/net-Cygwin/bin/charmc: not
JL> J> make: *** [namd2] Error 127
JL> J> I browsed to the .../net-Cygwin/bin/ directory but I found a
JL> J> link is actually there. So what's my problem? Is that becasue
JL> J> "\" is lacked in the command? Where can I find the
JL> so I can
JL> J> add the "\" to it myself?
JL> J> Please help
JL> please read the cygwin documentation more carefully!
JL> cygwin emulates a unix environment, so everything you
JL> provide - for example path names - has to be giving
JL> in "unix"-format and the unix path separator is the
JL> forward slash '/'. the backward slash '\' is an
JL> character in scripts and makefiles and as such indicates
JL> to use the next character literally. because of that
JL> your build script cannot find the charmc script, because
JL> it is looking in the wrong location.
JL> to produce a backslash you'd have to use '\\' (or
JL> in case the string is interpreted twice), but i recommend
JL> to specify all paths with '/' to avoid this.
JL> J> Thank you!
JL> J> Jiaqi
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot. ___________________________________________________________ 好玩贺卡等你发，邮箱贺卡全新上线！ http://card.mail.cn.yahoo.com/
This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 05:21:39 CST