AMBER Archive (2007)

Subject: Re: AMBER: Installing on windows

From: Gustavo Seabra (gustavo.seabra_at_gmail.com)
Date: Mon Jun 11 2007 - 08:59:29 CDT


OK, let's go by parts...

Colby C wrote:
> By extracting the file I just opened up the tgz like it was a .zip
> file and I placed it in the usr directory in the correct sub folders.
>
> I tried to do what you said
>
> I am in the home folder
>
> colby_at_Drco /home
> $ tar -xvfz g95-x86-cygwin.tgz
> tar: z: Cannot open: No such file or directory
> tar: Error is not recoverable: exiting now
The problem here is that the order in which the tar options come is
important: whatever comes after the 'f' is being taken by Cygwin as a
file name.

Also, note in the download webpage that you should extract this file in
the root directory, not home.

So, try the following:
1. put the file in the root directory. In Cygwin, you can do:
    $mv g95-x86-cygwin.tgz /

2. Go to the root dir:
    $cd /

3. Extract the file:
    $tar zxvf g95-x86-cygwin.tgz

> then I tried this
>
> colby_at_Drco /usr/local/bin
> $ configure -cygwin g95
> bash: configure: command not found
This isn't going to work. You need to run Amber's configure program,
which is located in the Amber src directory. Did you read the "INSTALL"
file in the Amber directory? There are some details on how to install
amber there.
> Finally I tried this
>
> colby_at_Drco ~/amber9/src
> $ make install
> Error: ./configure must be executed before make !
> make: *** [configured] Error 2
Assuming all the above steps for the g95 installation worked well, you
can now start the Amber installation:

1. Set the AMBERHOME varable:
    $ export AMBERHOME=~/amber9
    $ export PATH=$AMBERHOME/exe:$PATH

2. Move to the directory where the amber source is located
    $cd $AMBERHOME/src

3. Run ./configure:
    $./configure -cygwin g95

4. Finally, if all goes well, you can install Amber:
    $make serial

Again, take your time to read the instructions in the $AMBERHOME/INSTALL
file. Also, as Prof. Case pointed out,
> On 6/10/07, *David A. Case* <case_at_scripps.edu
> <mailto:case_at_scripps.edu>> wrote:
>
>
> Be sure to be patient and careful -- as the Amber web site
> indicates, the
> cygwin/windows version is primarily for those who already know
> Unix/Linux,
> and for some reason need to run on Windows: " Building the Windows
> version is
> thus somewhat more complex (not simpler) than building under other
> operating
> systems."
>
Note that this will *not* give you a "WinAmber" version. You should
still use it as you would use a regular Unix Amber installation, from
within Cygwin. Under Cygwin, Amber will be considerably slower than
under real Unix systems, but it can be convenient for small calculations.

Gustavo.
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber_at_scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo_at_scripps.edu