AMBER Archive (2007)

Subject: Re: AMBER: Installing on windows

From: Colby C (colbychiauzzi_at_gmail.com)
Date: Mon Jun 11 2007 - 10:17:07 CDT


actually i just had to restart cygwin. I worked except for th last part.
However I still have an error

.
.
.
.
.
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o alert.o _alert.f
cpp -traditional -P -xassembler-with-cpp echo.f > _echo.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o echo.o _echo.f
cpp -traditional -P -xassembler-with-cpp get4c.f > _get4c.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o get4c.o _get4c.f
cpp -traditional -P -xassembler-with-cpp getd.f > _getd.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o getd.o _getd.f
cpp -traditional -P -xassembler-with-cpp wlesprm.f > _wlesprm.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o wlesprm.o _wlesprm.f
cpp -traditional -P -xassembler-with-cpp lesprm.f > _lesprm.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o lesprm.o _lesprm.f
cpp -traditional -P -xassembler-with-cpp les2prm.f > _les2prm.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o les2prm.o _les2prm.f
cpp -traditional -P -xassembler-with-cpp checksz.f > _checksz.f
g95 -c -O0 -fno-second-underscore -march=pentium4 -mfpmath=sse -msse -msse2
-ma
ign-double -o checksz.o _checksz.f
cd ../lib; ./Makelist ../lib/random.o ../lib/mexit.o ../lib/nxtsec.o
/bin/sh: ./Makelist: /bin/csh: bad interpreter: No such file or directory
make[1]: *** [libobj] Error 126
make[1]: Leaving directory `/home/colby/amber9/src/addles'
make: *** [serial] Error 2

On 6/11/07, Colby C <colbychiauzzi_at_gmail.com> wrote:
>
> Everything worked except for the last part
>
> colby_at_Drco ~/amber9/src
> $ make serial
> Starting installation of Amber9 (serial) at Mon Jun 11 10:40:35 EST 2007.
> cd lib; make install
> make[1]: Entering directory `/home/colby/amber9/src/lib'
> cpp -traditional -P -xassembler-with-cpp new2oldparm.f > _new2oldparm.f
> g95 -c -O0 -fno-second-underscore -o new2oldparm.o _new2oldparm.f
> make[1]: g95: Command not found
> make[1]: *** [new2oldparm.o] Error 127
> make[1]: Leaving directory `/home/colby/amber9/src/lib'
> make: *** [serial] Error 2
>
>
>
>
>
>
> On 6/11/07, Gustavo Seabra < gustavo.seabra_at_gmail.com> wrote:
> >
> > 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
> >
>
>

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