AMBER Archive (2007)

Subject: AMBER: Troubling with installing Amber8

From: #NGUYEN CONG TRI# (NGUY0045_at_ntu.edu.sg)
Date: Sun Dec 09 2007 - 06:06:18 CST


Dear Amber users,
 
I know that there are many instructions on installing Amber, I tried but they just don't work for me.
I'm using Ubuntu as my Linux OS. I untared the file and put it as follow
       /home/lyz/amber8
I downloaded the bugfix.all and did according to the instruction.
Then I tried to compile it using
      $./configure -p4 ifort
but it does work.
So I downloaded the G95 Debian package from the Internet to use the g95 compiler.
When I typed in
            
           lyz_at_lyz:~/amber8/src$ ./configure -p4 g95
 
something like this displayed

AMBERHOME is set to /home/lyz/amber8
Setting up Amber configuration file for architecture: g95
Using parallel communications library: none
Architecture/compiler g95 is not supported (?)
Usage: ./configure [flags] [compiler/architecture]
    where <compiler/architecture> is one of:
        absoft, compaqf90, efc7, hpf90, ifc7, ifort, ia64_ifort,
        pgf90, sgi_altix, sgi_mips, sparc, xlf90_aix, xlf90_suse.
    If not specified then the compiler is guessed.
.....
......
 
So I downloaded the config,h file distributed in previous thread, and just changed the AMBER_SRC
variable according to my path, so it was: AMBER_SRC=/home/lyz/amber8/src. I attached the configure file, please find it.
Even so, it still doesn't work.
 
lyz_at_lyz:~/amber8/src$ make serial
Starting installation of Amber8 (serial) at Sun Dec 9 17:51:34 SGT 2007.
mkdir ../exe
mkdir: cannot create directory `../exe': File exists
make: [serial] Error 1 (ignored)
cd lib; make install
make[1]: Entering directory `/home/lyz/amber8/src/lib'
g95 -O0 -c -o new2oldparm.o new2oldparm.f
g95 -O0 -c -o nxtsec.o nxtsec.f
g95 -o new2oldparm new2oldparm.o nxtsec.o
mv new2oldparm ../../exe
/bin/rm _*.f
make[1]: Leaving directory `/home/lyz/amber8/src/lib'
cd addles; make install
make[1]: Entering directory `/home/lyz/amber8/src/addles'
g95 -O0 -c -o lesmain.o lesmain.f
In file lesmain.f:105
#include "SIZE.h"
 1
Error: Non-numeric character in statement label at (1)
In file lesmain.f:105
#include "SIZE.h"
 1
Error: Unclassifiable statement at (1)
In file lesmain.f:106
............
.............
and then terminated
 
so does that mean the problem comes from the compiler?
 
I don't know what else I can do, please help me. Thank you in advance
 
Best regards



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